Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: Jeffri2005 on October 13, 2017, 11:42:05 AM

Title: Fresh install cwp in centos 7, phpmyadmin error 404
Post by: Jeffri2005 on October 13, 2017, 11:42:05 AM
Hi I'm new using cwp in centos 7 after installing I wan to insert mysql database using phpmyadmin but error 404 not found n url for phpmyadmin is http://myipddress/pma have ready check in /usr/local/apache/htdocs no phpmyadmin folder.

How to fix this, plz help
Title: Re: Fresh install cwp in centos 7, phpmyadmin error 404
Post by: darkness on October 15, 2017, 02:55:28 AM
As CWP6/7 cannot be deinstalled you need to reinstall the whole OS. My advice is to run the installer again.
Code: [Select]
cd /usr/local/src
sh cwp-el7-latest
Let it finish and check again for pma. If it`s not working try like this:
Code: [Select]
cd /usr/local/cwpsrv/var/services
wget -q http://dl1.centos-webpanel.com/files/mysql/phpMyAdmin-4.6.6-all-languages.zip
unzip -o phpMyAdmin-4.6.6-all-languages.zip
mv phpMyAdmin-4.6.6-all-languages pma
rm -Rf phpMyAdmin-4.6.6-all-languages.zip pma/setup
mv /usr/local/cwpsrv/var/services/pma/config.sample.inc.php /usr/local/cwpsrv/var/services/pma/config.inc.php
ran_password=$(</dev/urandom tr -dc A-Za-z0-9 | head -c32)
sed -i "s|\['blowfish_secret'\] = ''|\['blowfish_secret'\] = '${ran_password}'|" /usr/local/cwpsrv/var/services/pma/config.inc.php
Please report if one of the ways is working.
Title: Re: Fresh install cwp in centos 7, phpmyadmin error 404
Post by: Jeffri2005 on October 18, 2017, 01:51:47 PM
Sorry about the late reply, I have successfully fix the problem with first way. Thanks very much
Title: Re: Fresh install cwp in centos 7, phpmyadmin error 404
Post by: par2cola on March 09, 2020, 08:52:53 AM
Hi,

I have a simular problem. My PMA folder is rename anydays.
In /usr/local/cwpsrv/var/services/ found  pma_04-03-2020.bak and need rename for pma manually.
Title: Re: Fresh install cwp in centos 7, phpmyadmin error 404
Post by: naza on August 03, 2020, 04:29:35 AM
Sorry about the late reply, I have successfully fix the problem with first way. Thanks very much
Hi, How to fix the problem. I have the same problem.