Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20519

Community Project 2012.08 does not run on PHP 5.2.*

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 2012.8
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Ubuntu 8.04

      Description

      Community Project 2012.08 does not run on PHP 5.2.* because kernel uses "\" namespace character from PHP 5.3.* and anonymous functions.
      But on page http://share.ez.no/downloads/downloads/ez-publish-community-project-2012.8 is said it should run.

      • autload.php uses _DIR_ constant from PHP 5.3.
        Can be fixed with:

      if ( !defined( '_DIR_' ) )
      {
      define( '_DIR', dirname( __FILE_ ) );
      }

      • Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /var/www/ezpublish-4.7.0-cp-2012.08/kernel/private/classes/ezpkernel.php on line 60
      • Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /var/www/ezpublish-4.7.0-cp-2012.08/kernel/private/interfaces/ezpkernelhandler.php on line 33
      • Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /var/www/ezpublish-4.7.0-cp-2012.08/kernel/private/classes/ezpkernelweb.php on line 179

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            akozeka Alex Kozeka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: