Jump to content

Internal Server Error in Hooks and Positions (Modules Menu)


vivohd

Recommended Posts

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

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

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

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

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...