liquidcross
Forum Replies Created
-
Makes sense. Thanks very much for your help! Hopefully this was all it was. 🙂
Thanks! What’s an “expired transient”? Please forgive my ignorance.
The 500 error is back, as of version 5.7.1 of the plugin. It knocked my site offline a few days after updating, and here’s what my webhost tech support told me:
Looking at the error log in your control panel, it's full of errors similar to the following: [Mon Nov 28 08:02:31 2016] [alert] [client xxx.xxx.xxx.xxx] /hsphere/local/home/username/blog.user.com/.htaccess: RewriteRule: cannot compile regular expression '^wp-content/uploads/.*\\.(?:php[1-7]?|pht|phtml?|phps)$'\n The line it's talking about is 447 in the .htaccess for your site. That's not a line we typically expect to see in a WordPress blog, meaning it's likely something that was added by a plugin; the phrasing around it looks like it's a security plugin of some sort. We commented it out by addin a # to the start of the line, After doing so, it took a very long time for the site to load the first time (we're guessing it was running some kind of maintenance that had been blocked since the site was down, as the site spawned literally hundreds of PHP processes when I tried to load it the first time), but appears to have settled down since.Is there any way I can fix this short of disabling the plugin?
- This reply was modified 9 years, 5 months ago by liquidcross.
Thanks! Editing the file and then disabling the Disable PHP in Uploads function restored access to the site. I assume re-enabling it will break things again, until the bug in the plugin in fixed?
I can’t get that far. My entire site is inaccessible behind that 500 error.
I just edited that file, and yeah, I’m still getting the same 500 error. 🙁
FWIW, I tried replacing the code as shown above in the new file class-itsec-wordpress-tweaks.php, but it had no effect.
Just updated the plugin to version 5.4.2, and the site is broken again. 500 Int Server Error, and the file I used to edit (class-itsec-tweaks-admin.php) no longer exists. Please help!
Yes indeed. Thank you again for all of your help. Hopefully iThemes will create a permanent fix in the next version.
Success! I implemented your fix, and now “Disable PHP in Uploads” works correctly. Thanks so much! I’ve reported the bug to iThemes, along with the Hackrepair problem.
I just tried editing class-itsec-tweaks.php…and there’s no $rewrites line anywhere in the file.
Yeah, I’m going to talk to my webhost about upgrading, but I think it’s unlikely. 🙁
Gotcha. And I assume there’s no permanent fix unless my webhost updates their Apache installation?
Thanks, I’ll give it a try soon.
One question: if and when iThemes updates to their next version, wouldn’t this fix be overwritten?
According to my webhost, it’s Apache 1.3.41-1.