Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: mishaal on October 25, 2022, 04:55:23 PM

Title: I have a problem Database error
Post by: mishaal on October 25, 2022, 04:55:23 PM



Database error
The database has encountered a problem.
Please try the following:
Load the page again by clicking the Refresh button in your web browser.
Open the www.sadanajd.com home page, then try to open another page.
Click the Back button to try another link.
If the problem persists, please notify www.sadanajd.com technical staff.
 
We apologise for any inconvenience.

Database error :
===================================
Invalid SQL:
UPDATE language SET
                isdefault = '0'
                WHERE languageid != '';
===================================
MySQL Error : Truncated incorrect DECIMAL value: ''
===================================

Title: Re: I have a problem Database error
Post by: cpanel_leaver on November 02, 2022, 03:29:32 AM
this is not CWP issue, this is Mysql issue. Check your database query in code. The error is saying what is wrong