Jump to content

Back Office loads a blank page upon login.


Recommended Posts

I've done a fresh install of 1.7.7.3 with no errors. When I go to Back Office and enter the credentials it loads a blank page except for the Prestashop Logo, store name and copywrite info. The webserver is running PHP 7.4 (I've also tried 7.2 and 7.3) and MySQL version 5.7.28. I get the same result in multiple browsers and clearing the browser cache does nothing. 

Front Office loads normally. 

Any assistance offered is appreciated. 

 

Error: Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /Site path/src/Adapter/EntityMapper.php on line 99

Edited by DarrinKelly (see edit history)
Link to comment
Share on other sites

I would love to but in a new development the debug page no longer loads even though it's set to true. It goes right to the FO. All that was omitted from the error above was the path to the site which was correct. The rub is the path is a static IP address rather than a website name because I can't point DNS to it until the site is configured. The MySQL server is on a different server altogether so that path shouldn't be affected. 

I feel like I'm missing something really simple here but whatever it is, I haven't found it. The error leads me to believe it's a PHP problem but I've tried 7.2, 7.3 and 7.4 , with and without Fast CGI and I always got the same error.

I've reinstalled 3 times and confirmed each time that the file count was correct. Unfortunately I'm on a schedule so if I can't get something I can configure by the end of the weekend I'm going to have to move on to a different solution.

I do appreciate you taking the time to help!

Link to comment
Share on other sites

  • 2 weeks later...

Changed to PHP 7.2 with the same result. I'm going to delete the whole site and start over one more time. That should take any cache issues out of the equation. It seems like there should be an easy solution given that Back Office is the only thing affected. Anyway, I appreciate the suggestions. If I get this resolved I'll be sure to explain what fixed it.

Link to comment
Share on other sites

I have done a fresh installation of 1.7.7.3. I'm currently running PHP 7.2 as recommended. I manually set debug to true in defines.inc.php. Debug still doesn't work and BO still loads a blank page after login. BO error in the browser is Failed to load resource: the server http://173.236.180.140/admin8337xqj5n/index.php?rand=1619967399205 responded with a status of 500 (Internal Server Error). 

I have no idea where to go from here. As always, I appreciate the suggestions.

Link to comment
Share on other sites

1 hour ago, DarrinKelly said:

I have no idea where to go from here

There seems to be more wrong than just the admin page. i.e xxx 236.180.140/prices-drop produces a 404.

How does the URL in the database look? The IP or already the domain name, the domain name has propagated?

 

Link to comment
Share on other sites

The domain name is live on another server so I can't use it yet. I'm setting it up using a static IP which I can edit when I'm ready to update DNS. The IP shows correctly in ps_configuration. I load a sample page when I go to 173.236.180.140/prices-drop.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...