PDA

View Full Version : Oh no...problems ?


Kuroro
05-18-2004, 03:39 PM
Hello, I've got this error on cmps_index.php:

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

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

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

Please help ... Thanks :)

chrisvonc
05-18-2004, 05:17 PM
Kuroro.. I ran into similar issue myself. Where we are told to find "chdir('./forum');" and replace it with the full path, I had done just that. Instead what worked for me was to replace the "./forum" part with the path to the forum. So my corrected code looks like "chdir('/home/public_html/forum');"

Hopefully I explained that ok.

Our Sponsors
 

Kuroro
05-18-2004, 07:40 PM
unfortunately I still got the same error.

What's wrong :( ?

Kuroro
05-18-2004, 07:50 PM
This is the code: chdir('/home/public_html/forums');

And the path is correct.

Help... :(

Our Sponsors
 

Zachery
05-18-2004, 10:24 PM
If your using cpanel you need to add your login name

/home/cpanellogin/public_html/forums

:)

Kuroro
05-18-2004, 10:36 PM
....................

yea I have added the cpanellogin.

I removed from the code here for some reason...dunno..

as I said, The full path to the forum is already correct... but the script still shows that error :(

Kuroro
05-18-2004, 10:40 PM
D'oh!!! Sorry guys, It was just my page-cache after all.......!! 0.0 :eek: 0.0

Please delete this thread then... :D thx btw for ur replies