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

/content/treemenu throws PHP notices with nginx

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jgamez Jérôme Gamez
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: