View Full Version : email password
monstergamer
06-06-2003, 07:04 PM
i keep having problems with the email the user thir password any body know how i can fix it
Boofo
06-06-2003, 07:17 PM
It kind of helps to know what problems you are having. ;)
monstergamer
06-06-2003, 08:14 PM
oh sorry
it give me a database error
Database error in vBulletin 2.3.0:
Invalid SQL: INSERT INTO useractivation VALUES (NULL,'1','1054922012','24406320',1)
mysql error: Column count doesn't match value count at row 1
mysql error number: 1136
Boofo
06-06-2003, 09:44 PM
Ok, now we need the query that that is coming from. You forgot to add something when you installed a hack in the value area.
monstergamer
06-07-2003, 12:41 AM
i install the newest ver.. of the lesser admin
and now the email password dont work
Boofo
06-07-2003, 01:08 AM
What did it tell you to add to that query? You forgot the second part of it.
monstergamer
06-07-2003, 01:14 AM
i dont know what query your talking about
this is all it gives me
Database error in vBulletin 2.3.0:
Invalid SQL: INSERT INTO useractivation VALUES (NULL,'1','1054948320','83693160',1)
mysql error: Column count doesn't match value count at row 1
mysql error number: 1136
Date: Friday 06th of June 2003 09:12:00 PM
Script: http://www.monstergamer.net/vb/vb/member.php
Referer: http://www.monstergamer.net/vb/member.php?action=lostpw
Boofo
06-07-2003, 02:24 AM
This is the query in an unhacked member.php file. What does yours look like in that file?
$DB_site->query("
INSERT INTO useractivation
(useractivationid, userid, dateline, activationid, type, usergroupid)
VALUES
(NULL, $user[userid], ".time().", '$user[activationid]', 1, $user[usergroupid])
");
filburt1
06-07-2003, 02:27 AM
It also sounds like a bad upgrade. Make sure you followed all of the upgrade steps correctly.
monstergamer
06-07-2003, 02:32 AM
what line is it close to
i dont have it
Boofo
06-07-2003, 02:34 AM
Look for this:
INSERT INTO useractivation
monstergamer
06-07-2003, 02:45 AM
i found it 2 times
then do what
Boofo
06-07-2003, 03:00 AM
Post that code here so I can see what the problem is.
monstergamer
06-07-2003, 03:04 AM
Database error in vBulletin 2.3.0:
Invalid SQL:
INSERT INTO useractivation
(useractivationid, userid, dateline, activationid, type, usergroupid)
VALUES
(NULL, 1, 1054954949, '10887819', 1, )
mysql error: You have an error in your SQL syntax near ')
' at line 5
mysql error number: 1064
Date: Friday 06th of June 2003 11:02:29 PM
Script: http://www.monstergamer.net/vb/vb/member.php
Referer: http://www.monstergamer.net/vb/member.php?action=lostpw
monstergamer
06-07-2003, 03:05 AM
this is what i had before i replaced it
$DB_site->query("INSERT INTO useractivation VALUES (NULL,'$user[userid]','".time()."','$user[activationid]',1)");
monstergamer
06-07-2003, 03:29 AM
i just replaced it with original
i did not lose but one hack
kept it just in case
so far every thing is working
thanx for helping
Boofo
06-07-2003, 03:30 AM
What did you replace it with?
06-06-03 at 10:14 PM monstergamer said this in Post #3 (https://vborg.vbsupport.ru/showthread.php?postid=405305#post405305)
oh sorry
it give me a database error
Database error in vBulletin 2.3.0:
Invalid SQL: INSERT INTO useractivation VALUES (NULL,'1','1054922012','24406320',1)
mysql error: Column count doesn't match value count at row 1
mysql error number: 1136
https://vborg.vbsupport.ru/showthread.php?postid=406108#post406108
monstergamer
06-08-2003, 06:38 PM
did not work for me
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.