15.08.2015, 15:01
Hi my friends, how to fix: (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(ban_timestamp + (ban_time * 60), 'unixepoch')) as banExpired, strftime('%d-%m-%' at line 1
what is the problem? Before banning player
Then after banning player:
11:36:22 CMySQLQuery::Execute ERROR (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(ban_timestamp + (ban_time * 60), 'unixepoch')) as banExpired, strftime('%d-%m-%' at line 1
11:36:22 cache_get_row_count WARNING no active cache
11:36:29 CMySQLQuery::Execute ERROR (error #2006) MySQL server has gone away
11:36:45 CMySQLQuery::Execute ERROR (error #1305) FUNCTION ojk.strftime does not exist
what is the problem? Before banning player
Then after banning player:
11:36:22 CMySQLQuery::Execute ERROR (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(ban_timestamp + (ban_time * 60), 'unixepoch')) as banExpired, strftime('%d-%m-%' at line 1
11:36:22 cache_get_row_count WARNING no active cache
11:36:29 CMySQLQuery::Execute ERROR (error #2006) MySQL server has gone away
11:36:45 CMySQLQuery::Execute ERROR (error #1305) FUNCTION ojk.strftime does not exist