Author Topic: CWP admin login to white blank page  (Read 25004 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CWP admin login to white blank page
« on: August 30, 2019, 12:46:12 PM »
https://my-ip:2030/

When I enter, it opens a white blank page and also does not open web pages at all.

Offline
**
Re: CWP admin login to white blank page
« Reply #1 on: August 31, 2019, 10:13:34 PM »
check logs from /usr/local/cwpsrv/logs/error_log

Offline
*****
Re: CWP admin login to white blank page
« Reply #2 on: August 27, 2021, 10:21:16 PM »
I am now encountering this exact issue on one of my 3 CWP Pro servers. I can view the hosted websites, login to webmail and via SSH. But attempting to load the CWP Pro Admin panel only shows a blank white screen. Thus far I have been able to determine that the /scripts directory is full of empty files, so it is not possible to do a CWP update by that means:

Code: [Select]
ls -al /scripts/scripts
total 12
drwxr-x---  2 root root 4096 Aug 27 08:23 .
drwxr-x---. 3 root root 4096 Aug 27 08:23 ..
-rwxr-xr-x  1 root root    0 Aug 27 08:23 add_alert
-rwxr-xr-x  1 root root    0 Aug 27 08:23 apache_mpm_calculator
-rwxr-xr-x  1 root root    0 Aug 27 08:23 autossl_fix_tmp_path
-rwxr-xr-x  1 root root    0 Aug 27 08:23 autossl_generate_apache_conf
-rwxr-xr-x  1 root root    0 Aug 27 08:23 autossl_reload
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cgroups_blkio
-rwxr-xr-x  1 root root    0 Aug 27 08:23 check_api
-rwxr-xr-x  1 root root    0 Aug 27 08:23 check_postqueue
-rwxr-xr-x  1 root root    0 Aug 27 08:23 checkdb
-rwxr-xr-x  1 root root    0 Aug 27 08:23 chroot_remove
-rwxr-xr-x  1 root root    0 Aug 27 08:23 clamd_fix_100_cpu_usage
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cpanel_addhandlers
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cwp_api
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cwp_bruteforce_protection
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cwp_monitor
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cwp_set_memory_limit
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cwp_version
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cwpsecure_update_rules
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cwpsrv_rebuild_user_conf
-rwxr-xr-x  1 root root    0 Aug 27 08:23 disk_check
-rwxr-xr-x  1 root root    0 Aug 27 08:23 dns_sync_slave2
-rwxr-xr-x  1 root root    0 Aug 27 08:23 dso_handler_remove
-rwxr-xr-x  1 root root    0 Aug 27 08:23 el8_stream_convert_to_cwp_stable
-rwxr-xr-x  1 root root    0 Aug 27 08:23 generate_hostname_ssl
-rwxr-xr-x  1 root root    0 Aug 27 08:23 hostname_ssl_restart_services
-rwxr-xr-x  1 root root    0 Aug 27 08:23 image_rebuild_server_config
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_acme
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_api
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_cbpolicyd
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_imagick
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_net2ftp
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_netdata
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_pure-ftpd_tls
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_supportKey
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_terminal
-rwxr-xr-x  1 root root    0 Aug 27 08:23 list_subdomains
-rwxr-xr-x  1 root root    0 Aug 27 08:23 mysql_fix_myisam_tables
-rwxr-xr-x  1 root root    0 Aug 27 08:23 mysql_set_max_connections
-rwxr-xr-x  1 root root    0 Aug 27 08:23 mysql_show_max_connections
-rwxr-xr-x  1 root root    0 Aug 27 08:23 net_show_connections
-rwxr-xr-x  1 root root    0 Aug 27 08:23 open_basedir-suphp
-rwxr-xr-x  1 root root    0 Aug 27 08:23 php_big_file_upload
-rwxr-xr-x  1 root root    0 Aug 27 08:23 reload_cwpsrv
-rwxr-xr-x  1 root root    0 Aug 27 08:23 restart_cwpsrv
-rwxr-xr-x  1 root root    0 Aug 27 08:23 restart_httpd
-rwxr-xr-x  1 root root    0 Aug 27 08:23 security_is_my_server_hacked
-rwxr-xr-x  1 root root    0 Aug 27 08:23 softaculous_fix_update
-rwxr-xr-x  1 root root    0 Aug 27 08:23 stats_goaccess
-rwxr-xr-x  1 root root    0 Aug 27 08:23 system_info
-rwxr-xr-x  1 root root  0 Aug 27 08:23 update_cwp
-rwxr-xr-x  1 root root    0 Aug 27 08:23 upgrade_mysql
-rwxr-xr-x  1 root root    0 Aug 27 08:23 user_backup
-rwxr-xr-x  1 root root    0 Aug 27 08:23 varnish_clear_cache
-rwxr-xr-x  1 root root    0 Aug 27 08:23 whoowns
I SCP'd that directory over from another CWP server. However, seeing that the update_cwp script is calling a cron run of another script, then I noticed that this directory is also empty!
/usr/local/cwpsrv/htdocs/resources/admin/include/
So the CWP update run via cron will never complete because thie file it calls doesn't exist:
Code: [Select]
/usr/local/cwp/php71/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron.phpWhat is my best course of recovery? Is there a way to manually re-update CWP without having to start over from scratch?

Offline
*****
Re: CWP admin login to white blank page
« Reply #3 on: August 27, 2021, 10:46:23 PM »
So, now just like this other post:
https://forum.centos-webpanel.com/index.php?topic=7380.0
I am seeing the exact same error:

Code: [Select]
sh /scripts/update_cwp


====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
PHP Warning:  mysqli_connect(): (HY000/1045): Access denied for user 'postfix'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP Fatal error:  Uncaught Error: Call to undefined function mysql_countRows() in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php:0
Stack trace:
#0 {main}
  thrown in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0

Offline
*
Re: CWP admin login to white blank page
« Reply #4 on: February 04, 2022, 12:13:58 AM »
Hi.
I got the same error. The link above didn't help.

How did you fix it?

The admin page is blank.
When i try to update_cwp, got the same error of undefined function mysql_countRows()

Offline
****
Re: CWP admin login to white blank page
« Reply #5 on: February 05, 2022, 03:47:52 AM »
cd /usr/local/cwpsrv/htdocs

wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.1048.zip
unzip -o -q cwp-el7-0.9.8.1048.zip
rm -f cwp-el7-0.9.8.1048.zip
Google Hangouts:  rcschaff82@gmail.com

Offline
***
Re: CWP admin login to white blank page
« Reply #6 on: February 05, 2022, 11:15:28 AM »
cd /usr/local/cwpsrv/htdocs

wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.1048.zip
unzip -o -q cwp-el7-0.9.8.1048.zip
rm -f cwp-el7-0.9.8.1048.zip
why not cwp-el7-0.9.8.1127.zip ?

Offline
****
Re: CWP admin login to white blank page
« Reply #7 on: February 05, 2022, 07:14:06 PM »
Sure.  Use whatever the latest version available.  I wasn't going hunting for the latest version :)
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: CWP admin login to white blank page
« Reply #8 on: June 27, 2022, 02:38:26 AM »
I'm getting the same problem!
I have done with all guide above, but can't fix it.
Please help me check and fix!
Thank you in advanced,

Offline
*
Re: CWP admin login to white blank page
« Reply #9 on: November 23, 2022, 01:07:18 AM »
Just got hit with this issue got the ADMIN panel working but the user panel is still all white. Anyone find a good solution?

This did it: https://forum.centos-webpanel.com/index.php?topic=9136.msg32002#msg32002

-Dave
« Last Edit: November 23, 2022, 01:42:11 AM by DaveF »