JayC Well-Known Member Aug 8, 2013 5,505 1,401 Aug 15, 2013 #1 So users have made complaints that when they accept or decline a friend request they disconnect!
Ghost Legacy, it's all anyone leaves behind. Jun 8, 2012 1,640 503 Aug 15, 2013 #2 Truncate the messenger_friends table, any table with messenger_ Truncate that table. Upvote 0 Downvote
Cronus Cerberus Founder/Developer Jul 19, 2013 449 25 Aug 15, 2013 #3 I am using ubercms and I get this error soo help! Upvote 0 Downvote
Ghost Legacy, it's all anyone leaves behind. Jun 8, 2012 1,640 503 Aug 15, 2013 #4 WTML said: Truncate the messenger_friends table, any table with messenger_ Truncate that table. Click to expand... Transparent said: I am using ubercms and I get this error soo help! Click to expand... Upvote 0 Downvote
WTML said: Truncate the messenger_friends table, any table with messenger_ Truncate that table. Click to expand... Transparent said: I am using ubercms and I get this error soo help! Click to expand...
JayC Well-Known Member Aug 8, 2013 5,505 1,401 Aug 15, 2013 Thread starter #5 Yes Great Thanks WTML! It worked! Upvote 0 Downvote
Cronus Cerberus Founder/Developer Jul 19, 2013 449 25 Aug 15, 2013 #6 I did that but it will starting doing it again later. Upvote 0 Downvote
JayC Well-Known Member Aug 8, 2013 5,505 1,401 Aug 15, 2013 Thread starter #7 Yeah it did.. lmfao. I was just coming back to post it didn't work :l Any idea? Upvote 0 Downvote
St4nley Member Apr 13, 2013 469 76 Aug 15, 2013 #8 Ubercms2 Friend Request D/C Fix- MAKE SURE YOUR USERS TABLE IN DATABASE IS EMPTY! OR IT WILL NOT SAVE ~CREDITS TO Br4d if your not using Ubercms Just Skip To the database Part Find this in Class.users.php PHP: Code: dbquery("INSERT INTO users (username,password,mail,auth_ticket,rank,look,gend er,motto,credits,activity_points,last_online,accou nt_created,ip_reg) VALUES ('" . $username . "','" . $passwordHash . "','" . $email . "','','" . $rank . "','" . $figure . "','" . $sex . "','','500','1000','','" . date('d-M-Y') . "','". $_SERVER['REMOTE_ADDR'] . "')");$id = intval(mysql_result(dbquery("SELECT id FROM users WHERE username = '" . $username . "' ORDER BY id DESC LIMIT 1"), 0)) Replace it with Code: dbquery("INSERT INTO users (username,password,mail,auth_ticket,rank,look,gender,motto,credits,activity_points,last_online,account_created,ip_reg) VALUES ('" . $username . "','" . $passwordHash . "','" . $email . "','','" . $rank . "','" . $figure . "','" . $sex . "','','500','1000','', UNIX_TIMESTAMP() ,'" .$_SERVER['REMOTE_ADDR'] . "')"); $id = intval(mysql_result(dbquery("SELECT id FROM users WHERE username = '" . $username . "' ORDER BY id DESC LIMIT 1"), 0)); Then Run This Is your Database PHP: update users set last_online = UNIX_TIMESTAMP(); Then Right Click On Users Click Design Table Then Set this: to this : Upvote 0 Downvote
Ubercms2 Friend Request D/C Fix- MAKE SURE YOUR USERS TABLE IN DATABASE IS EMPTY! OR IT WILL NOT SAVE ~CREDITS TO Br4d if your not using Ubercms Just Skip To the database Part Find this in Class.users.php PHP: Code: dbquery("INSERT INTO users (username,password,mail,auth_ticket,rank,look,gend er,motto,credits,activity_points,last_online,accou nt_created,ip_reg) VALUES ('" . $username . "','" . $passwordHash . "','" . $email . "','','" . $rank . "','" . $figure . "','" . $sex . "','','500','1000','','" . date('d-M-Y') . "','". $_SERVER['REMOTE_ADDR'] . "')");$id = intval(mysql_result(dbquery("SELECT id FROM users WHERE username = '" . $username . "' ORDER BY id DESC LIMIT 1"), 0)) Replace it with Code: dbquery("INSERT INTO users (username,password,mail,auth_ticket,rank,look,gender,motto,credits,activity_points,last_online,account_created,ip_reg) VALUES ('" . $username . "','" . $passwordHash . "','" . $email . "','','" . $rank . "','" . $figure . "','" . $sex . "','','500','1000','', UNIX_TIMESTAMP() ,'" .$_SERVER['REMOTE_ADDR'] . "')"); $id = intval(mysql_result(dbquery("SELECT id FROM users WHERE username = '" . $username . "' ORDER BY id DESC LIMIT 1"), 0)); Then Run This Is your Database PHP: update users set last_online = UNIX_TIMESTAMP(); Then Right Click On Users Click Design Table Then Set this: to this :
JayC Well-Known Member Aug 8, 2013 5,505 1,401 Aug 15, 2013 Thread starter #9 Thanks! Hopes this works Upvote 0 Downvote