Showing posts with label error. Show all posts
Showing posts with label error. Show all posts

Sunday, January 4, 2015

GoDaddy and WordPress Error - The Problem, The Work-a-round and The Fix

Friday evening, I was hit by series of errors from WordPress.
When uploading images, I was confronted by these error messages:
“Unable to create directory wp-content/uploads/2015/01. Is its parent directory writable by the server?”
“The uploaded file could not be moved to wp-content/uploads/2015/01″
Obviously, my permissions were off, but I couldn't figure out where.
The quick and dirty work around was to log into GoDaddy's file management tool and create files and upload images via the tool. Back in WordPress, I needed to select a previously existing image and edit the code to match the files and directories I created in the previous step.
That is not optimal.
The correct answer is to correct the permissions on the server via the file management tool. I made several attempts, but it didn't seem to work:
After calling GoDaddy, I found where I was going wrong.
First and always, log out of WordPress. Second, the items Web Visible and Web Writable need to be ticked on the WordPress upload folder. The directory location is: /wp-content/uploads/. You likely don't have permission to edit the webroot directory, and you shouldn't give that much permission that high up.
In the image above they are not checked, because the Inherit tick disables those options. Untick it.
The other two become active. You can see the problem right away, the folder isn't Web Writable. Tick it.
Yesterday morning, I was not really happy with GoDaddy as the first tech via chat had the correct basic idea but didn't realize that "Inherit" tick disabled my visible/writable ticks. He added insult to injury by telling me he was having my permissions reset. He did not seem to know if this would fix the problem or enable my ability to fix the problem. His "solution" would take 30 minutes to four hours.
Obviously, nothing happened and I called support. These guys are much better. The next agent walked me through the exact same troubleshooting as before, this time informing me that the Inherit boxed disabled the other options. I was on hold longer than it took to fix the problem.
I am general happy with GoDaddy, but the tech I chatted with really didn't know what he was doing. He also didn't actually "reset my permissions" after promising. He also created a bunch of duplicate folders on my peice of their server and didn't delete them. I guess that is easily fixed, but I am annoyed.
The phone tech did every thing I needed, first time but I shouldn't have experienced this problem in the first place. I can't really fault the techs as someone else flipped the wrong switch on me and it certainly wasn't either of them.
At the end of the day, I can't really suggest chat as a support option.