Problem after moving to new server

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
SandyD

Problem after moving to new server

Post 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
SandyD

Re: Problem after moving to new server

Post 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.
SandyD

Re: Problem after moving to new server

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Problem after moving to new server

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

Re: Problem after moving to new server

Post 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.
Locked

Return to “CMSMS Core”