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 > Member Error (SS2.2.2 + DailyBuild Modules)


Go to End


5 Posts   2386 Views

Avatar
AndyWiltshireNZ

Community Member, 35 Posts

2 June 2008 at 11:05am

Edited: 02/06/2008 11:08am

Hiya,

SilverStripe 2.2.2
Forum Module DailyBuild
Blog Module DailyBuild
Gallery Module DailyBuild

I am getting the following error when switch to the Security Tab and select a member. I never noticed it before, and I suspect its something to do with the forum?

FATAL ERROR: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/vhosts/bombr.net/httpdocs/..) is not within the allowed path(s): (/var/www/vhosts/bombr.net/httpdocs:/tmp)
At line 838 in /var/www/vhosts/bombr.net/httpdocs/sapphire/core/i18n.php

is_dir(/var/www/vhosts/bombr.net/httpdocs/..)
line 838 of i18n.php

i18n::get_existing_translations()
line 798 of Member.php

Member->getCMSFields()
line 104 of MemberTableField.php

MemberTableField->__construct(SecurityAdmin,Members,Group,,)
line 66 of SecurityAdmin.php

SecurityAdmin->getEditForm(1)
line 752 of LeftAndMain.php

LeftAndMain->EditForm()

call_user_func_array(Array,Array)
line 542 of ViewableData.php

ViewableData->cachedCall(EditForm,,)
line 583 of ViewableData.php

ViewableData->hasValue(EditForm)
line 7 of .cache.var.www.vhosts.bombr.net.httpdocs.cms.templates.Includes.SecurityAdmin_right.ss

include(/var/www/vhosts/bombr.net/httpdocs/silverstripe-cache/.cache.var.www.vhosts.bombr.net.httpdocs.cms.templates.Includes.SecurityAdmin_right.ss)
line 197 of SSViewer.php

SSViewer->process(SecurityAdmin)
line 763 of ViewableData.php

ViewableData->renderWith(Array)
line 368 of LeftAndMain.php

LeftAndMain->Right()

call_user_func_array(Array,Array)
line 404 of ViewableData.php

ViewableData->XML_val(Right,,1)
line 100 of .cache.var.www.vhosts.bombr.net.httpdocs.cms.templates.LeftAndMain.ss

include(/var/www/vhosts/bombr.net/httpdocs/silverstripe-cache/.cache.var.www.vhosts.bombr.net.httpdocs.cms.templates.LeftAndMain.ss)
line 197 of SSViewer.php

SSViewer->process(SecurityAdmin)
line 296 of Controller.php

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

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

Director::direct(admin/security/)
line 158 of main.php
Context

Avatar
Willr

Forum Moderator, 5523 Posts

2 June 2008 at 9:03pm

your host have enabled Safe Mode in the php.ini - there has been a bit of Work to make SS safe mode compatible but maybe something in the forum is causing that? Doess it work without the modules, can you target it down to 1 module? or it is still an issue running with just the core ?

Avatar
AndyWiltshireNZ

Community Member, 35 Posts

3 June 2008 at 11:43am

PHP safe mode is off. Is there a way to disable modules without actually removing them?

Avatar
Ingo

Forum Moderator, 801 Posts

5 June 2008 at 9:48am

module management is still pretty much in its infancy - you should be able to disable a module by putting an (empty) _manifest_exclude file in the root of the module folder (which prevents it from being parsed by ManifestBuilder)

Avatar
AndyWiltshireNZ

Community Member, 35 Posts

5 June 2008 at 12:34pm

Thanks for the tip.