PDA

View Full Version : what does this error message mean?


MamboCube
09-15-2005, 01:09 PM
Warning: chdir(): No such file or directory (errno 2) in /home/*****/public_html/forum/global.php on line 12

Unable to add cookies, header already sent.
File: /home/*****/public_html/forum/global.php
Line: 12

what does this mean?

any replies would b great!

thnx

Andreas
09-15-2005, 01:12 PM
Warning: chdir(): No such file or directory (errno 2) in /home/*****/public_html/forum/global.php on line 12

Well ... what's in your global.php on line 12?

MamboCube
09-15-2005, 01:23 PM
chdir('./forum');

this way the phrases on my non vb pages work like i want them to, i couldnt find any other way of doing it,

but this way my forum doesnt work lol

this thing is really starting to bug me

is there any other way i can get phrases to work on my non vb pages but also have my forum still up and running?

Andreas
09-15-2005, 01:26 PM
Remove that from global.php.
In the other Files where you require global.php chdir() to your form directory (full path) before requiring global.php

MamboCube
09-15-2005, 01:29 PM
Remove that from global.php.
In the other Files where you require global.php chdir() to your form directory (full path) before requiring global.php

when i do this on my non vb page it says this:

includes/config.php does not exist. Cannot continue.

Andreas
09-15-2005, 01:31 PM
Then you are doing smth. wrong :)

MamboCube
09-15-2005, 01:32 PM
lol

i know but i dont know wat

its irritating as hell lol

got any ideas of wat it could be?

Andreas
09-15-2005, 02:04 PM
No, as I don't know where you are including global.php and therefore can't tell what's wrong with the files.

Feel free to PM me with FTP details and i'll take a look.

MamboCube
09-15-2005, 02:13 PM
thats ok ive managed to do it another way now, thnx very much for the help though