Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

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

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


Reply


6 Posts   3211 Views

Avatar
yitter

Community Member, 10 Posts

10 February 2008 at 9:49am

Edited: 12/02/2008 5:40am

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

Avatar
yitter

Community Member, 10 Posts

12 February 2008 at 5:50am

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?

Avatar
yitter

Community Member, 10 Posts

19 February 2008 at 3:38am

Edited: 19/02/2008 11:12am

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

Avatar
MattKenefick

Community Member, 13 Posts

3 September 2008 at 2:24pm

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!

Avatar
CriaturaCreativaStudio

Community Member, 73 Posts

18 September 2008 at 4:33pm

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

Avatar
Hamish

Community Member, 712 Posts

19 September 2008 at 8:08am

Edited: 19/09/2008 8:15am

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

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

EDIT: [url]http://open.silverstripe.com/ticket/2820[/url]