Quote:
Originally Posted by lierduh
The single quote in the message ID is the cause of the problem. Message ID should not contain quotes charactor. You can either bypass this message by editing the lastmsg in the control panel, or do the following:
Around line 338 find:
(post.msgid = '$par_msgid') AND
Change it to:
(post.msgid = '" . addslashes($par_msgid) . "') AND
|
Thanks.
Made the change, but now I'm getting this error:
Code:
Getting message number 300622:
'Re: When did "oriental" become a bad word?' from nttran@webtv.net. Thread found by References.
Getting message number 300623:
'Re: Japanese loves American fashion.' from Charley Brown and Almighty Snoopy. Thread found by References.
Getting message number 300624:
'Re: Ref: Hiroshima and Nagasaki Justified?' from Mike1. Thread found by References.
<html><head><title>asiansINC.com Database Error</title><style type="text/css"><!--.error { font: 11px tahoma, verdana, arial, sans-serif; }--></style></head>
<body></table></td></tr></table></form>
<blockquote><p class="error"> </p><p class="error"><b>There seems to have been a slight problem with the asiansINC.com database.</b><br />
Please try again by pressing the <a href="javascript:window.location=window.location;">refresh</a> button in your browser.</p><p class="error">An E-Mail has been dispatched to our <a href="mailto:">Technical Staff</a>, who you can also contact if the problem persists.</p><p class="error">We apologise for any inconvenience.</p><form><textarea class="error" rows="15" cols="100" wrap="off">Database error in vBulletin 3.0.1:
Invalid SQL: INSERT INTO post
(postid, threadid, title, username, userid, dateline,
pagetext, allowsmilie, showsignature, ipaddress, iconid,
visible, isusenetpost, msgid, ref, parentid)
VALUES (NULL, 33342,
'Re: Ref: Hiroshima and Nagasaki Justified?',
'Mike1', 0,
'1087752217',
'(alfred montestruc) wrote:
>....societies have....
Ambiguous-Collective fallacy. (It\'s a popular one.)
Lemme help ya: http://home.mn.rr.com/meadowbrookhome/z/FALLACYS.HTM
No charge.
--
Reply to mike1@@@usfamily.net sans two @@, or your reply won\'t reach me.
Anarchy: The political manifestation of Liberty.
Capitalism: The economic manifestation of Liberty.
\"An election is nothing more than an advance auction of stolen goods.\"
-- Ambrose Bierce, \"The Devil\'s Dictionary\"
\"Democracy: Nine Nazis and one Jew voting in the 1932 German elections.\"
', 1, 0,
'For-Gilly\'s-benefit@usfamily.net', 0, 1, 1,
'<For-Gilly's-benefit-AE567C.01160607042004@phswest.com>',
'<5dda60h3nm2n3as4k80kemmaaf6pb2v8kh@4ax.com> <c2c06a17.0403311712.1ded4c6c@posting.google.com> <ht9p60p9o42esuufj2mqghisklr4os2q21@4ax.com> <c2c06a17.0404031725.609a165a@posting.google.com> <hstu60htq5qcemv309jel8f9neu9g10v64@4ax.com> <c2c06a17.0404041024.7a514d28@posting.google.com> <For-Tom_Cerco's-benefit-A772E2.23264904042004@phswest.com> <c2c06a17.0404050502.26a4556f@posting.google.com> <For-Tom_Cerco's-benefit-358608.22421205042004@phswest.com> <c2c06a17.0404061456.69a8fa88@posting.google.com>',
0 + 0)
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 's-benefit-AE567C.01160607042004@phswest.com>',
'<5dda60h3n
mysql error number: 1064
Date: Sunday 20th of June 2004 12:23:37 PM
Script: http://forums.asiansinc.com/gateway.php
Referer:
Username: Webmaster
IP Address: **.**.**.***
</textarea></form></blockquote>
</body></html>