YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Page Index Toggle Pages: 1
Topic Tools
 
SOLUTION: PM (personal messages) 404 not found (Read 2,028 times)
 Feb 15th, 2011 at 6:43pm
There are no actions to perform.  

bikerchris-uk 
YaBB Newbie
*
Offline
Posts: 40


None
SOLUTION: PM (personal messages) 404 not found
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
 
 
IP Logged  
 Reply #1 - Feb 16th, 2011 at 4:47am
There are no actions to perform.  

Outlandish Matt 
YaBB Newbie
*
Offline
Posts: 4


YaBB 2.5
Re: SOLUTION: PM (personal messages) 404 not found
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
 
 
IP Logged  
 Reply #2 - Feb 16th, 2011 at 4:52am
There are no actions to perform.  

Outlandish Matt 
YaBB Newbie
*
Offline
Posts: 4


YaBB 2.5
Re: SOLUTION: PM (personal messages) 404 not found
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"
 
 
IP Logged  
 Reply #3 - Feb 18th, 2011 at 1:31am
There are no actions to perform.  

Outlandish Matt 
YaBB Newbie
*
Offline
Posts: 4


YaBB 2.5
Re: SOLUTION: PM (personal messages) 404 not found
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
 
 
IP Logged  
 Reply #4 - Feb 21st, 2011 at 6:54am
There are no actions to perform.  

Outlandish Matt 
YaBB Newbie
*
Offline
Posts: 4


YaBB 2.5
Re: SOLUTION: PM (personal messages) 404 not found
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.
 
 
IP Logged  
 Reply #5 - Feb 21st, 2011 at 8:46pm
There are no actions to perform.  
Captain John 
Ex Member


None
Re: SOLUTION: PM (personal messages) 404 not found
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 N/A »  
 
IP Logged  
 Reply #6 - Dec 20th, 2012 at 7:51pm
There are no actions to perform.  

JonB 
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 3,643
Land of the Blazing Sun!


None
Re: SOLUTION: PM (personal messages) 404 not found
Off-Topic replies have been moved to this Topic.
 
I find your lack of faith disturbing.
jonbservergeek  
IP Logged  
Page Index Toggle Pages: 1
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.