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

Error-Message in Security-Module after fresh install


Reply


2 Posts   1448 Views

Avatar
SilverDay

Community Member, 6 Posts

26 May 2008 at 5:46am

Edited: 26/05/2008 6:52am

I just installed the latest build of Silverstripe (2.2.2) and get the following error-message when I click on a group-name in the left colum (eg. administrators):
.
Fatal error: Access to undeclared static property: ViewableData::$db in /var/www/web8/html/sapphire/core/Object.php(324) : eval()'d code on line 1
.
I have changed nothing in the files! This message comes after a fresh installation. The installation file said everything was fine (no problems indicated). Can anybody help?
.
I should add that my server is running PHP 5.1.2

Avatar
SilverDay

Community Member, 6 Posts

26 May 2008 at 8:16pm

I just updated my server to PHP 5.2.6 and now it works fine. Maybe you should make it a system requirement to have PHP > 5.2 and have the installer output a warning.

Regards

SilverDay