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

Security > Member Error (SS2.2.2 + DailyBuild Modules)


Reply

5 Posts   1776 Views

Avatar
AndyWiltshireNZ

2 June 2008 at 11:05am (Last edited: 2 June 2008 11:08am), Community Member, 35 Posts

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

2 June 2008 at 9:03pm Forum Moderator, 5511 Posts

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

3 June 2008 at 11:43am Community Member, 35 Posts

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

Avatar
Ingo

5 June 2008 at 9:48am Forum Moderator, 801 Posts

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

5 June 2008 at 12:34pm Community Member, 35 Posts

Thanks for the tip.