YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project

This Codex is Read Only, there is No reason or requirement to Login to view any and all posts.

FoxLingo Afrikaans Arabic Bulgarian Catalan Chinese Simplified Chinese Traditional Croatin Czech Danish Nederlands/Dutch Esperanto Filipino Finnish French German Greek Hebrew Hungarian Icelandic Indonesian Italian Japanese Korean Norwegian Polish Portuguese Portuguese Brazilian Romanian Russian Serbian Slovenian Spanish Swedish Thai Turkish Welsh
  HomeHelpSearchLogin  
 
 
Page Index Toggle Pages: 1
Print
406 or 501 error Users cannot Open PM's in YaBB 2.4 (Read 2827 times)
406 or 501 error Users cannot Open PM's in YaBB 2.4  {yabbadmin}
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.


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:

Code Select All
&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. 

 

Page Index Toggle Pages: 1
Print

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

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Support Codex » Powered by YaBB Next Edition!
YaBB Forum Software © 2000-2011. All Rights Reserved.