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

Support archive

Low Reorder broken for non-"Super Admin" members

sccottt 11 Nov 2012 22:15 problem, complete

The Low Reorder module page shows a blank white page for members who are not Super Admins.

I've created a "Content Editor" member group, which pretty much has the same privileges as a Super Admin. When I login as a Content Editor, the Low Variables page comes up as a completely blank page. I don't notice any other problems with this member group (can access all other module pages, edit content, etc).

Any ideas on what's going on?

Replies

  1. Low 12 Nov 2012 07:19

    Scott, have you set the permissions for that member group?

    sccottt 12 Nov 2012 17:41

    Yeah, I've tried setting the permissions to each of the three settings for both of my sets, and it doesn't seem to make a difference.

  2. Low 12 Nov 2012 21:40

    Hi Scott,

    Can you post a screenshot of what you're seeing as a non-superAdmin? Thanks.

  3. sccottt 13 Nov 2012 01:05

    Pulls up a totally blank page.

  4. Low 13 Nov 2012 09:00

    What are your versions for Low Reorder, ExpressionEngine and PHP?

    White screen usually implies an error that is suppressed by PHP, so could you try and enable debugging, either by looking at the PHP error log, or setting $debug = 1; in your /system/index.php file. Then see if you can see an error being generated.

  5. sccottt 13 Nov 2012 20:55

    I'm using
    - Low Reorder 2.1.0
    - ExpressionEngine 2.5.2
    - PHP Version 5.2.17

    When I turned on debug, I get the following error when trying to access the Low Reorder page as a non-Super Admin:

     
    Fatal error: Cannot use object of type stdClass as array in /(...)/admin/expressionengine/third_party/low_reorder/models/low_reorder_set_model.php on line 170


    Thanks!

  6. Low 13 Nov 2012 21:03

    Bug found.

    Open up mcp.low_reorder.php and go to line #88. Then change this:

    json_decode($set['permissions'])


    to this:

    json_decode($set['permissions'], TRUE)


    ...which should solve the issue. The fix will be added to the next version.

  7. sccottt 13 Nov 2012 21:23

    Success! Thank you for the great support! Much appreciated.

  8. Low 20 Nov 2012 20:22

    Hi James,

    Can you see an error message, either in the PHP error logs or by setting the $debug var to 1, as mentions here? Also, what's your PHP version?

  9. James 20 Nov 2012 20:27

    I had edited the wrong file -- sorry for the trouble!

  10. mikeamcbrien 28 Nov 2012 15:59

    Thanks for posting this... I ran into the same issue and its resolved.