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.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

Error


Go to End


3 Posts   1949 Views

Avatar
jramirezgranada

Community Member, 2 Posts

26 August 2014 at 10:12am

Hi there;

I've copied my site to another account in the same sever.

I copied this folders:

assets
cms
googlesitemaps
jsparty
mysite
themes
sapphire

But when I tried to acces to de new site, I get this error:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/cocinamejor/public_html/.htaccess/_config.php) is not within the allowed path(s): (/home/cocinamejor:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/cocinamejor/public_html/sapphire/core/i18n.php on line 1739

I've verifed the open_basedir in php.ini and it's commented and the safe_mode is commented also.

url: http://cocinamejor.com

Thanks for the help

Avatar
Lexandclo

Community Member, 55 Posts

4 September 2014 at 10:50pm

HI
Did you fix this?

or do you still need help

Darren

Avatar
Sam

Administrator, 690 Posts

19 September 2014 at 12:21pm

It sounds like you have a directory called .htaccess instead of a file. This is wrong. You should have a .htaccess file on your original server that will also need copying.