Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
Re:406 Error in Firefox/Opera when Redirecting (1 viewing) (1) Guest
TOPIC: Re:406 Error in Firefox/Opera when Redirecting
#56808
Re:406 Error in Firefox/Opera when Redirecting 4 Months, 2 Weeks ago  
My fix explained below....

I got this on my new installation (Fireboard 1.04 with Joomla 1.5.6 production stable on PHP 5.2.5 with SEO/mod rewrite and my fix was easy (! other than the 3 hours to find the bug)...

In the com_fireboard/template/default/post.php

where ever I found the "setTimeout("location...etc etc

e.g.

setTimeout("location='<?php echo sefRelToAbs(JB_LIVEURLREL.'&func=view&catid='.$catid.'&id='.$pid).'#'.$pid;?>'", 3500);

I added html_entity_decode to that e.g.,

setTimeout("location='<?php echo html_entity_decode(sefRelToAbs(JB_LIVEURLREL.'&func=view&catid='.$catid.'&id='.$pid)).'#'.$pid;?>'", 3500);

There are around 12 times that timeouts are used. I changed them all. Do it by hand rather than a search+replace as you need to close that () in different places.

Fixed for me. YMMV.

Also in view.php (around like 277 and 1340) I had to remove htmlspecialchars from the forumtop and forumbottom as that also (though slightly differently formatted) created weird URL with &amp;amp; in it.
openmtl (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#59620
Re:406 Error in Firefox/Opera when Redirecting 3 Months ago  
Has anyone encountered this error with FB 1.0.5 RC1?

I have a new Joomla 1.5.7 install with FB and the 406 Error shows up after posts.

The post.php file has been rewritten since 1.0.4 and I can find no setTimeOut functions. I am not very PHP literate, but I know how to make code changes when necessary.

If anyone has ideas, I would be grateful for your input here.

Thanks,
Jason
jaysunp (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#59698
Re:406 Error in Firefox/Opera when Redirecting 3 Months ago  
I read in another post about someone who was able to get their hosting service to exempt their site from an apache security setting to solve the problem.

I enquired with my host and received the following reply:

Access denied with code 406 (phase 2). Pattern match "(?:b(?: (?:n(?:et(?:bW+?blocalgroup|.exe)|(?:map|c).exe)|t(?:racer(?:oute|t)|elnet.exe|clsh8?|ftp)|(?:w(?:guest|sh)|rcmd|ftp).exe|echobW*?by+)b|c(?:md(?: (?:32)?.exeb|bW*?/c)|d(?:bW*?[\/]|W*?..)|hmod.{0,40}?+.{0,3}x))|[;|`]W*? ..." at ARGS_NAMES:amp;id. [file "/usr/local/apache/conf/modsec2.user.conf"] [line "89"] [id "950006"] [msg "System Command Injection. Matched signature <;id>"] [severity "CRITICAL"]

If there is anyone reading this that can understand this response and suggest a fix, I would be grateful. I think there are many others who would also benefit.

Thank you,
Jason
jaysunp (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#59701
Re:406 Error in Firefox/Opera when Redirecting 3 Months ago  
jaysunp wrote:
Has anyone encountered this error with FB 1.0.5 RC1?

I have a new Joomla 1.5.7 install with FB and the 406 Error shows up after posts.

The post.php file has been rewritten since 1.0.4 and I can find no setTimeOut functions. I am not very PHP literate, but I know how to make code changes when necessary.

If anyone has ideas, I would be grateful for your input here.

Thanks,
Jason


This is the first time I see this come up with 1.0.5. I will cehck out the proposed fix for 1.0.4 and will add it to 1.0.5 if it proves to be working.
fxstein (Moderator)
FB Core Team
starVmax
Moderator
Posts: 1213
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fxstein starVmax Location: Silicon Valley, USA
Logged Logged
 
 
 
#59703
Re:406 Error in Firefox/Opera when Redirecting 3 Months ago  
Thanks for your response.

Feel free to check out the live site at http://www.chsreunion.info if that is helpful.

Jason
jaysunp (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
Go to top