Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: Painkiller88 on March 09, 2021, 11:54:06 AM

Title: PHPMyAdmin not working from Userpanel
Post by: Painkiller88 on March 09, 2021, 11:54:06 AM
I recorgnized that the PhpMyAdmin isn't working from inside the user Panel if you don't open the CWP Admin Panel Port on your Router/Firewall

As the Link in the User Panel is the same like in the Admin Panel, it is only working if i open Admin Panel Port in Router/Firewall.

But for Security Reasons i don't wanna open the Admin Panel through the internet, so i just allow User Panel access, but PMA isn't working then.


Is there any workaround or already a fix for this?

Thanks
Title: Re: PHPMyAdmin not working from Userpanel
Post by: Painkiller88 on March 12, 2021, 03:04:57 PM
Push
Title: Re: PHPMyAdmin not working from Userpanel
Post by: studio4host on March 12, 2021, 09:24:17 PM
you would probably need to use a custom link than for phpmyadmin  and enter login details on the prompt as autologin and pma by  default works from port 2087/2031
Title: Re: PHPMyAdmin not working from Userpanel
Post by: Painkiller88 on March 13, 2021, 08:12:21 AM
Thanks for the reply.

How can i configure this for the Users Panel?

Thanks
Title: Re: PHPMyAdmin not working from Userpanel
Post by: Painkiller88 on March 16, 2021, 08:07:23 AM
you would probably need to use a custom link than for phpmyadmin  and enter login details on the prompt as autologin and pma by  default works from port 2087/2031

Any Idea how i can do this?
Title: Re: PHPMyAdmin not working from Userpanel
Post by: studio4host on March 16, 2021, 10:03:50 AM
domain.com/phpMyAdmin

or
/myadmin
/MyAdmin
/phpmyadmin
/phpMyAdmin

domain redirects are specifed in the apache conf
/usr/local/apache/conf.d/domain-redirects.conf
Title: Re: PHPMyAdmin not working from Userpanel
Post by: DeveloperMcD on March 31, 2021, 05:34:02 PM
phpMyAdmin TOTALLY DISAPPEARED FOR ME about the same time this thread was created.

https://192.168.1.20:2031/pma/

Now gives a

404 Not Found
cwpsrv

Error.

phpMyAdmin was working FINE before. Did some update break it?

What logs can I look at, where can I check for the phpMyAdmin software, and how can I manually install or update it, so it comes back?

Please advise.

Title: Re: PHPMyAdmin not working from Userpanel
Post by: Painkiller88 on April 01, 2021, 07:18:29 AM
I am not on my System now, but i think in the scripts folder there is a script to reinstall phpmyadmin if i can remember.

maybe check this and if there is one, execute it
Title: Re: PHPMyAdmin not working from Userpanel
Post by: DeveloperMcD on April 01, 2021, 02:04:05 PM
Where is the scripts folder?
Title: Re: PHPMyAdmin not working from Userpanel
Post by: josemnunez on April 02, 2021, 03:34:57 PM
you can try running
Code: [Select]
sh / scripts/update_cwp
and this should solve your problem
Title: Re: PHPMyAdmin not working from Userpanel
Post by: DeveloperMcD on April 09, 2021, 06:51:22 PM
That solution used to lock up for a couple weeks.

I tried it again today, and it worked. It did solve the problem. So the problem fixed itself. Original problem itself is a mystery.