Batchman Full Member Offline I Love YaBB! Posts: 165 Location: Somewhere just East of Crazy Joined: Jul 25th, 2014 Gender: Mood: Depressed Zodiac sign: Can't read PMs ... Get not implemented? Jan 4th, 2015 at 1:20am Mark & QuoteQuote I posted about this somewhere (I know I did, because when I go to create a new message, I can see I have used the thread title before) but I have no idea where, whether here or the main forum or elsewhere. I cannot read PMs on any of my forums, because any time I try to access the PMs the browser throws a 501 error saying GET not implemented. I was told this is not a YaBB error, but is probably something with my host's security settings ... but that doesn't give me much to take to the host, to try and track the issue down. But this time around I am determined to find a solution to this, which is why I am asking for information again. If I can't find any info to help, here, then I will have to start posting messages on a perl forum (ie about perl), where I will have no idea what I am actually asking about. The thing is, GET is a fairly important part of the language, isn't it? I am guessing that GET is used for many things in various places in YaBB, so I wonder why this is the only thing that doesn't work. So I am just asking to get some information I can try to pass on ... where else does YaBB make use of GET? Just trying to gather together some information. If you don't know where you are, but you don't care, you're not lost ... you're exploring! IP Logged
Batchman Full Member Offline I Love YaBB! Posts: 165 Location: Somewhere just East of Crazy Joined: Jul 25th, 2014 Gender: Mood: Depressed Zodiac sign: Re: Can't read PMs ... Get not implemented? Reply #1 - Jan 4th, 2015 at 1:31am Mark & QuoteQuote Whatever the issue is, I can send a new message to somebody else, but I cannot read a PM that has been sent to me. If you don't know where you are, but you don't care, you're not lost ... you're exploring! IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Can't read PMs ... Get not implemented? Reply #2 - Jan 4th, 2015 at 4:34am Mark & QuoteQuote GET is an important function that is used by scripts using query strings (these can include jQuery, ajax, javascript, PHP and perl). (And your post about it was on YaBBForum: http://www.yabbforum.com/cgi-bin/community/YaBB.pl?num=1412088306/13#13.) The generally suggested workaround is to find in Subs.pmCode (Perl) # $output =~ s/($scripturl\?)([^'"]+)/ $1 . URL_modify($2) /eg; # sub URL_modify { my $x = shift; $x =~ s/;/&/g; $x; } and replace it with Code (Perl) $output =~ s/($scripturl\?)([^'"]+)/ $1 . URL_modify($2) /eg; sub URL_modify { my $x = shift; $x =~ s/;/&/g; $x; } This rewrites the query strings to something more likely to pass mod_security. I am guessing the problem with PMs specifically is related to the fact that accessing a PM sends 3 different query sting items where most other YaBB query stings only have 2 items. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Batchman Full Member Offline I Love YaBB! Posts: 165 Location: Somewhere just East of Crazy Joined: Jul 25th, 2014 Gender: Mood: Depressed Zodiac sign: Re: Can't read PMs ... Get not implemented? Reply #3 - Jan 4th, 2015 at 7:31am Mark & QuoteQuote OK ... I'll go try that ... thanks! To steal a quote from police academy ... sort of ... Quote:It works! The darn thing works! Am I an idiot or what? If you don't know where you are, but you don't care, you're not lost ... you're exploring! IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Can't read PMs ... Get not implemented? Reply #4 - Jan 4th, 2015 at 4:05pm Mark & QuoteQuote There is a cartoon JonB likes to quote: 2 panels, both show a programmer in front of a computer monitor: 1st Panel: It doesn't work and I don't know why. 2nd Panel: It works and I don't know why. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged