View Full Version : I need a restriction turned off.
coolsport23
09-23-2006, 06:22 PM
Is it really needed to restrict this ? "open_basedir restriction in effect" here I'm trying to install this mod for my forums and I can't find out what the problem is
I get some help and they tell me my host is restricting this, and then tell me it's an unnecessary host restriction. Hopefully I can get this unrestricted so I may be able to use my forum to the fullest extent. There seems to be alot of restrictions with you here.
Tyler
09-23-2006, 08:53 PM
It is a VERY necessary restriction. If we turned that off then anyone on the server could access and change anyone elses files. Sorry, it cant be turned off.
What forum are you using?
It definatly not vBulletin or phpbb2 as I am using both of it and fell no problem.
coolsport23
09-24-2006, 03:10 AM
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../../../admin/mods/easymod/templates/step1b_ftp.tpl) is not within the allowed path(s): (/hosted/subs/ulmb.com/h/e/heros/public_html:/var/tmp/upload) in /hosted/subs/ulmb.com/h/e/heros/public_html/forum/admin/mods/easymod/easymod_display_functions.php on line 37
This is my error, and I need it allowed so I can install this mod for Phpbb2, the mod is called EasyMod used to install mods automaticly making it very easy to install mods.
Here is a link directly to it, you can look for yourself and test it, http://www.phpbb.com/phpBB/viewtopic.php?t=217673&highlight=easymod Would it be possible to allow it so I am allowed to install it then you can disallow it, not sure if it will work after, but atleast it'd be installed.
If not maybe we can work something out to where I can have it enabled. I don't see why people would mess with others files anyway, other hosts allow it, and you don't hear anything about people messing with others' files, so what is the problem here? I'm not seeing why it can't be allowed in situations like this. It makes it hard for some people that want to add mods to forums and stuff.
I am working with 4 free host and I am not able to install easymod for that problem. I think free host are never off the security. But if you wish I can install your board which will look like http://hypedownloads.ulmb.com
UnlimitedMB
09-24-2006, 03:23 PM
The problem is a bug in php restriction not resolving paths with ../../../ properly (i have reported it to them twice they dont seem to care), there is a work around by using realpath() to resolve the path before trying to use file_exists or other functions.
http://area51.phpbb.com/phpBB/viewtopic.php?f=19&t=25226
coolsport23
09-24-2006, 08:40 PM
Great, thanks for helpin out Eric,
~cool~
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.