Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: timworx on December 08, 2014, 04:25:04 AM

Title: New webpanel users not being added to DB, causing problems.
Post by: timworx on December 08, 2014, 04:25:04 AM
On a fresh install with the only modification being updated mysql (following another thread on here.)

Everything starts up and works fine, however, CWP is running into issues connecting to mysql when you add a user. As a result, it can't actually be used to host any domains.

It is adding the user every else - vhost, passwd, account/public_html - it just isn't adding it in the database. As a result, no addon domains can be used, which is very important for me.

The error I'm getting when I add an account:

Code: [Select]
Reloading DNS zones
rndc: 'reload' failed: failure
MySQL server has gone away
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php(1) : eval()'d code(1) : eval()'d code on line 4

Warning: mysql_free_result() expects parameter 1 to be resource, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php(1) : eval()'d code(1) : eval()'d code on line 4
Title: Re: New webpanel users not being added to DB, causing problems.
Post by: Administrator on December 08, 2014, 12:47:10 PM
how did you update mysql and do you get any error on the mysql manager site ?
and what is your output of command "mysql --version"