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

nice message if php4

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • Future
    • 4.0.0alpha2
    • Install, Misc
    • None

    Description

      The nice version error message doesn't work if php version is < 5.0.
      The user se instead:

      Parse error: syntax error, unexpected ',', expecting '(' in /srv/web/dan/ezp4.example.com/httpdocs/index.php on line 122

      Here is a simple workaround. May be there are cleaner way to achieve
      this. Others files could require this, for example webdaw.php.

      Attachments

        1. 11722_trunk.patch
          7 kB
        2. index.php
          40 kB
        3. nice_php4_error.patch
          79 kB

        Activity

          People

            unknown unknown
            ezors ezors
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: