ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

PHP Errors when trying to post/edit other than as Super Admin

February 28, 2011 2:08pm

Subscribe [2]
  • #1 / Feb 28, 2011 2:08pm

    Liberty

    13 posts

    When any user with posting privileges other than the Super Admin attempts to post or edit a post, PHP errors pop up.

    I did attempt to search to see if this was a resolvable issue and I found this thread:
    http://ellislab.com/forums/viewthread/181563/

    As with the person who started that thread, yes, the channel has been assigned to the member group(s).  Posts are made/edited, but the errors persist.  In other words, the posts work, but the annoying errors still get blasted at users.

    This bug report/fix was listed in the previous thread:
    https://support.ellislab.com/bugs/detail/14902/

    This fix did not help me, as I am still getting the following errors:

    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined variable: assigned_channels
    
    Filename: cp/content_publish.php
    
    Line Number: 2123
    A PHP Error was encountered
    
    Severity: Warning
    
    Message: in_array() [function.in-array]: Wrong datatype for second argument
    
    Filename: cp/content_publish.php
    
    Line Number: 2123
    A PHP Error was encountered
    
    Severity: Warning
    
    Message: Cannot modify header information - headers already sent by (output started at /home/woppat/public_html/cherrycoke/codeigniter/system/core/Exceptions.php:170)
    
    Filename: core/Common.php
    
    Line Number: 405

    I’m also getting search errors… ah but that’s a different post.  I’m really, really hoping that as with yesterday’s insanity, this is just me forgetting to do something/set something up so it’ll be easily resolved.

  • #2 / Mar 01, 2011 3:33am

    John Henry Donovan

    12339 posts

    Liberty,

    What version and build of EE are you sing?
    If anything lower than EE2.1.3 then please upgrade

    Can you also show some of the surrounding code where you applied that fix please?
    Joust so we can see it in context

    It needs to be inside the _build_channel_select() function not above it

  • #3 / Mar 01, 2011 5:51am

    Liberty

    13 posts

    Version: 2.1.3 Build:  20101220

    Gotcha… I misread the “on top of” as *above* and not “instead of”.  Thank you, John.  (Yes, Sue, another one you can close with an awesome thumbs up to speedy support.)

    But really quick I need to be five-years-old.  *whine* WHYWHYWHY do I have to put fixes in?  I expect that of WP which I had to hack the $h** out of to get it to do what I want, but EE has always been a beautiful machine of amazing complexity - one which only pooped when *I* fed it bad, bad stuff!

    Alright.  < / tantrum >

    Thank you again for your help. 😊

  • #4 / Mar 01, 2011 3:39pm

    Ingmar

    29245 posts

    Glad to see you’re all set. Please don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases