[Solved] Database Issues after moving to new server.

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
junkmailtrapenator
New Member
New Member
Posts: 6
Joined: Wed Jul 18, 2007 3:41 pm

[Solved] Database Issues after moving to new server.

Post by junkmailtrapenator »

I am in the process of moving my CMSMS installation to a new server. This in itself is no big deal, but the move has caused a database issue that was not present on the old server.

I have a number of User Defined Tags that create a connection to a MySql database (not the cms db). On the old server this works fine, but what appears to happen on the new server is that the link_identifier to the non-cms db replaces the link_identifier to the cms db. Then any further queries the cms makes is against the wrong database.

CMSMS is 1.6.4 and all the files where copied from one server to the other. PHP is at 5.2.6 and 5.2.11 on the old and new servers respectively.

Does anyone have any idea what might be causeing it to be an issue on one server and not the other and what I might be able to do to work around this issue.

Thanks
Last edited by junkmailtrapenator on Thu Oct 08, 2009 12:59 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Database Issues after moving to new server.

Post by Nullig »

Do you have

  adodb_connect();

at the end of your UDT to reconnect to the CMSMS db?

Nullig
junkmailtrapenator
New Member
New Member
Posts: 6
Joined: Wed Jul 18, 2007 3:41 pm

Re: Database Issues after moving to new server.

Post by junkmailtrapenator »

Interesting! Adding that seems to fix the problem. I wonder why I wasn't having that problem on the old server.

Thanks!!
Locked

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