Page 1 of 1

Installation Step 1-5 ok, then error

Posted: Wed Mar 01, 2006 9:08 pm
by DaLu
The installation steps 1..5 were ok but than when clicked to the link: Here is your CMS site

The following error occurs:

Warning: mysql_pconnect() has been disabled for security reasons in /mnt/sites/....../web/lib/adodb/drivers/adodb-mysql.inc.php on line 366

Fatal error: Call to a member function MoveNext() on a non-object in /mnt/sites/......web/lib/content.functions.php on line 983

where could be the problem?

Re: Installation Step 1-5 ok, then error

Posted: Wed Mar 01, 2006 10:02 pm
by DaLu
I found the solution in the Forum!

Changing in the include.php:

$db->PConnect($config["db_hostname"],$config["db_username"],$config["db_password"],$config["db_name"]);

to:

$db->Connect($config["db_hostname"],$config["db_username"],$config["db_password"],$config["db_name"]);

Re: Installation Step 1-5 ok, then error

Posted: Fri Mar 10, 2006 9:35 am
by galfn
Hello,
I can't find the code in include.php
How to change pconnect to connect?
Thanks

Re: Installation Step 1-5 ok, then error

Posted: Fri Mar 10, 2006 1:18 pm
by Ted
The easier way is to change persistent_db_conn from true to false in config.php.  It basically does the same thing.

Re: Installation Step 1-5 ok, then error

Posted: Fri Mar 10, 2006 3:28 pm
by galfn
My config.php is empty.....how to change persistent_db_conn from true to false in config.php?

My host can't use pconnect. I think it may be the problem. When I install cmsmadesimple, it appears 500  error...