PDA

View Full Version : Custom page in vb 3.0.3


getthat
07-26-2004, 09:53 AM
Hi,

I want to create a new custom page in the root directory (/public_html) of my website but I always get the errors below. What am I doing wrong here (I'm using vb 3.0.3) ?

Warning: main(./includes/init.php): failed to open stream: No such file or directory in /home/autosurf/public_html/forums/global.php on line 18

Fatal error: main(): Failed opening required './includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/autosurf/public_html/forums/global.php on line 18

Colin F
07-26-2004, 10:14 AM
Hi,

I want to create a new custom page in the root directory (/public_html) of my website but I always get the errors below. What am I doing wrong here (I'm using vb 3.0.3) ?

Warning: main(./includes/init.php): failed to open stream: No such file or directory in /home/autosurf/public_html/forums/global.php on line 18

Fatal error: main(): Failed opening required './includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/autosurf/public_html/forums/global.php on line 18
You might try changing the dir

chdir ('forums');