MOBYMEMORY Posted March 5, 2013 Share Posted March 5, 2013 Hi im having a bit of an issue with the front end of my store after an upgrade to 1.5.3.1 when i click categories and products it will often throw up a error 500 message then when you refresh the page the page loads up fine i have checked the server settings and spoke to the hosting company and all seems fine i thought it may be a PHP memory issue so increased it to 128M and the error is still occurring Link to comment Share on other sites More sharing options...
PascalVG Posted March 5, 2013 Share Posted March 5, 2013 Hi Moby, Did you search the forum on this already? There are many posts about this error. Maybe one of the solutions does the trick for you. Keep us informed what you tries already... (or what solved the problem for you in the end... :-) ) Pascal Link to comment Share on other sites More sharing options...
MOBYMEMORY Posted March 6, 2013 Author Share Posted March 6, 2013 i have tried alot of the solutions suggested but none seem to have worked Link to comment Share on other sites More sharing options...
MOBYMEMORY Posted March 6, 2013 Author Share Posted March 6, 2013 also i turned on Debug and got these issues : Warning: Function addCSS() is deprecated in /home/santrade/public_html/modules/blockuserinfo1/blockuserinfo1.php on line 77 in /home/santrade/public_html/classes/Tools.php on line 1777 Warning: Function addCSS() is deprecated in /home/santrade/public_html/modules/blockuserinfo/blockuserinfo.php on line 77 in /home/santrade/public_html/classes/Tools.php on line 1777 Warning: Function addCSS() is deprecated in /home/santrade/public_html/modules/lofmanufacturerscroll/lofmanufacturerscroll.php on line 229 in /home/santrade/public_html/classes/Tools.php on line 1777 Warning: Function addCSS() is deprecated in /home/santrade/public_html/modules/lofmanufacturerscroll/lofmanufacturerscroll.php on line 230 in /home/santrade/public_html/classes/Tools.php on line 1777 Warning: Function addJS() is deprecated in /home/santrade/public_html/modules/lofmanufacturerscroll/lofmanufacturerscroll.php on line 231 in /home/santrade/public_html/classes/Tools.php on line 1777 Warning: Function isLogged() is deprecated in /home/santrade/public_html/modules/blockuserinfo1/blockuserinfo1.php on line 66 in /home/santrade/public_html/classes/Tools.php on line 1777 Warning: Function isLogged() is deprecated in /home/santrade/public_html/modules/blockuserinfo/blockuserinfo.php on line 66 in /home/santrade/public_html/classes/Tools.php on line 1777 Fatal error: Function name must be a string in /home/santrade/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 281 can any one help work out what they are and help me fix them Link to comment Share on other sites More sharing options...
MEG Venture Posted March 7, 2013 Share Posted March 7, 2013 deprecated errors are not important. They are just for notification purpose. Those codes will not be used/supported in the forthcoming versions of Prestashop. Disable error messages and you are done. But for the last error, we need to check the regarding error code line. Link to comment Share on other sites More sharing options...
spirits999 Posted March 7, 2013 Share Posted March 7, 2013 Quick Question. How did you turn on the Errors. I suppose the config file. Where do you see the logs? Link to comment Share on other sites More sharing options...
MEG Venture Posted March 7, 2013 Share Posted March 7, 2013 config>define.inc.php enable debugging --- > TRUE Link to comment Share on other sites More sharing options...
spirits999 Posted March 7, 2013 Share Posted March 7, 2013 Great thanks! Where do I see the logs? Link to comment Share on other sites More sharing options...
MEG Venture Posted March 7, 2013 Share Posted March 7, 2013 You need to ask your hosting provider. Link to comment Share on other sites More sharing options...
spirits999 Posted March 7, 2013 Share Posted March 7, 2013 MEG! Thank you. I will. I checked my defines.inc.php file. It does not have the debugging option. Could you tell me the exact syntax. Also, do I have to keep the errors on(@ini_set('display_errors', 'off'); to on in config file) Link to comment Share on other sites More sharing options...
MEG Venture Posted March 7, 2013 Share Posted March 7, 2013 I assume that your Prestashop version is 1.5.x as this topic is about So in config>defines.inc.php define('_PS_MODE_DEV_', false); to define('_PS_MODE_DEV_', true); Link to comment Share on other sites More sharing options...
PascalVG Posted March 7, 2013 Share Posted March 7, 2013 (edited) Hi Moby, all, Dit you try to add this specific line in config/config.inc.php already: ini_set('memory_limit','128M'); Or maybe ini_set('memory_limit','256M'); Just a try... Fixed many strange errors for me Edited March 7, 2013 by PascalVG (see edit history) Link to comment Share on other sites More sharing options...
MOBYMEMORY Posted March 12, 2013 Author Share Posted March 12, 2013 yea i tried that in the end the issue was costing far too much money and it was decided to revert back to 1.4.9 thanks to everyone for trying to help i do however have a feeling it was something in the database that corrupted during the update Link to comment Share on other sites More sharing options...
Matt Serralta Posted March 12, 2013 Share Posted March 12, 2013 Hello, My guess is that you are using a modified theme. Under your theme/module directory, there are a few modules listed there for blockuserinfo, manufacturers, and etc. Because they are under you theme directories, the PrestaShop software will use these files instead of the modules included in the new version. You can either fix these files to make them more compatible with 1.5.3, ignore the errors by turning error reporting off and dev mode to false in the config files and back office, or by using the PrestaShop files included with the new default theme or under the module directory. You can find more about the infracstructure of the software with our developer guide located at prestashop.com/resources. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts