Author Topic: web panel not loading information  (Read 6317 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
web panel not loading information
« on: December 03, 2020, 08:22:40 AM »
Hi,

I am unable to get any information in the user web panel. The main page loads but none of the menu options such as listing email accounts or domains works. It just shows the loading circle. Also the filemanager opens but does not show any folders/files in the right or middle columns.

 tail -f /usr/local/cwpsrv/logs/error_log gives the following indication:

Quote
2020/12/03 10:10:46 [error] 22387#0: *2242 FastCGI sent in stderr: "PHP message: PHP Warning:  scandir(): open_basedir restriction in effect. File(/usr/local/cwpsrv/var/services/user_files/modules/) is not within the allowed path(s): (/home/testdomainco:/tmp:/usr/local/cwpsrv/var/services/users:/usr/local/cwpsrv/var/services/twig/:) in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning:  scandir(/usr/local/cwpsrv/var/services/user_files/modules/): failed to open dir: Operation not permitted in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning:  scandir(): (errno 1): Operation not permitted in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning:  in_array() expects parameter 2 to be array, boolean given in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning:  main(): open_basedir restriction in effect. File(/usr/local/cwpsrv/var/services/user_files/modules/preferences/index.php) is not within the allowed path(s): (/home/testdomainco:/tmp:/usr/local/cwpsrv/var/services/users:/usr/local/cwpsrv/var/services/twig/:) in /usr/local/cwpsrv/var/services/users/index.php on line 0

I do not have open_basedir enabled in my global php.ini or any user directory.

I have a couple of domains on the server and the problem is the same for all of them.

Using the admin panel I am able to accomplish all tasks with no errors, only with web panel.

Any assistance will be appreciated

Offline
*
Re: web panel not loading information
« Reply #1 on: December 03, 2020, 07:33:54 PM »
fist check your mysql by running mysql command as root from the shell and if you don't see any issues then rebuild users config
sh /scripts/cwpsrv_rebuild_user_conf
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: web panel not loading information
« Reply #2 on: December 05, 2020, 10:49:21 AM »
Hi,

Thanks for the assist! Your suggestion worked!

solution:

I run as root: sh /scripts/cwpsrv_rebuild_user_conf

Offline
*
Re: web panel not loading information
« Reply #3 on: November 07, 2021, 08:45:08 AM »
Thanks you very much! :)