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?
Installation Step 1-5 ok, then error
Re: Installation Step 1-5 ok, then error
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"]);
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"]);
Last edited by DaLu on Wed Mar 01, 2006 10:04 pm, edited 1 time in total.
Re: Installation Step 1-5 ok, then error
Hello,
I can't find the code in include.php
How to change pconnect to connect?
Thanks
I can't find the code in include.php
How to change pconnect to connect?
Thanks
Re: Installation Step 1-5 ok, then error
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
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...
My host can't use pconnect. I think it may be the problem. When I install cmsmadesimple, it appears 500 error...
Last edited by galfn on Fri Mar 10, 2006 4:19 pm, edited 1 time in total.