Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default 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

  2. #2
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Plugin authors: Overrides of /includes/functions/html_output.php

    Good call making this more prominent, Lat9

  3. #3
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,586
    Plugin Contributions
    30

    Default 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')) ) { 
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

 

 

Similar Threads

  1. v152 Plugin authors: Check for use of mysql* functions for compatibility with v1.5.2
    By lat9 in forum Contribution-Writing Guidelines
    Replies: 7
    Last Post: 27 May 2014, 07:10 AM
  2. v151 admin/includes/functions/compatibility.php
    By makenoiz in forum Upgrading to 1.5.x
    Replies: 6
    Last Post: 11 Dec 2012, 11:53 PM
  3. Overriding functions/html_output.php
    By kokuryu in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Mar 2009, 08:02 PM
  4. /includes/functions/sessions.php on line 61
    By dustyservers in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 5 Dec 2006, 02:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR