Author Topic: PHPMyAdmin is not working after all yum updates and cwppro update  (Read 600 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hi.
I am using CWP Pro.
Today I updated all yum packages and ran update script to update my CWP.

When I login to user account and click on phpMyAdmin on dashboard the page stays blank showing nothing and in logs there are some errors:

2020/01/18 00:11:05 [error] 6255#0: *623 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/roplast:/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/roplast:/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:  main(/usr/local/cwpsrv/var/services/user_files/modules/preferences/index.php): failed to open stream: Operation not permitted in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning:  Missing argument 1 for PreferencesHandler::__construct(), called in /usr/local/cwpsrv/var/services/users/index.php on line 0 and defined in /usr/local/cwpsrv/var/services/user_files/modules/preferences/index.php on line 0
PHP message: PHP Notice:  Undefined variable: curl in /usr/local/cwpsrv/var/services/user_files/modules/preferences/index.php on line 0
PHP message: PHP Notice:  Undefined index: view_band_graph in /usr/local/cwpsrv/var/services/user_files/modules/preferences/index.php on line 0
PHP message: PHP Fatal error:  Uncaught Twig_Error_Loader: Unable to find template "/js/modules/pma.js.twig

Offline
*
Re: PHPMyAdmin is not working after all yum updates and cwppro update
« Reply #1 on: January 18, 2020, 03:20:37 AM »
Is your version check on cwp  main page also not working ? my phpmyadmin is also down too.

Offline
*
Re: PHPMyAdmin is not working after all yum updates and cwppro update
« Reply #2 on: January 18, 2020, 05:39:48 AM »
please fix these issues. Clients are shouting at us.


Offline
*
Re: PHPMyAdmin is not working after all yum updates and cwppro update
« Reply #3 on: February 20, 2020, 03:07:42 AM »
the error persist even after updates. I updated yum manager all linux packages and updated cwp to the latest version.
in newly fresh installations this error does not happens.