scriptygoddess

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.

1 Response to "open_basedir restriction in effect error on WordPress page"

1 | aequalsb

June 18th, 2009 at 11:47 am

Avatar

That is an error that occurs when whatever user php runs as (on my server it's apache) does not have the proper permission to perform the requested operation

Featured Sponsors

Genesis Framework for WordPress

Advertise Here


  • Scott: Just moved changed the site URL as WP's installed in a subfolder. Cookie clearance worked for me. Thanks!
  • Stephen Lareau: Hi great blog thanks. Just thought I would add that it helps to put target = like this:1-800-555-1212 and
  • Cord Blomquist: Jennifer, you may want to check out tp2wp.com, a new service my company just launched that converts TypePad and Movable Type export files into WordPre

About


Advertisements