1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

what deos this error mean?

Discussion in 'Content Management' started by Scarface., Oct 12, 2006.

  1. #1
    Warning: main(/home/thedemos/public_html/include/common.php) [function.main]: failed to open stream: No such file or directory in /home/itsyourh/public_html/mainfile.php on line 52

    Warning: main() [function.include]: Failed opening '/home/thedemos/public_html/include/common.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/itsyourh/public_html/mainfile.php on line 52

    Fatal error: Call to undefined function: site_cache() in /home/itsyourh/public_html/header.php on line 6



    what does this mean?
     
    Scarface., Oct 12, 2006 IP
  2. TuesZ

    TuesZ Well-Known Member

    Messages:
    928
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    163
    #2
    This is a php error, check your code it says which line to double check. Also make sure you have the correct CHMOD settings on your files/folders this can sometimes be an issue.
     
    TuesZ, Oct 16, 2006 IP
  3. nikg

    nikg Well-Known Member

    Messages:
    642
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    120
    #3
    It means that file "common.php" in the include folder is missing. Reupload it again and that's it
     
    nikg, Oct 16, 2006 IP
  4. Scarface.

    Scarface. Peon

    Messages:
    349
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thank you. i got it working/
     
    Scarface., Oct 17, 2006 IP
  5. simba

    simba Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    how did you fix it? i am getting the same error

    i have common.php in the include directry and my folder permissions are also correct
     
    simba, Nov 3, 2006 IP
  6. Scarface.

    Scarface. Peon

    Messages:
    349
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    try CHMODing your files, and reuploading
     
    Scarface., Nov 3, 2006 IP
  7. simba

    simba Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    hey scarface, thanks for your reply. i reuploaded all files. did chmoding. now i am getting a blank page. even admin.php i don't know what to do now. can you help me pls?
     
    simba, Nov 3, 2006 IP
  8. 010081

    010081 Banned

    Messages:
    4,657
    Likes Received:
    222
    Best Answers:
    0
    Trophy Points:
    0
    #8
    better solution would try uploading your common.php and other files again
     
    010081, Nov 5, 2006 IP