I’ve got an EE2 (version 2.7.1) site running great on my laptop using MAMP, and am ready to launch it. Uploaded to my web host, and now ONE page is generating a 500 Server Error. To be clear, no such error occurs on my laptop.
In an attempt to isolate the problem, I’ve reduced the code to the point where the problem goes away… but in order to make the problem reappear, all I have to do is add most ANY line of VALID code, including:
<div class="foo">I’ve also been able to make this problem go away by changing this:
/images/foo.jpgto this:
<img class="bar" >Basically it seems like I’m on the threshold of some sort of server problem where any additional work causes the 500 Server Error. No specific line of code creates it, it’s just a cumulative problem with no single culprit. That said, this is one of the more demanding templates on the site.
I’ve been clearing all caches (EE, database, DNS), I’ve disabled throttling control, I’ve enabled every type of debugging option in PHP and EE that I can think of, but all I get for feedback is this 500 Server Error. I’ve also tried modifying my .htaccess file down to just the part that eliminates index.php from my EE URLs, and using a variety of alternative methods to do that, to no avail.
My thought would be that server resources are running out, but again, this site works elsewhere. Tech support at my web host has tried some things, but no change. They mostly end up googling and finding ExpressionEngine help pages that suggest clearing the cache.
Has anyone seen this problem? Suggestions?