Jump to content

Need Help With SQL Error Badly


Rowan

Recommended Posts

Hey there,

I recently installed a mod to my phpBB forum. It was a Welcome PM Mod. After I had finished it I decided to test it out. So I made a Test-Member and once I had registered and then logged in I got this:

[code]Could not insert private message sent info!

DEBUG MODE

SQL 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 ' 228, 1142596635, '', 0, 1, 1, 1)' at line 2

INSERT INTO phpbb_sr_privmsgs (privmsgs_type, privmsgs_subject, privmsgs_from_userid, privmsgs_to_userid, privmsgs_date, privmsgs_ip, privmsgs_enable_html, privmsgs_enable_bbcode, privmsgs_enable_smilies, privmsgs_attach_sig) VALUES (1, '', , 228, 1142596635, '', 0, 1, 1, 1)

Line : 97
File : functions_wpm.php[/code]

Does anyone know how I fix this??? As I really need it done because I have had members rolling in on my forum the past few days and I dont want some registering, getting the error and disappearing :(

Thanks and all help is appreciated
Link to comment
Share on other sites

[!--quoteo(post=355916:date=Mar 17 2006, 01:17 PM:name=Rowan)--][div class=\'quotetop\']QUOTE(Rowan @ Mar 17 2006, 01:17 PM) [snapback]355916[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Sorry btw I just noticed theres an SQL Help section and this will prob come under that.. ill post it there :)
[/quote]

post your exact insert code ok.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.