All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

PHP5.3, early parsing and &$SESS

Jamie Pittock 20 Feb 2010 17:22 problem, complete

Hey Low, as mentioned on email earlier, early parsing doesn't seem to be working on my local machine running PHP5.3. I've tried it on a remote server running PHP5.2 and all works as expected.

I've traced it down to line 194 of ext.low_variables.php.

If I remove &$SESS everything works as it should do on both PHP5.3 and PHP5.2.x

Replies

  1. Low 21 Feb 2010 13:53

    Hey Jamie,

    I've finally managed to get PHP5.3.0 running next to PHP5.2.x, so I can try to debug this properly, now.

    But still I'm having trouble reproducing this behaviour. What other extensions are installed?

    Also, can you try the following: Enable PHP on Input in a template and add this code:

    <?php
    global $IN, $SESS;
    print_r($IN->global_vars);
    print_r($SESS->cache);
    ?>


    ...and then send me the output.

    Thanks!

  2. Low 22 Feb 2010 21:47

    I'm also thinking it might have something to do with this bug. What's the EE build number you're having the issue with?

  3. Low 22 Feb 2010 22:00

    And now I'm sure it's related to this bug, as I've been able to reproduce it. Updating EE (or at least core.extensions.php) to the latest build will solve the issue.

  4. Jamie Pittock 23 Feb 2010 08:46

    Thanks mate. I'll check this tonight.

  5. Jim P 9 Jan 2012 15:15

    Hey guys!

    I'm just moving a 1.6.8 site to a new server running 5.3.3 and came into this issue. I fixed it by uploading the core.extensions.php file from 1.6.9 into my 1.6.8 build.

    Hoping that this isn't going to break something else on the site - fingers crossed!

    Jim