We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I face an SQL error while mod attaques is inserting data in archives.
mod attaques
INSERT INTO ogspy_attaques_archives ( `archives_id` , `archives_user_id` , `archives_nb_attaques` , `archives_date` , `archives_metal` , `archives_cristal` , `archives_deut` , `archives_pertes`, `archives_recy_metal`, `archives_recy_cristal` ) VALUES ( NULL , '1', '25', '1572562800', '19284524', '8940102', '3151360' , '0', '', '' )
with the following error :
Incorrect integer value: '' for column `ogspy`.`ogspy_attaques_archives`.`archives_recy_metal` at row 1
I suspect bad default values for the tables and incorrect 0 values in the query.
Inserting manually the data from mariaDB console with 0 values instead of '' does not solve the problem.
''
Here is the full error from administration
[0] => /app/mod/attaques/index.php fonction => require_once ligne => 69 file => /app/index.php [3] [0] => /app/mod/attaques/attaques.php fonction => include ligne => 99 file => /app/mod/attaques/index.php [2] ) NULL , '1', '25', '1572562800', '19284524', '8940102', '3151360' , '0', '', '' VALUES ( [0] => INSERT INTO ogspy_attaques_archives ( `archives_id` , `archives_user_id` , `archives_nb_attaques` , `archives_date` , `archives_metal` , `archives_cristal` , `archives_deut` , `archives_pertes`, `archives_recy_metal`, `archives_recy_cristal` ) fonction => sql_query ligne => 68 file => /app/mod/attaques/attaques.php [1] ) NULL , '1', '25', '1572562800', '19284524', '8940102', '3151360' , '0', '', '' VALUES ( [0] => INSERT INTO ogspy_attaques_archives ( `archives_id` , `archives_user_id` , `archives_nb_attaques` , `archives_date` , `archives_metal` , `archives_cristal` , `archives_deut` , `archives_pertes`, `archives_recy_metal`, `archives_recy_cristal` ) fonction => DieSQLError ligne => 138 file => /app/includes/mysql.php [0] ) - Erreur n°1366 Incorrect integer value: '' for column `ogspy`.`ogspy_attaques_archives`.`archives_recy_metal` at row 1 NULL , '1', '25', '1572562800', '19284524', '8940102', '3151360' , '0', '', '' VALUES ( 02/12/2019 09:20:40 : Erreur critique mysql - Req : INSERT INTO ogspy_attaques_archives ( `archives_id` , `archives_user_id` , `archives_nb_attaques` , `archives_date` , `archives_metal` , `archives_cristal` , `archives_deut` , `archives_pertes`, `archives_recy_metal`, `archives_recy_cristal` )
The text was updated successfully, but these errors were encountered:
Thanks for the detailed report. I will have a look. 😉
Sorry, something went wrong.
darknoon29
No branches or pull requests
Hi,
I face an SQL error while
mod attaques
is inserting data in archives.with the following error :
I suspect bad default values for the tables and incorrect 0 values in the query.
Inserting manually the data from mariaDB console with 0 values instead of
''
does not solve the problem.Here is the full error from administration
The text was updated successfully, but these errors were encountered: