Hi
I'm getting the following errors in my log since upgrading to Mysql 5.7:
Database Error: Out of range value for column 'HITS' at row 1Apply
Filter: Only show the errors from this file File: /home/brokenwiener/public_html/forums/Sources/LoadAds.php
Line: 298
Forum displays this at the bottom:
Out of range value for column 'HITS' at row 1
File: /home/brokenwiener/public_html/forums/Sources/LoadAds.php
Line: 298
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.15, while your database is at version 2.0.4. The above error might possibly go away if you execute the latest version of upgrade.php.
Error 298 refers to:
Version Information:
Forum version: SMF 2.0.15 (more detailed)
Current SMF version: SMF 2.0.15
GD version: bundled (2.1.0 compatible)
Database Server: MySQL
MySQL version: 5.7.25-log
PHP: 5.6.40
Server version: Apache/2.4.39 (cPanel) OpenSSL/1.0.2r mod_bwlimited/1.4
Any ideas how to clear this?
I'm getting the following errors in my log since upgrading to Mysql 5.7:
Database Error: Out of range value for column 'HITS' at row 1Apply
Filter: Only show the errors from this file File: /home/brokenwiener/public_html/forums/Sources/LoadAds.php
Line: 298
Forum displays this at the bottom:
Out of range value for column 'HITS' at row 1
File: /home/brokenwiener/public_html/forums/Sources/LoadAds.php
Line: 298
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.15, while your database is at version 2.0.4. The above error might possibly go away if you execute the latest version of upgrade.php.
Error 298 refers to:
Code Select
$smcFunc['db_query']('',"UPDATE {db_prefix}ads SET hits = hits+1 WHERE ADS_ID = $id"); in LoadAds.phpVersion Information:
Forum version: SMF 2.0.15 (more detailed)
Current SMF version: SMF 2.0.15
GD version: bundled (2.1.0 compatible)
Database Server: MySQL
MySQL version: 5.7.25-log
PHP: 5.6.40
Server version: Apache/2.4.39 (cPanel) OpenSSL/1.0.2r mod_bwlimited/1.4
Any ideas how to clear this?


