Jump to content

 

siarlis

Member Since 26 Feb 2010
Offline Last Active Apr 28 2021 06:51 AM
-----

Topics I've Started

Random 500 Internal Server Error

28 May 2020 - 09:13 AM

Hello, 

 

Suddenly i start to receive a 500 Error . The problem occurs randomly . 

 

I've checked the error logs and it seems that there is a problem with the session variables ? 

 

Here is the log: 

 
[28-May-2020 08:55:08 UTC] PHP Notice:  Undefined index: settings in app/Tygh/Session.php on line 257
[28-May-2020 08:55:08 UTC] PHP Warning:  session_decode(): Cannot call session save handler in a recursive manner in app/Tygh/Web/Session.php on line 653
[28-May-2020 08:55:08 UTC] PHP Warning:  session_decode(): Session object destruction failed in app/Tygh/Web/Session.php on line 653
[28-May-2020 08:55:08 UTC] PHP Warning:  session_decode(): Failed to decode session object. Session has been destroyed in app/Tygh/Web/Session.php on line 653
[28-May-2020 08:55:08 UTC] PHP Notice:  Undefined index: settings in app/Tygh/Session.php on line 257
[28-May-2020 08:55:08 UTC] PHP Warning:  session_decode(): Failed to decode session object. Session has been destroyed in app/Tygh/Web/Session.php on line 653
[28-May-2020 08:55:08 UTC] PHP Notice:  Undefined index: settings in app/Tygh/Session.php on line 257
[28-May-2020 08:55:08 UTC] PHP Fatal error:  Allowed memory size of 5368709120 bytes exhausted (tried to allocate 12288 bytes) in app/Tygh/Backend/Database/Mysqli.php on line 91
 
Does anyone have the same problem ? 
 
Thank you for your time. 

Banners Addon Tpl Hooks

25 June 2019 - 02:50 PM

Does anyone have successfully used the TPL hooks from banners addons ?

 

I am trying to use the banners:general_content hook that exists inside (design/backend/templates/addons/banners/views/banners/update.tpl) but without any luck.

 

I have tried to place the hook inside

design/backend/templates/my_changes/hooks/banners/general_content.tpl but it returns a blank page …  - No errors in logs

 

I have successfully created a PHP hook for get_banner_data function but template hooks refuses to work .

 

Any idea ?