Results 1 to 7 of 7

Thread: Please help, error after changing host

  1. #1

    Default Please help, error after changing host

    I am getting this error after moving host:


    Warning: chdir(): No such file or directory (errno 2) in /home/lounge/public_html/index.php on line 21

    Warning: main(./global.php): failed to open stream: No such file or directory in /home/lounge/public_html/index.php on line 27

    Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lounge/public_html/index.php on line 27

    Any ideas what it means?

  2. #2
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default Re: Please help, error after changing host


  3. #3

    Default Re: Please help, error after changing host

    Brian my path its actually correct. I checked twice.
    What could be wrong?

  4. #4
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default Re: Please help, error after changing host

    What do you have it set to?

  5. #5
    Join Date
    Mar 2004
    Location
    A galaxy far, far away...
    Posts
    6,609

    Default Re: Please help, error after changing host

    Quote Originally Posted by AlexUK
    Brian my path its actually correct. I checked twice.
    What could be wrong?
    From the above it looks you have your chdir set to be "/home/lounge/public_html/index.php" instead of "/home/lounge/public_html".

  6. #6

    Default Re: Please help, error after changing host

    Its set to: /home/lounge/public_html/forums

  7. #7

    Default Re: Please help, error after changing host

    ok its fixed now the file was corrupt, I got a new one.
    Cool, thanks for the super quick help.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Changing Style
    By 303Nate in forum Troubleshooting / "How do I..." Questions
    Replies: 2
    Last Post: 10-28-2004, 09:51 PM
  2. Changing nav bar
    By PolishPanda in forum Troubleshooting / "How do I..." Questions
    Replies: 6
    Last Post: 07-12-2004, 08:28 PM

Posting Permissions

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