Dahl99 Posted April 6, 2013 Share Posted April 6, 2013 Hi, I installed a new theme via the theme installer but for whatever reason it didn't work so I thought I'd just remove it and revert back to my original theme. Unfortunately now when I go to the shop I get a blank page in Opera and in Google the following - Server errorThe website encountered an error while retrieving my site.ro/. This can be disabled for maintenance or may be configured incorrectly. Here are some suggestions: Reload this web page later. HTTP Error 500 (Internal Server Error): When the server was attempting to fulfill the request, there was an unexpected situation. Anybody got any ideas how/why this has happened and how I can recover back to my original theme. Thank you Link to comment Share on other sites More sharing options...
Dahl99 Posted April 7, 2013 Author Share Posted April 7, 2013 Found this in the error log. [07-Apr-2013 16:25:48] PHP Fatal error: Call to undefined method Hook::preloadModulesFromHooks() in /*******/********/********/lime-square.co.uk/shop/override/classes/FrontController.php on line 140 Link to comment Share on other sites More sharing options...
razaro Posted April 7, 2013 Share Posted April 7, 2013 Well you did not say some info that could help like what version of Prestashop do you use. And what theme you are trying to install. Maybe theme is not compatible with your Prestashop. But from error you got it try to rename Front controller to _FrontController.php so it will not use it. Link to comment Share on other sites More sharing options...
Dahl99 Posted April 8, 2013 Author Share Posted April 8, 2013 Hi Razaro, sorry. It's version 1.4.1 and the theme is OT Valupat from omegatheme.com Hope that helps. Link to comment Share on other sites More sharing options...
Dahl99 Posted April 8, 2013 Author Share Posted April 8, 2013 I've just checked FrontController.php and noticed the OT Valupat from theme had renamed the original file to _FrontController.php and created a new one. I changed the new file to __FrontController.php and and the original back to FrontController.php and the shop reappeared. I've now had re-enable various modules and transplant them back to where they should be. This has now appeared on the shop front. Undefined property: MySQL::$queriesTime (/*****/********/******/lime-square.co.uk/shop/override/classes/FrontController.php, line 231) Two questions. What does that mean and how can I remove the message from the front of the shop? Thank you. Link to comment Share on other sites More sharing options...
razaro Posted April 8, 2013 Share Posted April 8, 2013 Think you should leave __FrontController.php like that. It is just for testing. And rename one from theme to for example _OTFrontController.php. Link to comment Share on other sites More sharing options...
Dahl99 Posted April 9, 2013 Author Share Posted April 9, 2013 Thanks Razaro. Seems to have sorted it out and I can now use the OT Valupat theme as well. Link to comment Share on other sites More sharing options...
vekia Posted April 10, 2013 Share Posted April 10, 2013 so, the problem is finally solved? Link to comment Share on other sites More sharing options...
Dahl99 Posted April 11, 2013 Author Share Posted April 11, 2013 Yes, to an extent. I've got my old theme back after lots of moving various modules around to their original positions. I still can't get the new theme to work though. I've noticed that in the themes module folder there are various modules that appear there but also in the PS modules list, in other words they are appear to be duplicated. Could this be the problem, perhaps causing conflicts? 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