theofferhut Posted June 10, 2013 Share Posted June 10, 2013 Hi Everyone, As my previous host was terrible I decided to move to another company - I didnt see any issues as I have previously moved prestashop sites with no problems but now I have moved I am getting the following message : Server error The website encountered an error while retrieving http://www.theofferhut.com/index.php?. It may be down for maintenance or configured incorrectly. Here are some suggestions: Reload this webpage later.HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request. I have restored db ok and copied all the files and cant think what is causing this - any help would be gratefully received. My site is theofferhut.com Thanks Allan Link to comment Share on other sites More sharing options...
El Patron Posted June 10, 2013 Share Posted June 10, 2013 Is is advisable to first install a vanilla native ps on any new server to make sure that it is compatible before moving a site to it. This way you do not skip the internal checks made by ps at installation. as for the 500, try this to get information: http://www.prestashop.com/forums/topic/224525-how-to-get-debug-information-for-500-error-or-blank-page/ Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted June 10, 2013 Share Posted June 10, 2013 Hi, I agree with eTiendas.co, DEV_MODE will help us understand your problem Did you change your DB connection? Regards Link to comment Share on other sites More sharing options...
theofferhut Posted June 10, 2013 Author Share Posted June 10, 2013 Hi, Yes I have updated the db entries, I have also tested that a vanilla version of PS works and the error I get with dev mode on is : Parse error: syntax error, unexpected ''' (T_ENCAPSED_AND_WHITESPACE), expecting ']' in /home/tubscoco/public_html/theofferhut.com/config/smartyfront.config.inc.php on line 39 Thanks Link to comment Share on other sites More sharing options...
vekia Posted June 10, 2013 Share Posted June 10, 2013 can you please paste here content of the smartyfront.inc.php file from line ~39 ? im asking because in 1541 there is no T_ENCAPSED_AND_WHITESPACE variable Link to comment Share on other sites More sharing options...
theofferhut Posted June 10, 2013 Author Share Posted June 10, 2013 This is on line 39 if (!isset($params['js'])) $params[' and there is nothing after this line - this was working ok the previous host. Link to comment Share on other sites More sharing options...
vekia Posted June 10, 2013 Share Posted June 10, 2013 change this line to: if (!isset($params['js'])) $params['js'] = false; or just comment it Link to comment Share on other sites More sharing options...
theofferhut Posted June 10, 2013 Author Share Posted June 10, 2013 I seem to have resolved it by overwriting the smartyfront inc file with the vanilla install and also copying the smarty folder from the vanilla install. Can you think of any issues this might cause ? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts