Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Getting a 500/Internal Server Error when trying to Show a Group in the Security Panel

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 3157 Views
  • yitter
    Avatar
    Community Member
    10 Posts

    Getting a 500/Internal Server Error when trying to Show a Group in the Security Panel Link to this post

    Hi,

    I need help with the following Problem: When I choose to show the Members of the "Administrators" or any other Group I get a blank JS Alert window and "Error loading Page". I also can't add new groups, when I add one it appears in the Database but not in the CMS.

    Basically the following Ajax Call produces a 500/Internal Server Error for every ID but "0":
    ../security/getitem?ID=1&ajax=1

    it does not happen on my local development server (PHP 5.2.5 / MySQL 5.0.51) just on the Webserver (PHP 5.2.5 / MySQL 5.0.41)...

    How can I track down the details of that Error? I don't have to much clue about Servers so any help is appreciated. Has anyone had similar problems?

    Please Help!
    Thanks

  • yitter
    Avatar
    Community Member
    10 Posts

    Re: Getting a 500/Internal Server Error when trying to Show a Group in the Security Panel Link to this post

    Ok, I got access to the logs, maybe someone can help me with further investigating:

    [11-Feb-2008 17:39:03] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Property db does not exist' in /Applications/MAMP/htdocs/www/sapphire/core/Object.php:318
    Stack trace:
    #0 /Applications/MAMP/htdocs/www/sapphire/core/Object.php(318): ReflectionClass->getProperty('db')
    #1 /Applications/MAMP/htdocs/www/sapphire/core/model/DataObject.php(1283): Object->uninherited('db', true)
    #2 /Applications/MAMP/htdocs/www/sapphire/core/model/DataObject.php(1128): DataObject->fieldExists('IdentityURL')
    #3 /Applications/MAMP/htdocs/www/sapphire/core/ViewableData.php(118): DataObject->setField('IdentityURL', NULL)
    #4 /Applications/MAMP/htdocs/www/sapphire/core/model/DataObject.php(444): ViewableData->__set('IdentityURL', NULL)
    #5 /Applications/MAMP/htdocs/www/sapphire/core/model/DataObject.php(97): DataObject->populateDefaults()
    #6 /Applications/MAMP/htdocs/www/sapphire/forms/TableField.php(622): DataObject->__construct()
    #7 /Applications/MAMP/htdocs/www/sapphire/forms/TableField.php(176): TableField_Item->__construct(NULL, Object(TableFiel in /Applications/MAMP/htdocs/www/sapphire/core/Object.php on line 318

    so does it try to find the $db static for a Member Group and can't find it or what?
    Any Ideas?

  • yitter
    Avatar
    Community Member
    10 Posts

    Re: Getting a 500/Internal Server Error when trying to Show a Group in the Security Panel Link to this post

    In case anyone cares or has the same problem: turning off Zend Accerlation fixes this.

  • MattKenefick
    Avatar
    Community Member
    13 Posts

    Re: Getting a 500/Internal Server Error when trying to Show a Group in the Security Panel Link to this post

    Very glad you posted this. I had the same problem and I would have never caught this.

    Is there anyway around this without turning of zA? That is indeed the problem with this error though... Strange!

  • CriaturaCreativaStudio
    Avatar
    Community Member
    73 Posts

    Re: Getting a 500/Internal Server Error when trying to Show a Group in the Security Panel Link to this post

    Hello!

    Seems like a have a similar problem on a site i've developed...
    the question is, how i turn zend acceleration off?

    Thanks in Advance

    Eduardo

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: Getting a 500/Internal Server Error when trying to Show a Group in the Security Panel Link to this post

    Instructions can be found here: http://www.webmasterworld.com/php/3003789.htm

    I'll raise a ticket if no one else has yet.

    EDIT: http://open.silverstripe.com/ticket/2820

    3157 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.