Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic Can't read PMs ... Get not implemented? (Read 3195 times)
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
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!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
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!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
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.pm
Code (Perl)
Select All
    # $output =~ s/($scripturl\?)([^'"]+)/ $1 . URL_modify($2) /eg;
     # sub URL_modify { my $x = shift; $x =~ s/;/&/g; $x; } 



and replace it with
Code (Perl)
Select All
    $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.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
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!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
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.
  Wink
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Can't read PMs ... Get not implemented?

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry