Using EE v2.4.0, EngineHosting, and a development subdomain (dev.mysite.com).
Both admin.php and index.php are exhibiting the following issue:
Most of the time, the first attempt to visit a page (i.e. Login), results in a 500 error - Internal Server Error. But simply clicking the browser reload icon usually results in getting an unstyled version of the desired page. Sometimes, a styled version is served, but things are missing.
For example, in admin.php, I might get a styled home page, but the menu is non-functional. Hovering over, say, Add-Ons shows “Go to # on this page”, so nothing happens. Other times, the menu will work fine. Continued clicking of the reload icon generally toggles between the 500 error, an unstyled page, or a semi-styled page as described above. Once in a while, I get a completely good page.
In the case of the unstyled or semi-styled pages, View Source shows a completely valid set of html, including correct links to CSS, images, etc., so that tells me all the html generation must be correct. So what is causing this?
Thanks,—Jim