Page 1 of 1

Problem after moving to new server

Posted: Wed Nov 30, 2005 2:11 pm
by SandyD
Hi All,

I have moved our CMS site to another server, and am having problems.

I have installed PHP and got that working fine.
I have installed MYSQL and think I've got that working fine.

I have just copied the CMS directory structure from the other server and set the security on the cache etc. directories.

I am now experiencing the

Code: Select all

Fatal error: Call to undefined function mysql_pconnect() in c:\Inetpub\wwwroot\cmsmadesimple\lib\adodb\drivers\adodb-mysql.inc.php on line 356
error and wondering if anyone has any suggestions.

Thanks in advance,

SandyD

Re: Problem after moving to new server

Posted: Wed Nov 30, 2005 2:57 pm
by SandyD
Hi Patricia,

The SQL dump I done.

I managed to get this step to work: "4. Modify paths in config.php, change database details, etc"

I cannot however, get to the "Clear cache (via Global Prefs -- you should be able to hit the admin after step 4)" as I cannt access the adminpart of CMS.

The same error message appears as trying the index.php start page.

Re: Problem after moving to new server

Posted: Wed Nov 30, 2005 4:28 pm
by SandyD
Hi Patrica,

it certinly changed something, but still not quite working:

Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\cmsmadesimple\lib\adodb\drivers\adodb-mysql.inc.php on line 339

I'm sureĀ  I had problems like this when I first insalled CMS and managed to fix. Have tried searching thorugh my old posts on the forum, but cant find anything related.

SandyD

Re: Problem after moving to new server

Posted: Wed Nov 30, 2005 6:04 pm
by Ted
The problem is that PHP doesn't have mysql support built into it.

Did you set this server up yourselves, or is it a hosting company?

Re: Problem after moving to new server

Posted: Thu Dec 01, 2005 2:08 pm
by SandyD
Hi Patricia,

have done wht you recommended, but still same error.

@Wishy: I have a feeling that its a MYSQL dll that PHP cant find. I know I had this problem the first time I set up CMS. It's just hard trying to remember what I did to fix it.