e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
321 stars 213 forks source link

Update Manager - Fatal Error - Admin dashboard white page #2389

Closed lonalore closed 7 years ago

lonalore commented 7 years ago

After I logged in to my website, I got a white page instead of Admin Dashboard.

error.log

[Tue Feb 07 09:17:15.331839 2017] [fcgid:warn] [pid 29457] [client 188.142.226.249:59084] mod_fcgid: stderr: PHP Fatal error:  SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://e107.org/service?wsdl' : failed to load external entity "http://e107.org/service?wsdl", referer: https://demo.lonalore.hu/e107v2/
[Tue Feb 07 09:17:15.331895 2017] [fcgid:warn] [pid 29457] [client 188.142.226.249:59084] mod_fcgid: stderr:  in /var/www/clients/client3/web70/web/e107v2/e107_handlers/e_marketplace.php on line 570, referer: https://demo.lonalore.hu/e107v2/
[Tue Feb 07 09:17:15.331899 2017] [fcgid:warn] [pid 29457] [client 188.142.226.249:59084] mod_fcgid: stderr: PHP Fatal error:  Call to a member function __setSoapHeaders() on a non-object in /var/www/clients/client3/web70/web/e107v2/e107_handlers/e_marketplace.php on line 618, referer: https://demo.lonalore.hu/e107v2/

I do not think it is a good idea to check available updates when visiting dashboard. The best would be creating a cron job to do this (with email notification (optional)).

lonalore commented 7 years ago

A few minutes later it became available again. Maybe e107.org was down? In this case, what about websites use e107? All of them become unavailable because e107.org is down? :/

Moc commented 7 years ago

I noticed this issue earlier as well and discussed it with @CaMer0n. Ideally we need to improve the error handling, so it does not throw a fatal error.

CaMer0n commented 7 years ago

Normally this shouldn't occur again.