17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 3265 Views |
-
Security tab problem

11 July 2008 at 12:29am Last edited: 18 July 2008 1:11am
I need to set up some administrators however when I click on the Security tab i get this error
Fatal error: Access to undeclared static property: ViewableData::$db in /var/www/vhosts/xxxxxxxx.co.uk/httpdocs/sapphire/core/Object.php(324) : eval()'d code on line 1
I also get the same error for forum members and mailing lists within Security
The site is almost ready to go live and this is a big issue that i need to resolve soon - how can i fix it.
-
Re: Security tab problem

12 July 2008 at 1:45am
I am seeing the same error. I tried a fresh install of SilerStripe 2.2.2 but the bug is persistant. Is there any specific requirements on the server side to run the security section. I am using an Ubuntu server.
Need more details in server? Any ideas on what's wrong? Thanks. -
Re: Security tab problem

12 July 2008 at 2:44am
I did two things.
First I increased the memory_limit in /etc/php5/php.ini from 20M to 32M. This was recommended by the Silverstripe install page.
This did not make the Security tab in my 2.2.2 site work.
Then I installed Silverstripe 2.0.2 sr2 the same way, on the same server.
The security tab in 2.0.2 works fine now.A bit closer..
-
Re: Security tab problem

13 July 2008 at 8:35am Last edited: 13 July 2008 8:36am
Seem to be discussing this with myself
)
Just like to add; the bug(?) is also affecting the possibility to produce Reports.
I am receiving this on a blank page:Fatal error: Class 'Report_StatsReport' not found in /var/www/mysite/cms/code/ReportAdmin.php on line 70
So two problems that perhaps are related.
-
Re: Security tab problem

14 July 2008 at 4:04pm
This bug only affects PHP 5.1.2. Would it be possible to upgrade PHP to 5.2.x?
-
Re: Security tab problem

19 July 2008 at 10:37pm Last edited: 19 July 2008 10:39pm
Hmmm...I am also getting the following error when I try to access the Reports tab. I am running php 5.2.0-8+etch11 (on Debian) and a new install of SilverStripe 2.2.2. However, my security tab works just fine. Just some more fuel for the fire.
"Fatal error: Class 'Report_StatsReport' not found in /var/www/silverstripe-v2.2.2/cms/code/ReportAdmin.php on line 70"
Later...
Richard -
Re: Security tab problem

19 July 2008 at 10:47pm
OK, it looks like this problem is fixed in another forum thread (http://www.silverstripe.com/website-authors-forum/flat/81305). It appears as if the ecommerce module has that class commented out and un-commenting it seems to fix the problem.
Later...
Richard -
Re: Security tab problem

1 August 2008 at 7:31am
I'm also getting this error:
/var/www/vhosts/domain.co.uk/httpdocs/sapphire/core/Object.php(324) : eval()'d code on line 1
The php version is 5.1.2, I'm on a VPS and my hosts are unable to upgrade to 5.2.*, something to do with a conflict with the plesk control panel.
I'm I able to get Silverstripe working with php 5.1.2?
| 3265 Views | ||
|
Page:
1
|
Go to Top |




