ROWI Posted July 3, 2016 Share Posted July 3, 2016 Hello, This morning I migrated a Prestashop installation to a new server (http://avp-trading.nl). I took the following steps: 1) I updated the config/settings.inc.php file to the new credentials and uploaded a back-up of the SQL database to the new host. 2) I edited in the ps_configuration the PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL to the new domain (old was testing environment with temporary domain. 3) I downloaded all file through FTP from my old host to the new in the root and deleted the .htaccess The PS version I am using is: 1.6.1.4 The database connection is correctly made, however, now I want to go to the web page and Chrome tells me that the page isn't working as well as the back-end. This is not due to DNS issues or whatever, nothing has changed here. Can somebody help me with this? Robin Link to comment Share on other sites More sharing options...
endriu107 Posted July 3, 2016 Share Posted July 3, 2016 2) I edited in the ps_configuration the PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL to the new domain (old was testing environment with temporary domain. Also in ps_shop_url you have to change domain. Link to comment Share on other sites More sharing options...
ROWI Posted July 3, 2016 Author Share Posted July 3, 2016 Thank you for your answer. The ps_shop_url is changed too, it is changed to avp-trading.nl Link to comment Share on other sites More sharing options...
codetheweb Posted July 3, 2016 Share Posted July 3, 2016 Hi, Is mode_debug activated? Did you got any errors ?? Let me know Link to comment Share on other sites More sharing options...
ROWI Posted July 3, 2016 Author Share Posted July 3, 2016 Yes, I've activated debug mode. The Error I receive is the following: Parse error: syntax error, unexpected ']', expecting ')' in /home/avp-trading.nl/public_html/tools/mobile_Detect/Mobile_Detect.php on line 346 Link to comment Share on other sites More sharing options...
codetheweb Posted July 3, 2016 Share Posted July 3, 2016 could you copy us the line 346 of Mobile_Detect.php please ?? Link to comment Share on other sites More sharing options...
ROWI Posted July 3, 2016 Author Share Posted July 3, 2016 Line 346 is: 'StorexTablet' => 'eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab', Link to comment Share on other sites More sharing options...
codetheweb Posted July 3, 2016 Share Posted July 3, 2016 (edited) Hi try this: 'StorexTablet' => "eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab", For explanation the simple quote on ( _' ) is the hell here Edited July 3, 2016 by Lefty_sarl (see edit history) Link to comment Share on other sites More sharing options...
ROWI Posted July 3, 2016 Author Share Posted July 3, 2016 I've tried your solution, and now it gives me a different error: Parse error: syntax error, unexpected ']', expecting ')' in /home/avp-trading.nl/public_html/tools/mobile_Detect/Mobile_Detect.php on line 351 Line 351 is: 'EssentielBTablet' => 'Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2', What I find strange is that prior to the upload to the new server I haven't changed anything, it's exactly the same as on the old server. Link to comment Share on other sites More sharing options...
ROWI Posted July 3, 2016 Author Share Posted July 3, 2016 I've changed it to: 'EssentielBTablet' => "Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2", Now everything works Thank you very much, I was completely lost in this. Link to comment Share on other sites More sharing options...
codetheweb Posted July 3, 2016 Share Posted July 3, 2016 No problems, its just syntax php errors Hope my help satisfied you Cyu 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