PDA

View Full Version : Problem with CMP:(


kixxer
08-11-2004, 09:01 AM
I just installed CMPS on my server, after installing it first locally and testing the installation.

Sadly I get following errors:

Warning: ChDir: No such file or directory (errno 2) in /mnt/ja2/04/354/00000010/htdocs/bioforum/index.php on line 19

Fatal error: Call to undefined function: print_portal_output() in /mnt/ja2/04/354/00000010/htdocs/bioforum/index.php on line 27


I´ve checked the ChDir 5 times now, tested both relative and absolute directory, but it doesnt work. Where does it get htdocs to the directory?

Can somebody help?

thanks

Brian
08-11-2004, 12:50 PM
Are you running the script in your forums directory? If so, you can just comment out that line by adding // in front of it. If not, please post what you have for that line here.

Our Sponsors
 

kixxer
08-12-2004, 03:53 AM
Hi,

i´m running the script in /bioforum directory, forum is located in /bioforum/forum.

the script:

chdir('/bioforum/forum');

require_once('/bioforum/forum/global.php');

thanks for your help, appreciate it!

kix

Brian
08-16-2004, 12:36 PM
Try this:


chdir('/mnt/ja2/04/354/00000010/htdocs/bioforum/forum');

require_once('./global.php');