Author Topic: New webpanel users not being added to DB, causing problems.  (Read 7542 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
New webpanel users not being added to DB, causing problems.
« 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

Offline
*
Re: New webpanel users not being added to DB, causing problems.
« Reply #1 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"
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services