Who this may apply to: Users of WordPress for iOS who keep getting a “Failed” error message when trying to upload photos and/or videos.
Sometimes, we really just overthink and over complicate the obvious. You’ll see why I’m saying this in a little bit.
What exactly happened: I was trying to update my Matt Fowler’s Snaps page, which seems like a simple task. No matter what picture I chose, what time of day, or how hard I held my thumbs — the dang thing just kept saying “Failed”. It would sometimes even crash the app.
So I took the issue to Google, as most of us do these days, and found this solution:
Add these lines of code to your root .htaccess file:
php_value memory_limit 128M
php_value upload_max_filesize 128M
php_value post_max_size 128M
php_value max_execution_time 120
Seemed simple enough. Did that. Didn’t work. Removed that line of code immediately — because obviously that’s not the issue!
I thought and thought and thought. What on earth could be causing this? They used to upload just fine! Wait a minute… LIGHTBULB! I just recently upgraded my iPhone, and restored it from an iCloud back up.
Went into the account settings for the site and reentered my site password. Lo and behold they are uploading again. I cannot believe I let such a small oversight get the best of me.
Who does this solution really apply to? Users who recently restored their iPhone from an iCloud Backup (though I imagine the same would apply to an iTunes backup) and just thought Apple’s iCloud was sophisticated enough to keep this small tidbit of information within the WordPress App.
Then again, maybe this problem falls on the WordPress App developers.
Regardless, I hope either solution helps out someone.