Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jun 2002
Posts: 160
Member
Member
Offline
Joined: Jun 2002
Posts: 160
One of the testers on my 6.5.1 test board managed to find something broke . . . except that I cannot determine what/how it's broken. They have one PM they received from another tester, that when they try to reply to it, messhandler.php simply gives them a "We Cannot Proceed" page.

I've become that user and tried it, and got the same result. They can properly PM to all their other PMs, and all of my PMs work fine and I can reply to them all without issue.

Thinking that one of the PM mods I installed - or something I goofed while installing them - might be the culprit (Browsable PMs and Quoting original messages on PMs) I reverted to all clean "out of the .zip" code for messhandler.php & tmpl, messreply.php & tmpl, and viewmessage.php and tmpl. Absolutely no change in results, the same "We Cannot Proceed" page happens. I've browsed the Messages table in phpMyAdmin, and as far as I can tell, it LOOKS ok as far as structure goes.

Any thoughts or insight on this?

Sponsored Links
Joined: Jun 2002
Posts: 160
Member
Member
Offline
Joined: Jun 2002
Posts: 160
Actually, we got this figured out. The sender of the PM that the user was trying to reply to has his PMs turned off.

The lack of any sort of message indicating this is rather frustrating though.

Where should I look at adding an error message to indicate that the PM cannot be replied to because the recipient has PMs turned off (and why isn't such a message part of .threads to begin with? I could have sworn there was such a notification in 6.4.)?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Make sure you updated all of your language files. Language strings shhould be in the language file that matches the script name.

Joined: Jun 2002
Posts: 160
Member
Member
Offline
Joined: Jun 2002
Posts: 160
I'm working forward from a stock install of 6.5.1. I checked both the language files for messhandler and messreply - there's simply nothing there that says something along the lines of "This using isn't accepting private messages, so you can't reply to them." There's one for if they're ignoring you, and there's a "NOPRIVATE" check in the sendmessage.php, but there's just not a check in messreply.php for this case.

Joined: Jun 2002
Posts: 160
Member
Member
Offline
Joined: Jun 2002
Posts: 160
After poking around in the code, and finding what to look for in sendmessage.php, I found that there is indeed code in messhandler.php to check if a user has their PM acceptance disabled.

The /languages/english/messhandler.php file is however missing the language text for the "NO_PRIVATE" result. This causes an annoyingly uninformative "We Cannot Proceed" page with no hint as to why the software can't proceed.

Adding
Code
$ubbt_lang['NO_PRIVATE']  =     "This user is not accepting private messages.";
back into /languages/english/messhandler.php fixes this though, and will then display a message that the user isn't accepting PMs in the case that a user tries to respond to a PM from someone who isn't accepting them.

Just to verify that I wasn't going nuts after checking my fresh copy, I unzipped the 6.5.1 distribution file I downloaded Wednesday morning to check, and that line is missing from the messhandler.php language string file found in it. Looks like this was missed and is being distributed like that.

Sponsored Links
Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550

Joined: Jun 2002
Posts: 160
Member
Member
Offline
Joined: Jun 2002
Posts: 160
Already did, though I had re-register again with their Groupee thing to do so, despite having been registered on UBBCentral in the past.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeeks, I've seen a number of missing language strings reported (or I should say errors that point to missing language strings) in 6.5.1.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)