Shahrooz Posted January 18, 2016 Share Posted January 18, 2016 Hi, I just got another server from inmotion and I want to move my shop there, but before changing the DNS, I want to be sure that everything is working fine, then I will change the DNS, add the domain as add-on and will assign it to the shop folder as the it's not in the root! (I have 4 website on this panel and the shop is one of them). The problem is when I enter the new URL which is a folder on newdomain (e.g. www.domain.com/shop), it will goes directly to the current website which is on old server yet! It seems there is a redirection but I couldn't find it! I did this: 1. copy all files from oldHost to my HardDrive 2. copy all files from HD to newHost3. create new db on newHost4. create db user on newHost with all needed rights5. edit settings.inc.php in config dir6. export all mysql data from oldHost in sql format7. import the exported sql file in newHost 8. change the Shop domain and SSL domain in ps_configuration table from phpMyadmin 9. cleared the folder in SMARTY and kept the index files in both folders but still the site will redirect to the old hosting. I've cleared my cache many times and checked it with different browsers.. Please give me any clue to solve this issue! Thanks, Link to comment Share on other sites More sharing options...
SupportPS Posted January 18, 2016 Share Posted January 18, 2016 Hello. Go to phpmyadmin and change ps_shop_url table. Clean cache of your browser. Link to comment Share on other sites More sharing options...
Shahrooz Posted January 18, 2016 Author Share Posted January 18, 2016 Hey, Thanks for quick reply. It's so weird but I couldn't find this table in my db. I'm having 1.6.1.3. Am I missing something? Thanks, Link to comment Share on other sites More sharing options...
SupportPS Posted January 19, 2016 Share Posted January 19, 2016 In any case, you have such tables: ps_shop 5 InnoDB utf8_general_ci64.0 KiB - ps_shop_group 1 InnoDB utf8_general_ci16.0 KiB - ps_shop_url Go to the second page of your database Link to comment Share on other sites More sharing options...
Shahrooz Posted January 19, 2016 Author Share Posted January 19, 2016 Finally found it and changed it to proper URL but another problem here: This web page has a redirect loopERR_TOO_MANY_REDIRECTS I've removed/renamed .htaccess, cleared cache, removed all cookies, but no success. Any clue for this one? Thanks a lot for help, Link to comment Share on other sites More sharing options...
SupportPS Posted January 19, 2016 Share Posted January 19, 2016 Go to config folder open defines.php and enable dev_mode set "yes" than write errors that will give the site. Link to comment Share on other sites More sharing options...
Shahrooz Posted January 19, 2016 Author Share Posted January 19, 2016 Actually I did, but no details of error. Still same error message. I've tried to clearing cookies but no success. I think showing error is off by the server and I don't have php.ini to change it. I will fix this first and then will copy the error here when I got it. Thanks SupportPS, Link to comment Share on other sites More sharing options...
Shahrooz Posted January 20, 2016 Author Share Posted January 20, 2016 Hey, After lots of challenge with the migration finally succeed to have the website on new hosting. The main problem was define('_PS_CACHE_ENABLED_', '1'); which I disabled it. Now, I have the website in a folder and it seems working fine but there is an BIG PROBLEM here. Nothing is working! I can't do any action with database such as changing a setting, creating new product, or anything else.. when I do such a thing, it will go to a white page with no warning. It means I have admin panel but cant do anything. I can go anywhere I want in admin panel but cannot do any transaction with db. I am getting this error when enter to any page in admin panel: Warning on line 1789 in /home/bluese10/public_html/bluesense-interior/classes/controller/AdminController.php file [2] Can not modify header information - headers already sent by (output started at / home / bluese10 / public_html / blue interior sense /modules/emptycache/classes/modulesamdha.php:3323) Any ideas are appreciated! Thanks, Link to comment Share on other sites More sharing options...
Shahrooz Posted January 20, 2016 Author Share Posted January 20, 2016 (edited) UPDATE: I've checked that file (modulesmamdha.php) and it has exactly 3323 lines! The file seems complete and I checked with original one, there is no different! I've removed the module manually from Cpanel as I couldn't do anything in BO and the website is working fine!!! Edited January 20, 2016 by Shahrooz (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now