SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    london
    Posts
    222
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Warning: main(/tmp/sql/include.inc): failed to open stream: No such file or directory

    All of a sudden I'm getting this error message

    Warning: main(/tmp/sql/include.inc): failed to open stream: No such file or directory in /home/www/****/news/config.php on line 52
    Could this be a problem from my host? I've been having various database problem with them...

    I googled this and I saw someone that had the same problem and the way they did it was that they took out all the

    <? include_once("/tmp/sql/include.inc"); ?>
    Which I did and everything seems to be o.k for now, why would this problem occur in the first place?
    I have a strong feeling it's got something to do with my host, I didn't do anything on my site, the problems just appeared from nowhere...

    Thanks

  2. #2
    Who turned the lights out !! Mandes's Avatar
    Join Date
    May 2005
    Location
    S.W. France
    Posts
    2,496
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Check on the server to verify that the path and the file exists, if it does maybe it's been corrupted, try deleteing the file and replacing in with your backup version.
    A Little Knowledge Is A Very Dangerous Thing.......
    That Makes Me A Lethal Weapon !!!!!!!!

    Contract PHP Programming


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •