PDA

View Full Version : DB Error if import thread


MrD
06-13-2010, 11:33 AM
Hi,
i Test the new Import Feature and a DB Error is come.
UPDATE thread SET
pt_issueid = 177
pt_forwardmode = 0,
WHERE threadid = 147753;

MySQL-Fehler : 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 'pt_forwardmode = 0,
WHERE threadid = 147753' at line 3

PitchouneN64ngc
06-13-2010, 01:58 PM
Confirmed and will be fixed for next build.

Open the file /includes/class_ptimporter.php at line 517, and replace:

pt_issueid = $issueid

With this line:

pt_issueid = $issueid,

MrD
06-13-2010, 04:32 PM
Thx

Andrew Pearson
07-02-2010, 06:29 PM
A life saver cheers for the fix.