PHPMyAdmin is not working after all yum updates and cwppro update

Started by trcosta, January 18, 2020, 03:12:20 AM

Previous topic - Next topic

trcosta

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

Martins-phpbb

Is your version check on cwp  main page also not working ? my phpmyadmin is also down too.

dbfmindia


trcosta

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.

kamello

woow!! I wasted so much time with this! I re installed lots of times thinking I did something wrong on the config. I tryed to found somethin about and nothing until today.
Was strange that the cert doesnt be generate for the www. I'm so piss off now and also relief because I'm not the only one.

I'm gonna stay alert for news and fixes about this. Must work with any config we have on our webservers.

Tanks!

studio4host

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.

davidjo

Doesn't work; the phpMyadmin link in the user panel, redirect to a blank page

view imagen


Sandeep