PDA

View Full Version : installation errors v2.0.1



webwriter
05-23-2005, 03:08 PM
I received the following errors when setting up a new install with version 2.0.1 Any suggestions. Prior I had problems setting up the database and corrected that with a change in the default setting for the last line in the field for base path. Installation of database was successful according to the printout of results. Clicked next after setting up the database and I received the following messages:

Warning: main(): open_basedir restriction in effect. File(/public_html/include/class/adodb/adodb.inc.php) is not within the allowed path(s): (/home/cctexash:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/cctexash/public_html/include/common.php on line 27

Warning: main(/public_html/include/class/adodb/adodb.inc.php): failed to open stream: Operation not permitted in /home/cctexash/public_html/include/common.php on line 27

Warning: main(): open_basedir restriction in effect. File(/public_html/include/class/adodb/adodb.inc.php) is not within the allowed path(s): (/home/cctexash:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/cctexash/public_html/include/common.php on line 27

Warning: main(/public_html/include/class/adodb/adodb.inc.php): failed to open stream: Operation not permitted in /home/cctexash/public_html/include/common.php on line 27

Warning: main(): Failed opening '/public_html/include/class/adodb/adodb.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cctexash/public_html/include/common.php on line 27

Fatal error: Call to undefined function: adonewconnection() in /home/cctexash/public_html/include/common.php on line 28

What do I do next?

Thanks

pbflash
05-23-2005, 03:31 PM
Looks like a base path error. Your base path is set to /public_html when it should be /home/cctexash/public_html. Did you change any of the settings while going through the setup? OR should have recognized the correct path automatically.

Try running the install again under the upgrade path option and don't change any of the settings.

greengiant
05-23-2005, 03:32 PM
Sounds like wither OR failed to detect the correct base path durring hte install or you modified the basepath. You basepath should be /home/cctexash/public_html/. Rerun the installer and select the update basepath/baseurl option to fix.

webwriter
05-23-2005, 03:37 PM
I'll try your suggestion, however when I first ran the installation the default base path was /home/cctexash/public_html and when I clicked on install it gave an error message that it couldn't connect to the database. When I changed the base path to /public_html it connected to the database and set up the tables. I'll let you know what happens when I rerun the install.

Thanks for your prompt replies.

webwriter
05-23-2005, 03:50 PM
Thanks, I did the update the base path and didn't change anything and it is working now.

pbflash
05-23-2005, 05:10 PM
For futre reference, an incorrect base path will not prevent a connection to the DB. Incorrect DB info will.