Apologies if this has been posted before, I'm just logging it quickly for others before I go off to work:
error received (PHP 5.4)
PHP Code:
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2604203801 bytes) in /includes/classes/class.CeonURIMappingHREFLinkBuilder.php on line 378
if the following isn't the appropriate fix then it certainly appears to do the trick.
Taken from this thread
https://www.zen-cart.com/showthread....xhausted/page6 as per Lat9 and DrByte on a similar issue:
find includes/classes/class.CeonURIMappingHREFLinkBuilder.php approx 376 replace
PHP Code:
// Add the session ID when moving from different HTTP and HTTPS servers, or when SID is defined
if ($add_session_id == true && $session_started == true && SESSION_FORCE_COOKIE_USE == 'False') {
if (defined('SID') && zen_not_null(SID)) {
$sid = SID;
with
PHP Code:
// Add the session ID when moving from different HTTP and HTTPS servers, or when SID is defined
if ($add_session_id == true && $session_started == true && SESSION_FORCE_COOKIE_USE == 'False') {
if (defined('SID') && zen_not_null(constant('SID'))) {
$sid = constant('SID');
Bookmarks