moved CMSms to other server....fail

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
Toine73
Forum Members
Forum Members
Posts: 19
Joined: Wed Mar 17, 2010 9:42 am

moved CMSms to other server....fail

Post by Toine73 »

Hi all,

sorry if this is already somewhere on the forum, but couldn't find an answer.

i backed up my database.
cleared cache and downloaded all CMSMS files.

loaded database to new server
installed cmsms without "create tables" active. so no new tables where written to the database.
updated config.php with values.

problem 1: i cant login to the admin site. it says wrong password or username.

2 when i go to the frontend, it says: no such file or directory on this server.
i am strugling now for 4 days, and gave it up.
maybe somebody can help me, or explain me what the heck is going wrong?

thanks so much for your help
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: moved CMSms to other server....fail

Post by Rolf »

Are you reallysure the database is imported correctly? Checked it in Phpmyadmin?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: moved CMSms to other server....fail

Post by velden »

i backed up my database.
cleared cache and downloaded all CMSMS files.

loaded database to new server
installed cmsms without "create tables" active. so no new tables where written to the database.
Why didn't you just copy the files from your download to the new server.

Unless know exactly what you're doing I guess it's not a good idea to use the existing database on a new install.
Toine73
Forum Members
Forum Members
Posts: 19
Joined: Wed Mar 17, 2010 9:42 am

Re: moved CMSms to other server....fail

Post by Toine73 »

i followed instructions on the dutch version of the forum.
they said not to use the create new tables option, but use the old DB that worked with the site.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: moved CMSms to other server....fail

Post by velden »

Better use the official documentation: https://docs.cmsmadesimple.org/moving
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: moved CMSms to other server....fail

Post by Rolf »

The docs is talking about recreating the config.php file I assume.
(like viewtopic.php?f=52&t=45559 in Dutch)

Please check the database if the old database tables *are* imported in the new server!!
If not, you get the behavior you talk about... (been there)

Note: this is for *old* CMSMS versions!
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Toine73
Forum Members
Forum Members
Posts: 19
Joined: Wed Mar 17, 2010 9:42 am

Re: moved CMSms to other server....fail

Post by Toine73 »

i have the old databse imported in the new.
no problems there
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: moved CMSms to other server....fail

Post by velden »

Let me say this: you can NOT use a database from an old CMSMS install (older version) in an newer version CMSMS install. Just don't do it, whatever you've read somewhere.

Copy the files from the 'old' server to the new one. Bring up CMSMS and then follow the documented upgrade path to get to the latest version.
Toine73
Forum Members
Forum Members
Posts: 19
Joined: Wed Mar 17, 2010 9:42 am

Re: moved CMSms to other server....fail

Post by Toine73 »

it is the same version of cms,
when i try to install the cms and let the install make a new config.php it says : NO SUCH FILE ON THIS ERVER
Post Reply

Return to “The Lounge”