![]() |
It will be great if someone could give me instructions for installing the PM hack to vB 1.1.5. Actually I'm upgrading and the only part that doesn't work is member.php
Any help will be appreciated Thanks |
The reason is probably because they changed the file to use the addslashes() function when submitting the user info. If you search for the first part of the string i.e. $DB_site->query("UPDATE user
Then you should be able to find it. If that doesn't help list the specific line you are having trouble with. |
Actually the problem is not with finding the line. Should I add the addslashes() function to the PM values?
I think the problem is here but since I don't know php, I can't fix it. Code:
$DB_site->query("INSERT INTO user (userid,username,password,email,parentemail,coppauser,homepage,icq,aim,yahoo,biography,signature,adminemail,showemail,invisible,usertitle,joindate,canpost,cookieuser,daysprune,lastvisit,lastactivity,usergroupid,timezoneoffset,emailnotification,receivepm,emailonpm) VALUES (NULL,'".addslashes($username)."','".addslashes($password)."','".addslashes($email)."','".addslashes($parentemail)."',$coppauser,'".addslashes($homepage)."','".addslashes($icq)."','".addslashes($aim)."','".addslashes($yahoo)."','".addslashes($biography)."','".addslashes($signature)."',".addslashes($adminemail).",".addslashes($showemail).",".addslashes($invisible).",'".addslashes($usertitle)."',".time().",1,".addslashes($cookieuser).",".addslashes($prunedays).",".time().",".time().",".addslashes($newusergroupid).",".addslashes($timezoneoffset).",".addslashes($emailnotification)."),".addslashes($receivepm).",".addslashes($emailonpm).""); Code:
Database error in vBulletin: Invalid SQL: INSERT INTO user (userid,username,password,email,parentemail,coppauser,homepage,icq,aim,yahoo,biography,signature,adminemail,showemail,invisible,usertitle,joindate,canpost,cookieuser,daysprune,lastvisit,lastactivity,usergroupid,timezoneoffset,emailnotification,receivepm,emailonpm) VALUES (NULL,'deneme','pff','dostluk2000@hotmail.com','',0,'http://','','','','','',1,1,0,'Newbie',978764903,1,1,-1,978764903,978764903,3,0,1),1,0 |
Add in side the parentheses.
|
All times are GMT. The time now is 07:08 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|