Wrong upload dir??
-
Hey, I installed wordpress on a test host and then moved it on to a live host, now I can’t upload images.
I know what the problem is just don’t know how to fix it, here is an example error it gives
[quote]Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/[b]USER1[/b]/public_html/test/wp-content/uploads/2008/09) is not within the allowed path(s): (/home/[b]USER2[/b]:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/[b]USER2[/b]/public_html/blog/wp-includes/functions.php on line 1435[/quote]
Some how it has remembered the old username/dir and is trying to use it to upload the image (USER1)However USER2 is the new username and dir. Somewhere I think wordpress stores/remembers the home dir but I don’t know where, I’ve looked in the DB but no luck
Anyone have any ideas?
The topic ‘Wrong upload dir??’ is closed to new replies.