I’m not new to WordPress, PHP or MySQL, but I’m having a nightmare problem.
I’ve moved my blog onto a dedicated Linux server. The transfer of the blog is fine. Everything is configured and working perfectly.
However, when writing a post, trying to upload an image gives the error, “The uploaded file could not be moved to .”.
Obviously the first thing I thought of was the folder permissions. All 755. Setting them to 777 DOES allow uploads to work, but for security reasons I am unhappy with such a workaround.
I have been into the SQL and altered all instances of the absolute directory paths set by my previous server. I have verified PHP safe mode is off. There are no unusual settings in .htaccess.
I’m am absolutely baffled as to what is causing this and of course how to fix it. I’m not prepared to use 777 as a solution for obvious security reasons. Could anyone shed any light on this issue?
Since the 777 workaround does work, I am assuming that the problem lies within folder permissions somehow, though unrelated to standard CHMOD using FTP (or the server’s control panel, which I have also tried).
Any help or suggestions welcome, even simple ones as I may have just overlooked something in the hectic mess that is server migration!
- The topic ‘Advanced problem – image upload’ is closed to new replies.