Page Index Toggle Pages: 1
Topic Tools
Normal Topic SOLUTION: PM (personal messages) 404 not found (Read 2,294 times)
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,785
Location: Land of the Blazing Sun!

YaBB 2.6.0
Re: SOLUTION: PM (personal messages) 404 not found
Reply #6 - Dec 20th, 2012 at 7:51pm
Post Tools
Off-Topic replies have been moved to this Topic.
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Captain John
Ex Member


Re: SOLUTION: PM (personal messages) 404 not found
Reply #5 - Feb 21st, 2011 at 8:46pm
Post Tools
Outlandish Matt wrote on Feb 21st, 2011 at 6:54am:
For the record, the highlighted errors are wrong.  This is the correct way to do it:

 Your highlights in your first post, ours are correct.
« Last Edit: Feb 21st, 2011 at 8:48pm by »  
Back to top
 
IP Logged
 
Outlandish Matt
YaBB Newcomer
*
Offline



Posts: 4

None
Re: SOLUTION: PM (personal messages) 404 not found
Reply #4 - Feb 21st, 2011 at 6:54am
Post Tools
For the record, the highlighted errors are wrong.  This is the correct way to do it:

Quote:
&image_resize;
# Start workaround to substitute all ';' by '&' in all URLs
# This workaround solves problems with servers that use mod_security
# in a very strict way. (error 406)
# Take the comments out of the following two lines if you had this problem.
# $output =~ s/($scripturl\?)([^'"]+)/ $1 . &URL_modify($2) /eg;
# sub URL_modify { my $x = shift; $x =~ s/;/&/g; $x; }
# End of workaround
if ($yycopyin == 0) {


Remove THOSE highlighted hash tags.
  
Back to top
 
IP Logged
 
Outlandish Matt
YaBB Newcomer
*
Offline



Posts: 4

None
Re: SOLUTION: PM (personal messages) 404 not found
Reply #3 - Feb 18th, 2011 at 1:31am
Post Tools
Can someone help me solve this problem?  I cannot access anything on the codex that has been broke for a week and I can't access the link above.

Can someone tell me what I need to ask of my ISP?  I do not know what changes I need to request to the mod_security.

Matt
  
Back to top
 
IP Logged
 
Outlandish Matt
YaBB Newcomer
*
Offline



Posts: 4

None
Re: SOLUTION: PM (personal messages) 404 not found
Reply #2 - Feb 16th, 2011 at 4:52am
Post Tools
bikerchris-uk wrote on Feb 15th, 2011 at 6:43pm:
A. - Check with your webhost and see if 'they' can fix this for you, usually possible with some encouragement.

http://www.yabbforum.com/community/YaBB.pl?num=1251304495


Also, this link does not work for me.  Says I don't have permission to view it.

"The information you are trying to access is not available to you. /home/project-web/yabb/htdata/forumdata/messages/1251304495.txt"
  
Back to top
 
IP Logged
 
Outlandish Matt
YaBB Newcomer
*
Offline



Posts: 4

None
Re: SOLUTION: PM (personal messages) 404 not found
Reply #1 - Feb 16th, 2011 at 4:47am
Post Tools
Option B does not work with me.  I get an error whenever trying to access the forums now:

[an error occurred while processing this directive]

Guess I will have to go with Option A.

Matt
  
Back to top
 
IP Logged
 
bikerchris-uk
YaBB Newcomer
*
Offline



Posts: 40
SOLUTION: PM (personal messages) 404 not found
Feb 15th, 2011 at 6:43pm
Post Tools
Hi all,

I thought I would re-post this as it was originally only found via a google cache. The mentions of it were not of course!

The symptoms are:

Users find they cannot open PM's and get a Server Error - usually like this:

Quote:
GET to /cgi-bin/YaBB.pl not supported.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Method Not Implemented

You may have made NO changes to your YaBB settings to have this occur. It can also occur when you move to a new host.  The new host may be using different settings on mod_security.


The issue is likely a tightening of security by the ISP/Webhost.

There are two equally good approaches -

A. - Check with your webhost and see if 'they' can fix this for you, usually possible with some encouragement.

http://www.yabbforum.com/community/YaBB.pl?num=1251304495

B. - Deti has written a workaround for the issue:

Edit the ./Sources/Subs.pl file and search for this:

Quote:
&image_resize;
# Start workaround to substitute all ';' by '&' in all URLs
# This workaround solves problems with servers that use mod_security
# in a very strict way. (error 406)
# Take the comments out of the following two lines if you had this problem.
# $output =~ s/($scripturl\?)([^'"]+)/ $1 . &URL_modify($2) /eg;
# sub URL_modify { my $x = shift; $x =~ s/;/&/g; $x; }
# End of workaround
if ($yycopyin == 0) {


Remove the highlighted characters. Then save the file back on your server.  

Bikerchris Note: Option B worked for me, without contacting my hosting. Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top