/admin returns 500 Internal Server Error #63
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: aheathershaw/blue-twilight#63
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
LNT00:
At some point /admin stopped working and returns 500 Internal Server Error.
/admin/albums is working correctly.
I see the same issue on the dev site, /admin is working, but /admin/albums is not working.
Both /admin and /admin/albums are working fine for me on the dev site.
Is there anything helpful logged in your log file - in blue-twilight/storage/logs (date stamped)?
Also do you see a screen that says "500 Internal Server Error" or do you see a white screen with a red bar that says "an error occurred"?
LNT00:
I only see 500 Internal Server Error, and the same on dev.
I have a lot of issue in logs.
Still, nothing logged for the 500 error.
LNT00:
I found this in root/error_log:
[02-Oct-2017 15:35:02 America/New_York] PHP Warning: system() has been disabled for security reasons in /public/update.php on line 98
and from public/error_log:
[02-Oct-2017 20:35:03 Europe/London] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 142
I'm really struggling to see what's wrong here. I can access /admin/albums just fine on the dev site - and there are no errors logged for today at all. The last message was logged around 30 hours ago.
Is there something in particular you're doing that's triggering the error? Can you walk me through the steps you're taking?
Also it would be helpful to turn off Internet Explorer's "friendly errors" as this may be hiding the actual error.
LNT00:
No idea really why that is happening. And what is strange is that it also happening on your dev, where i didn't make any changes.
I tried /admin/users (direct link) and this also works, so it's strange why /admin is not working
It's not browser dependent, i tried on Firefox and Chrome also. 500 is not a browser specific error, but still...
Later edit:
I've upgraded to version 2.1.0 and no changes. I also installed a clean version and i don't have this issue there. Probably something related to my hosting, or domain settings, although i checked and didn't find anything strange.
LNT00:
I opened a ticket at my hosting company and they seem to have fixed the problem, /admin is now working. So it's not an app issue, rather a hosting issue. It was clear since /admin/albums was working.
I think this can be closed.
Ok great. 500 is definitely a server side issue but I would have been really interested to see the actual error page as it was returned from the server.
Unfortunately Internet Explorer display its own “friendly” error page which isn’t much help, that’s why I’d asked you to turn off friendly error messages so I could try and work out what it was.
I couldn’t see any 500 errors in my dev logs so have no idea what was happening!
Migrated from https://github.com/andysh-uk/blue-twilight/issues/63
FYI, I believe #84 resolves this - I came across a similar issue when logged in as a non-admin user account. It has been resolved in v2.1.2.