Barry1877 Posted November 19, 2013 Share Posted November 19, 2013 Hi All, Client has sent me an email to say that they were working on some products and the site has stopped working. I have been unable to reach them by telephone to find out exactly what they did. The back office works fine, however the front end is just a white screen. I was able to switch to maintenance mode and the message on the from end displays fine! I have turned on error reporting and get the following message: Strict Standards: Declaration of Dispatcher::loadRoutes() should be compatible with that of DispatcherCore::loadRoutes() in /home/sites/andersonkilts.co.uk/public_html/override/classes/Dispatcher.php on line 164 Fatal error: Out of memory (allocated 169082880) (tried to allocate 81 bytes) in /home/sites/andersonkilts.co.uk/public_html/classes/ObjectModel.php on line 1566Strict Standards: Declaration of Dispatcher::loadRoutes() should be compatible with that of DispatcherCore::loadRoutes() in /home/sites/andersonkilts.co.uk/public_html/override/classes/Dispatcher.php on line 164 Fatal error: Out of memory (allocated 169082880) (tried to allocate 81 bytes) in /home/sites/andersonkilts.co.uk/public_html/classes/ObjectModel.php on line 1566 I have had a look about for a solution without success, would someone be able to point me in the correct direction. Thanks in anticipation Barry Link to comment Share on other sites More sharing options...
vekia Posted November 19, 2013 Share Posted November 19, 2013 this shop use override. problem is with class override override/classes/Dispatcher.php ... for what purposes? Link to comment Share on other sites More sharing options...
Barry1877 Posted November 19, 2013 Author Share Posted November 19, 2013 Hi Vekia, thanks for your reply. I think I may have found the issue. The client seems to have deleted the category accessories, which has over 20 sub categories and over 200 products. I am re-associating every thing under the home category to see if I can get it operational and then go from there. I hope it works?? Link to comment Share on other sites More sharing options...
vekia Posted November 19, 2013 Share Posted November 19, 2013 the main problem is with fact, that you haven't got enough memory to run script. this may be caused by a lot of thigs.... check ps_category tables, have you got there some enormous values in nleft, nright column? Link to comment Share on other sites More sharing options...
Barry1877 Posted November 19, 2013 Author Share Posted November 19, 2013 Hi I have checked this, the values in these columns appear to normal...no large values Still getting white screen on the front end, allocated all the products back to the home category and now get Strict Standards: Declaration of Dispatcher::loadRoutes() should be compatible with that of DispatcherCore::loadRoutes() in /home/sites/andersonkilts.co.uk/public_html/override/classes/Dispatcher.php on line 164 Fatal error: Out of memory (allocated 169345024) (tried to allocate 82 bytes) in /home/sites/andersonkilts.co.uk/public_html/classes/ObjectModel.php on line 1570 Is it possible for the categories to just disappear??? Client is adamant that he did not delete anything Link to comment Share on other sites More sharing options...
vekia Posted November 19, 2013 Share Posted November 19, 2013 for what purposes you use override? override/classes/Dispatcher.php the problem is there, who created this override? Link to comment Share on other sites More sharing options...
Barry1877 Posted November 19, 2013 Author Share Posted November 19, 2013 I have no idea (I wish I did). The site was functioning fine until yesterday then the client modified something. There is a free module called Clean URLs which is an override to remove URL IDs. Could this be the problem. If I remove the override/classes/Dispatcher.php file would this resolve the issue. Many Thanks for all your help....got me puzzled Barry Link to comment Share on other sites More sharing options...
Barry1877 Posted November 19, 2013 Author Share Posted November 19, 2013 Hi, I removed that module and associated files as per the instructions here http://www.prestashop.com/forums/topic/263283-module-clean-url/ Site still not working and now I get the following message Fatal error: Out of memory (allocated 169082880) (tried to allocate 85 bytes) in /home/sites/andersonkilts.co.uk/public_html/classes/ObjectModel.php on line 1566 Thanks Barry Link to comment Share on other sites More sharing options...
vekia Posted November 19, 2013 Share Posted November 19, 2013 this error means that your page uses to much memory, and you reached the memory limit. what your customer changed in the store? you've got informations about that? Link to comment Share on other sites More sharing options...
Barry1877 Posted November 19, 2013 Author Share Posted November 19, 2013 He said that he modified one of the products, no really large images that I can see. He also somehow managed to delete the category as previously mentioned Link to comment Share on other sites More sharing options...
vekia Posted November 19, 2013 Share Posted November 19, 2013 ok, everything is clear. in my opinion this issue is related to ps_category table. please check it for enormous values for nright nleft column. Link to comment Share on other sites More sharing options...
Barry1877 Posted November 19, 2013 Author Share Posted November 19, 2013 Hi None of the values are enormous in the ps_category table. However there are 34 rows when there are only 8 categories remaining. Should I be deleting the ones that don't have a category id in the BO? Regards Barry Link to comment Share on other sites More sharing options...
Barry1877 Posted November 19, 2013 Author Share Posted November 19, 2013 Hi for reference the highest values are 62 and 63.... Link to comment Share on other sites More sharing options...
Barry1877 Posted November 20, 2013 Author Share Posted November 20, 2013 This has now been resolved, the block top menu was causing the issue as it was still looking I guess for categories that had been deleted. Many Thanks...this can be closed Link to comment Share on other sites More sharing options...
vekia Posted November 20, 2013 Share Posted November 20, 2013 thank you for information where the problem was i bookmarked this thread, it will be helpful in many similar cases i marked topic as [solved] with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts