PDA


View Full Version : A few .php line problems...


Richard Adams
04-27-2005, 12:59 PM
Hi everyone,

I've installed the product and am eagarly awaiting to see it in action, but upon trying to access the main index, these are the messages I get:


Warning: chdir(): No such file or directory (errno 2) in /www/b/b2magic/htdocs/testforum/index.php on line 21

Warning: main(./global.php): failed to open stream: No such file or directory in /www/b/b2magic/htdocs/testforum/index.php on line 32

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/php4/lib/php') in /www/b/b2magic/htdocs/testforum/index.php on line 32

The URL to my forums is www.back2magic.com/testforum/forums. Thanks for any advice given.

Richard.

Brian
04-27-2005, 01:02 PM
http://www.vbadvanced.com/forum/showthread.php?t=1343

Richard Adams
04-27-2005, 01:06 PM
http://www.vbadvanced.com/forum/showthread.php?t=1343

I'm getting:

_SERVER["PATH_TRANSLATED"] | no value

Richard.

EDIT: Never mind, I got it and used the SCRIPT_FILENAME line. Thanks for the help, Brian.

Richard.

Brian
04-27-2005, 01:35 PM
Strange... Glad you got it figured out though. :)