Installation Step 1-5 ok, then error

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
DaLu

Installation Step 1-5 ok, then error

Post 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?
DaLu

Re: Installation Step 1-5 ok, then error

Post 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"]);
Last edited by DaLu on Wed Mar 01, 2006 10:04 pm, edited 1 time in total.
galfn

Re: Installation Step 1-5 ok, then error

Post by galfn »

Hello,
I can't find the code in include.php
How to change pconnect to connect?
Thanks
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Installation Step 1-5 ok, then error

Post by Ted »

The easier way is to change persistent_db_conn from true to false in config.php.  It basically does the same thing.
galfn

Re: Installation Step 1-5 ok, then error

Post 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...
Last edited by galfn on Fri Mar 10, 2006 4:19 pm, edited 1 time in total.
Locked

Return to “[locked] Installation, Setup and Upgrade”