[BlueOnyx:03425] Re: PHP allowed path

Ken Marcus - Precision Web Hosting, Inc kenlists at precisionweb.net
Fri Jan 22 20:18:57 -05 2010


----- Original Message ----- 
From: Richard C. Barker Sr.
>>
I seem to be having an issue with the allowed path on my BO server
does anybody have an idea how to fix?

PHP Warning:  file_exists() [<a 
href='function.file-exists'>function.file-exists</a>]: open_basedir 
restriction in effect. 
File(/home/sites/www.mydomain.com/web/files/Image/bassopens.jpg) is not 
within the allowed path(s): 
(/tmp:/var/lib/php/session:/home/.sites/148/site6/) in 
/home/.sites/148/site6/web/admin/upload.php on line 138, referer: 
http://www.mydomain.com/admin/index.php?pg=upload&action=dirlist&path=&folder=Image

Thanks RC
<<

Richard

Either add
/home/sites/www.mydomain.com/web
to your allowed paths

Or have your php script get it from
 /home/.sites/148/site6/web



----
Ken Marcus
Ecommerce Web Hosting by
Precision Web Hosting, Inc.
http://www.precisionweb.net






More information about the Blueonyx mailing list