Page 1 of 1

OC 1.5.6.1 moving to new host.

Posted: Wed Aug 20, 2014 4:54 pm
by Titanzi
Hi.
I'm trying to move my site from our dev environment to the real host.
I have done a backup of the DB, I have done a backup of the site.
I have then moved the site over to the new host FTP and imported the DB to the new host local.
I have made new config.php files for both admin and "public".

the dev site looks like this: www.dev.fn42.se
the moved site looks like this: www.nordinrc.se

the files are the exact same.

I can not access the admin panel either. It doesn't throw an error, it just updates the signs after "token=" when I try to login there.

Please, I need help. I have tried everything I can imagine and then some. We even tried to do a clean install and just move the stuff that have the website data in it. It did not work.

Re: OC 1.5.6.1 moving to new host.

Posted: Wed Aug 20, 2014 10:31 pm
by k2tec
Normally I install a clean install of the version I want to install.
If that is working I delete all dir and files except the admin dir with the config file and the root config file.
Empty your DB and import your old DB.
Don't forget to delete the old cache and old vqmod cache.

If I open your site the languages files are missing.
this is the error

Code: Select all

Notice: Error: Could not load language swedish! in /storage/content/57/106557/nordinrc.se/public_html/system/library/language.php on line 39

Re: OC 1.5.6.1 moving to new host.

Posted: Wed Aug 20, 2014 11:25 pm
by cwswebdesign
Titanzi wrote:Hi.
I'm trying to move my site from our dev environment to the real host.
I have done a backup of the DB, I have done a backup of the site.
I have then moved the site over to the new host FTP and imported the DB to the new host local.
I have made new config.php files for both admin and "public".

the dev site looks like this: http://www.dev.fn42.se
the moved site looks like this: http://www.nordinrc.se

the files are the exact same.

I can not access the admin panel either. It doesn't throw an error, it just updates the signs after "token=" when I try to login there.

Please, I need help. I have tried everything I can imagine and then some. We even tried to do a clean install and just move the stuff that have the website data in it. It did not work.
You're missing Swedish language files. Double check your upload and that should clear up the errors you see at the top of the page.

DL

Re: OC 1.5.6.1 moving to new host.

Posted: Thu Aug 21, 2014 2:34 am
by Titanzi
Hi.
We have been working on this all day and we finally just reinstalled the latest OC instead and just copied over the stuff we needed.

Tnx for the help :)

Re: OC 1.5.6.1 moving to new host.

Posted: Thu Aug 21, 2014 7:47 am
by cwswebdesign
Titanzi wrote:Hi.
We have been working on this all day and we finally just reinstalled the latest OC instead and just copied over the stuff we needed.

Tnx for the help :)
Did that work?

DL

Re: OC 1.5.6.1 moving to new host.

Posted: Fri Aug 22, 2014 5:22 pm
by Titanzi
No... it did not. Or kinda but after we installed 1.5.6.4 we no longer can get access to the admin panel.

Re: OC 1.5.6.1 moving to new host.

Posted: Fri Aug 22, 2014 11:30 pm
by Titanzi
I have found one fix for it.
If you can't login to your admin panel it might have to do with the sessions and how they are handled.
To fix this you need to go to your root catalog "public_html" and find the php.ini file.

Open the .ini file and add these two lines:

session.save_handler = files;
session.save_path = /storage/content/xx/yyyyxx/domain.com/sessions;

xx is the same as the 2 numbers in the config.php
and the yyyyxx is the same as in the 4 digit nubers in the config.php file.

after this, you create a folder called sessions in the catalog that is above the root. In teh FTP that would be
in the /domain.com/ folder.

!!! The folder is not to be located in the public_html!!!!!

If this worked you should be golden!