MyBB Community Forums

Full Version: [F] "Reply to all" error [C-Chris]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
When using this function...its showing like below..

[Image: 35587543ft9.png]
When did this happen?? After an upgrade, fresh install, what version??
after upgrading to 1.4.4 from 1.4.3

php 5+
mysql 5+
Did you run the upgrade script??
(2008-11-29, 09:04 PM)Matt_ Wrote: [ -> ]Did you run the upgrade script??

Yes I did....
How many recipients are there? 2 or 3? Because if there are 3, it seems that it cannot load the uid of the 1st user.

That's why it is ,689,4
Ok, just checking as there's an alarming amount of people who didn't.

But I can reproduce on my localhost.

MyBB has experienced an internal SQL error and cannot continue.

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 '3)' at line 1
Query:
    SELECT uid, username FROM mybb_users WHERE uid IN (,3) 
(2008-11-29, 09:10 PM)Matt_ Wrote: [ -> ]Ok, just checking as there's an alarming amount of people who didn't.

But I can reproduce on my localhost.

MyBB has experienced an internal SQL error and cannot continue.

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 '3)' at line 1
Query:
    SELECT uid, username FROM mybb_users WHERE uid IN (,3) 

Thanks...I reran the upgrade script too to confirm it....
1 point to be noted: one of the recipients was myself! But it never was a problem before....
Same with me. UID 1 sent to UID 3 and 4, UID 4 tried to reply to all, and got the error.
Mhh it seems that the MyBB Team has deleted a line in the private.php which normally should be there.

To fix this problem please open up private.php and search for:

			else if($mybb->input['do'] == 'replyall')
			{
				$subject = "Re: $subject";

				// Get list of recipients
				$recipients = unserialize($pm['recipients']);
				if(isset($recipients['to']) && is_array($recipients['to']))
Replace with
			else if($mybb->input['do'] == 'replyall')
			{
				$subject = "Re: $subject";

				// Get list of recipients
				$recipients = unserialize($pm['recipients']);
				$recipientids = $pm['fromid'];
				if(isset($recipients['to']) && is_array($recipients['to']))
Pages: 1 2