Quote:
Originally Posted by panda1
Rik,
Invalid SQL:
UPDATE nntp_settings
SET value = WHERE varname = 'last_postid';
MySQL Error : 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 'WHERE varname = 'last_postid'' at line 2
Error Number : 1064
Date : Wednesday, April 18th 2007 @ 04:59:06 PM
Script : http://forums.networkingland.com/adm...cron&cronid=19
Referrer : http://forums.networkingland.com/admincp/index.php
IP Address : 212.35.77.232
Username : admin
Classname : vB_Database
|
There are ' missing in the gateway.php code, change
Code:
SET value = " . ((empty($get_max_postid))?(0):
($get_max_postid['postid'])) . " WHERE varname = 'last_postid'
to
Code:
SET value = '" . ((empty($get_max_postid))?(0):
($get_max_postid['postid'])) . "' WHERE varname = 'last_postid'
That would fix the problem.