Quote:
Originally Posted by Cybershaolin
If you say so.  Not a way to talk to people looking for help and without having your php knowledge anyway.  But, anyhow, I fixed it by modifying your hack!
In the module:
I changed this:
PHP Code:
$db->query_write("UPDATE thread SET description = '" . $db->escape_string(htmlspecialchars_uni($edit['description'])) . "' WHERE threadid = '" . $db->escape_string($threadinfo['threadid']) . "'");
for
PHP Code:
$db->query_write("UPDATE " . TABLE_PREFIX . "thread SET description = '" . $db->escape_string(htmlspecialchars_uni($edit['description'])) . "' WHERE threadid = '" . $db->escape_string($threadinfo['threadid']) . "'");
Now it works...
|
I had issues with the exact same error (running on vb3.6.5).
I tried your fix, and nothing happened. But the problem was that it was prefixing a period ('.') in front of the "thread" table, and thus it wasn't recognizing it in the database.
It would be nice to get it fixed.