Plugin authors: Overrides of /includes/functions/html_output.php
If you've authored a plugin that requires a core-file overwrite of /includes/functions/html_output.php or if your plugin references the built-in PHP SID variable, be sure to update your plugin's usage of the SID, as picandnix identified in this post: http://www.zen-cart.com/showthread.p...56#post1245756. Otherwise, users of your plugin running on later releases of PHP 5.4 will encounter the out-of-memory error!
See DrByte's code fix here: https://www.zen-cart.com/showthread....14#post1240514
Re: Plugin authors: Overrides of /includes/functions/html_output.php
Good call making this more prominent, Lat9 :cheers:
Re: Plugin authors: Overrides of /includes/functions/html_output.php
and what about this in the same file?
PHP Code:
if ( ($session_started == true) && defined('SID') && zen_not_null(SID) ) {
to
PHP Code:
if ( ($session_started == true) && defined('SID') && zen_not_null(constant('SID')) ) {