vivohd Posted November 23, 2012 Share Posted November 23, 2012 Internal Server Error in Hooks and Positions (Modules Admin Menu) Link to comment Share on other sites More sharing options...
vekia Posted November 23, 2012 Share Posted November 23, 2012 Do you checked apache error log? Or turning error reporting to on? if you don't know how to turn on error reporting, here is a tutorial: how to turn on error reporting in prestashop? if you turn on error reporting, refresh your shop page and you will find out where the problem is. If dont - you must check apache error log (if you have an access to error logs) Link to comment Share on other sites More sharing options...
vivohd Posted November 28, 2012 Author Share Posted November 28, 2012 Ok vekia thank you for your help The version of PrestaShop is 1.5.2 and these are the errors: ------------------------------------------------------------ Administrator > Permissions Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 220964 bytes) in /tools/smarty/sysplugins/smarty_internal_templatebase.php on line 207 ------------------------------------------------------------ Manage Hooks Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 311296 bytes) in /cache/smarty/compile/e03947950c697e2e1e622abb13785558ba956005.file.header.tpl.php on line 358 ------------------------------------------------------------ Modules > Positions (Preference Language: Spanish) Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 107 bytes) in /classes/Translate.php on line 146 ------------------------------------------------------------ Link to comment Share on other sites More sharing options...
vekia Posted November 28, 2012 Share Posted November 28, 2012 It's all errors? you've got the ability to increase memory in php ini files? How many modules you've got installed / added ? It's default installation? Link to comment Share on other sites More sharing options...
vivohd Posted November 28, 2012 Author Share Posted November 28, 2012 my php.ini: php_value memory_limit 128M php_value max_execution_time 1000 php_value max_input_time -1 php_value post_max_size 20M php_value upload_max_filesize 20M php_value max_input_vars 10000 php_value suhosin.get.max_vars 10000 php_value suhosin.post.max_vars 10000 it´s default installation Link to comment Share on other sites More sharing options...
moses5407 Posted November 30, 2012 Share Posted November 30, 2012 I started getting a white screen with logo and paypal module only showing yesterday. From quick research it seems this may be a server error. I followed the article above to turn errors on and refreshed .. but I get no errors showing? Do the errors normally show on the shop screen after refresh .. or are they in a log file somewhere? thanks Link to comment Share on other sites More sharing options...
vekia Posted November 30, 2012 Share Posted November 30, 2012 normally errors show on the shop, but in some cases they appear only in error log in web service. YOu've got acces to apache error log? you can check log there Link to comment Share on other sites More sharing options...
moses5407 Posted November 30, 2012 Share Posted November 30, 2012 Thanks..but I don't think I have access to the apache error log Link to comment Share on other sites More sharing options...
vivohd Posted November 30, 2012 Author Share Posted November 30, 2012 1. edit the /config/config.inc.php: /* Debug only */ @ini_set('display_errors', 'E_ALL'); define('_PS_DEBUG_SQL_', true); 2. and the /config/defines.inc.php: define('_PS_MODE_DEV_', true); define('_PS_DEBUG_PROFILING_', true); define('_PS_MODE_DEMO_', false); 3. check for errors and put it back to FALSE Link to comment Share on other sites More sharing options...
moses5407 Posted December 1, 2012 Share Posted December 1, 2012 Thanks, vivohd! I did that .. but really have no idea how to make sense of the report. There's nothing clearly marked as an error. Can you point me to some info on using this report? I attached a copy in case something jumps out at you from it..prestaErrorLog.rtf Link to comment Share on other sites More sharing options...
Recommended Posts