Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: pixelpadre on April 05, 2019, 07:16:51 PM

Title: White screen admin login
Post by: pixelpadre on April 05, 2019, 07:16:51 PM
 I can not login to admin.  I get a white screen and 500 error.

I ran update and got this

encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired

can I simply copy cron.php from my other install to fix the problem?

http://myip gives me the standard http test page.  All websites work normal.

Ver 98.740


Title: Re: White screen admin login
Post by: pixelpadre on April 05, 2019, 11:14:21 PM
Error Log

2019/04/05 19:06:31 [error] 28384#0: *64094 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/login/index.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 67.232.198.71, server: localhost, request: "GET /login/index.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "198.58.126.135:2030"

Title: Re: White screen admin login
Post by: pixelpadre on April 05, 2019, 11:44:51 PM
I managed to change server time and ran update.  Update started by time out.

PHP Warning:  file_get_contents(http://centos-webpanel.com/webpanel/versions/el7.txt): failed to open stream: Connection timed out in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Notice:  Undefined offset:1 in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning:  file_get_contents(http://...@gmail.com&version=0.9.8.750&u=1&d=9&s=0): failed to open stream: Connection timed out in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
Title: Re: White screen admin login
Post by: pixelpadre on April 06, 2019, 01:23:55 AM
Last successful update according to logs was 12-12--2018 /var/spool/mail/root