Page 1 of 1

Error after loging?

Posted: Tue 22. Aug 2006, 05:25
by allison
After logging in backend, I got errors like this:

Code: Select all

PHP Warning:  main(/home2/tuyenpm/public_html/128/include/inc_lib/dbcon.inc.php): failed to open stream: No such file or directory in /home2/tuyenpm/public_html/lopc12/index.php on line 62
PHP Fatal error:  main(): Failed opening required '/home2/tuyenpm/public_html/128/include/inc_lib/dbcon.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/tuyenpm/public_html/lopc12/index.php on line 62
Frontend: http://www.c12dienkhanh.com/lopc12

Backend: http://www.c12dienkhanh.com/lopc12/login.php

On localhost is good, but when I upload on server I got this errors. Please help me! Thanks!

Posted: Tue 22. Aug 2006, 07:17
by flip-flop
Hi allison,

pleaese post your path settings using in conf.inc.php.
Second please copy the file documet_root.php into your root folder and have a look by running this file.

regards knut

Posted: Tue 22. Aug 2006, 09:45
by allison
Hi flip-flop,

Thanks flip-flop, I logged in backend. That's my error. I don't setup as normaly. I upload alll file to server, add database, config 2 file conf.inc.php and phpopentracker.php and run. So I don't have line $_SERVER['DOCUMENT_ROOT'] = ''; in conf.inc.php.
Now everything is Ok. Thanks again flip-flop. That's my first site with phpwcms.

Posted: Tue 22. Aug 2006, 10:38
by flip-flop
Please erase the file /document_root.php and the complete folder /setup/ :!: :!:

regards Knut