Symphony 2.5.1: "500 Internal Server Error"
This is an open discussion with 4 replies, filed under Troubleshooting.
Search
Internal error 500 is sometime due to htacces things.
I got an host where I can use the following rule in the htaccess:
Options +FollowSymlinks -Indexes
Removing that line or comment it with ### will maybe fix your errors.
The newer .htaccess file from 2.5.1 had
Options +SymLinksIfOwnerMatch -Indexes
I tried with this line, with the previous version line and without any. Same result.
Manifest-Log does not record any of the 500-Errors and unfortunately I cannot access the server logs.
Throw:
ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(-1);
In the top of your index.php
file briefly. This will give you the output of the error message instead of a white page.
Ok thank you brendo, that helped me to track it down and I had to smile :)
I was using new PHP-Array Syntax which is not PHP 5.3 compatible...
$array = array( "foo" => "bar", "bar" => "foo", ); // as of PHP 5.4 $array = [ "foo" => "bar", "bar" => "foo", ];
Thats the price when you deal with like 5+ languages at same time...
Anyway, fixed it. thank you
Create an account or sign in to comment.
I have trouble getting Symphony to run on my hosted server.
Server Response is "500 Internal Server Error" on most pages.
Setup: Symphony 2.5.1, PHP 5.3.23, MySQL 5.1.68.
Some public pages can be accessed, like Maintenance :) and naked pages which dont have anything attached.
Backend runs partly: All Sections work, Pages-Index works, but Error 500 when creating/editing pages. Data sources & Events Errors.
Symphony 2.4 works still great on same server. I'm sure it's some PHP-Compatibility with 2.5.1 and PHP 5.3.23
Any ideas?