10 Jun, 2009
open_basedir restriction in effect error on WordPress page
Posted by: Jennifer In: WordPress: Lessons Learned
This is the second time I've run into this problem. I opted not to post about it the first time, because the solution was so simple it was kind of silly. But lo-and-behold – I hit it again and forgot what the solution was anyway.
I know there can be more than one thing that causes that "open_basedir restriction in effect" error – but in my case it was because:
1) I was moving a wordpress site to another location (usually a subdomain of a live site so I could set it up as a "test area")
2) In the settings page, I had specified a different path for uploads (this is done on the "miscellaneous" settings page). This directory was actually OUTSIDE of the wordpress directory, which means I had to use the full server path to point to my custom uploads directory…
So I copied over the files to the test area, copied the database to the test database, changed the domain to the test domain using this method. But if you've specified a path for uploads on that miscellaneous page – you'll need to log in once everything is all set up and change the path there too to the new one pointed at the new location.
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.
scriptygoddess

