APPLICATION ERROR #401 when upgrading from 1.05 to 1.2.0
Posted: 11 Mar 2011, 03:48
Hi,
I am trying to upgarding from v1.05 to 1.2.0.
After ran query, I got error message as below.
APPLICATION ERROR #401
Database query failed. Error received from database was #1292: Incorrect datetime value: '1299814211' for column 'last_visit' at row 1 for the query: UPDATE mantis_user_table
SET last_visit= ?
WHERE id=?.
I am using win2003 std, php5.3.5, apache2.2.17 and mysql5.0.
I set timezone in config_inc.php
I changed my php.ini setting as http://www.mantisbt.org/bugs/view.php?id=11759. But it didn't work.
Also update mantis_user_table as UPDATE mantis_user_table SET last_visit= '2011-03-11 11:06:52' WHERE id='1'
as according to http://www.mantisbt.org/forums/viewtopi ... =3&t=10328. But no luck.
in core/user_api.php, line no# 1148, it showed as db_query_bound( $query, Array( $c_value, $c_user_id ) );
If you have any idea, please reply me. Thank you.
I am trying to upgarding from v1.05 to 1.2.0.
After ran query, I got error message as below.
APPLICATION ERROR #401
Database query failed. Error received from database was #1292: Incorrect datetime value: '1299814211' for column 'last_visit' at row 1 for the query: UPDATE mantis_user_table
SET last_visit= ?
WHERE id=?.
I am using win2003 std, php5.3.5, apache2.2.17 and mysql5.0.
I set timezone in config_inc.php
I changed my php.ini setting as http://www.mantisbt.org/bugs/view.php?id=11759. But it didn't work.
Also update mantis_user_table as UPDATE mantis_user_table SET last_visit= '2011-03-11 11:06:52' WHERE id='1'
as according to http://www.mantisbt.org/forums/viewtopi ... =3&t=10328. But no luck.
in core/user_api.php, line no# 1148, it showed as db_query_bound( $query, Array( $c_value, $c_user_id ) );
If you have any idea, please reply me. Thank you.