maraveloJewellery Posted October 14, 2012 Share Posted October 14, 2012 Hi, forgive my ignorance but can you tell me how to enable error messages using config.inc.php please? Thanks, Malcolm Link to comment Share on other sites More sharing options...
maraveloJewellery Posted October 14, 2012 Author Share Posted October 14, 2012 Thank you for your reply. What happens then please? Is there a tutorial somewhere? Cheers, Malcolm Link to comment Share on other sites More sharing options...
maraveloJewellery Posted October 14, 2012 Author Share Posted October 14, 2012 OK, tried this. Now my whole site has disappeared and the browser returns a 500 error Link to comment Share on other sites More sharing options...
El Patron Posted October 14, 2012 Share Posted October 14, 2012 OK, tried this. Now my whole site has disappeared and the browser returns a 500 error then you didn't change the config.inc.php above correctly, you do have a back up of this file yes? if not then @ini_set('display_errors', 'off');define('_PS_DEBUG_SQL_', false); Link to comment Share on other sites More sharing options...
vekia Posted October 14, 2012 Share Posted October 14, 2012 how to turn on error reporting in prestashop here is a simple tutorial about error reporting in prestashop 1 Link to comment Share on other sites More sharing options...
maraveloJewellery Posted October 15, 2012 Author Share Posted October 15, 2012 Hi, OK, the first few lines in my config.ini.php file look like this... * International Registered Trademark & Property of PrestaShop SA */ /* Debug only */ @ini_set('display_errors', 'E_ALL'); define('_PS_DEBUG_SQL_', false); $start_time = microtime(true); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); Nothing appears to have changed. The problems I can see remain that users cannot check out an order and as admin I can't access "Modules" from the Modules drop down menu. I am guessing that one or more third party modules that I have installed are incompatible with 1.5.1 and that the PayPal module specifically has trouble with 1.5.1 but without access to modules I don't know how to turn modules off one by one or how to upgrade the PayPal module. Any help deeply appreciated. Thank you. Link to comment Share on other sites More sharing options...
maraveloJewellery Posted October 15, 2012 Author Share Posted October 15, 2012 (edited) Hi, ahhh! may have something here. Using the on/true first debug method in config and trying to access modules in admin using Chrome I get this error... Fatal error: Cannot make non static method ModuleCore::display() static in class PayPal in /home/maravelo/public_html/modules/paypal/paypal.php on line 1364 I'm guessing that the PayPal module may be causing all of the problems. How can I upgrade that module please? Edited October 15, 2012 by maraveloJewellery (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 15, 2012 Share Posted October 15, 2012 try to delete this module from modules directory and instal newest version of this addon Link to comment Share on other sites More sharing options...
maraveloJewellery Posted October 15, 2012 Author Share Posted October 15, 2012 (edited) Hi, thanks for your help. I've gone around in many circles but now I have made some progress by installing 1.5.1 again but this time using 1 click upgrade in prestashop modules. Previously I have always used Softaculous via my hosting cPanel without issues but this time it appears to have caused problems. Oh and I did remove the Paypal module first and re-installed the latest version. The solution isn't perfect. I think I have a lot of work to do yet to get everything functioning properly but at least the sites are live again and I have full access to admin. In particular product categories and features appear to be in a mess but that's a seperate issue. Thank you for helping me. Edited October 15, 2012 by maraveloJewellery (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts