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

/content/treemenu throws PHP notices with nginx-1.6.2

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2014.11
    • fedora 21
      nginx-1.6.2-4.fc21.x86_64
      php-5.6.6-1.fc21.x86_64 (php-fpm)
      ezversion 2014.11

    Description

      The same warning / problem with admin treemenu descripted in
      @see Ticket https://jira.ez.no/browse/EZP-22982

      The current version of ezsys.php not working for our setup with nginx and php-fpm on fedora 21.
      We get the warning descriped in EZP-22982

      >>

      With display_errors set to E_ALL and nginx, the content tree menu isn't shown in the backend (only the "Internal error" message).

      Calling the requested url directly (/content/treemenu/2/.... reveals a JSON encoded PHP notice:

      Warning: strpos(): Empty needle in /var/www/ezpublish/ezpublish_legacy/lib/ezutils/classes/ezsys.php line 1231"

      I modified this line in the ezSys class locally, by not only comparing to /{$index}, but also to $index directly and it worked again.
      >>>

      no json output ist produced for content tree menu in the backend.
      For us the first patch from Jérôme Vieilledent ist working
      if ( $phpSelf === $index || $phpSelf === "/{$index}" )
      @see https://github.com/ezsystems/ezpublish-legacy/commit/d75874b892a8fa2f79c14e581a7ab09b129ad65c

      Attachments

        Activity

          People

            Unassigned Unassigned
            4d91e976-d41f-487b-ae85-f7216bd06dac@accounts.ibexa.co Felix Woldt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: