Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot log into backend in PHP 7.0 #2869
I recently upgraded my (shared) webspace at HostEurope from PHP 5.6 to PHP 7.0.
For some reason, I can no longer log into my site. When I enter my user name and password, the page gets reloaded but nothing happens, not even an error message gets thrown.
This happened first in Symphony 2.6.X, then I upgraded to the latest version (2.7.7) because I thought that would solve it. But it didn't.
I've already cleared all my browser cashes and cookies and tried various browsers, but to no avail.
I've also tried PHP 7.1 and 7.2 but that doesn't change anything.
I am running more than a dozen Symphony websites. This is the first one on PHP 7.
Can anybody help?
Affected Symphony version(s) : 2.6.X to 2.7.7
PHP 7.X support started with Symphony 2.7.X, so you won't be able to run Symphony 2.6.X on PHP 7.X.
Your scenario sounds like you only updated the Symphony core and not the extensions (as you couldn't access the backend after having already caused the backend crash after upgrading to PHP 7.X), so I guess you are using one ore more extensions that aren't compatible with PHP 7.X.
Your Host Europe PHP error logs should be able to tell you which extension(s) might cause trouble.
I also run lots of Symphony websites on Host Europe and sucessfully updated most of them to Symphony 2.7.7 + PHP 7.1, but this process involved carefully checking all extensions for PHP 7.X-support and replacing them (or updating them by myself) if they're outdated or no more supported.
If you're able to post a list of your installed extensions and their version numbers we might be able to give you some more useful hints which ones might cause problems…
Thanks for your support, guys!
Actually, the backend never crashed as you describe it. Everything works perfectly under PHP
I just double checked all my extensions as you recommended. They're all up to date.
The only errors I could find in Host Europe's error logs are these two:
So why can't I log into the Symphony backend? Any ideas?
> I just double checked all my extensions as you recommended. They're all up to date.
Thanks – looks like a pretty basic (and therefore rather unproblematic) setup.
> The only errors I could find in Host Europe's error logs are these two:
As Host Europe has separate error logs for each PHP-version… are these the errors shown in Host Europes error log for PHP 7.0? And they are the only ones?
If so this doesn't look like any of the extensions-compatibility-issues I faced while updating – and if it's not an extension that's not ready for PHP7 I have to admit that I have no idea what might cause your backend-login-troubles…
@timokleemann What about
Also, try to
If log in still does not work:
I just realized that there is no hidden field for any
(Since I run a number of other Symphony websites, I checked some of those too, and all of them do have an
The only relevant error I could find in
The others are probably not relevant:
And by the way:
I deleted all my cookies and all rows from the
Is is enabled in config.php ?
We have a fix for PHP 7.0 which is in 2.7.7. Did you make sure it is up to date ?
No, it wasn't enabled. I just enabled it and got the
I fixed it by applying the fix for PHP 7.0 which you mentioned.
(Sorry, but I was under the impression that it's already part of Symphony 2.7.7)
It's all fixed now. I am closing this. Thanks a lot for your help.