Control Web Panel

WebPanel => Installation => Topic started by: nerewein on January 07, 2020, 02:47:57 PM

Title: how to reinstall root_cwp or cwp system default database ?
Post by: nerewein on January 07, 2020, 02:47:57 PM
how to reinstall root_cwp or cwp system default database ?

my server mysql got error few day ago (cannot updatecwp,connect/repair/backup database) and cannot view to cwp panel after login
so i was reinstall the mysql/mariadb, now site/server is work now
but the ori database all is missing, so i recreate 'root_cwp' and 'postfix' database by root user in phpmyadmin
but the system was not auto recrate all table inside the database.

control panel show error 
Quote
mysqli_error() expects exactly 1 parameter, 0 given in <b>/usr/local/cwpsrv/htdocs/resources/admin/include/functions.php</b> on line <b>0</b>
<b>Warning</b>:  mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in <b>/usr/local/cwpsrv/htdocs/resources/admin/include/functions.php</b> o
Title: Re: how to reinstall root_cwp or cwp system default database ?
Post by: Igor S. on January 09, 2020, 07:52:21 PM
Try to restore the database from /backup/mysql/ if the backup was enabled.