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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Security pages blank


Go to End


3 Posts   1257 Views

Avatar
HansR

Community Member, 141 Posts

5 June 2008 at 3:29am

I've installed Silverstripe with a certain amount of effort. I had to add "php_flag zend.ze1_compatibility_mode Off" to the .htaccess file in order for it to get beyond "building database..." in the install process. Even after this, it complained that mod_rewrite wasn't working. Nevertheless, most of the site works.

One big issue is that clicking on items in the security page (e.g., Administrators) results in a blank page. I enabled dev mode and got the following message:
------------------------------------------------------------------------
ERROR:Error 512: None of these templates can be found: Security_getitem.ss, Security.ss
At l74 in /sapphire/core/SSViewer.php
user_error(None of these templates can be found:Security_getitem.ss, Security.ss,512) line 74 of SSViewer.php

SSViewer->__construct(Array)
line 329 of Controller.php

Controller->getViewer(getitem)
line 296 of Controller.php

Controller->defaultAction(getitem,Array)
line 267 of Controller.php

Controller->run(Array)
line 104 of Director.php

Director::direct(/security/getitem)
line 158 of main.php
------------------------------------------------------------------------

Any ideas as to why? Those template files don't exist, and my impression is that they're not supposed to exist.

Just in case they're related, I also have these problems:
- Under "files & images", clicking on "uploads" (or the upload tab) brings up a 404 error
- The widgets tab for a blog page will let me drag a new widget, but it's settings doesn't show and saving won't add the widget to the page. The next time that I go to edit the blog page, the widget that I dragged earlier does not appear in the installed list.

Hans

Avatar
HansR

Community Member, 141 Posts

6 June 2008 at 11:04am

I've compared the php settings (via phpinfo()) from my webhost with a home server that did work successfully, and the only difference of note was that the problematic server has allow_url_fopen set to off. Does Silverstripe need this functionality?

I still haven't managed to find a solution.

Hans

Avatar
HansR

Community Member, 141 Posts

11 June 2008 at 12:05am

Problem solved, see here.

Hans