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
#45455
406 Error in Firefox/Opera when Redirecting 10 Months, 2 Weeks ago  
After a new post is submitted, the user is taken to a page that confirms the action. If the user waits long enough, the page is redirected to the topic that user just posted on. This works in IE, but if the user visits the forum with Firefox or Opera, the following 406 Error message appears:

Not Acceptable

An appropriate representation of the requested resource /index.php could not be found on this server.

Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.site.com Port 80


It seems that the browser is not rendering the ampersand entity correctly in the url when redirecting. For instance:

If the source code displays:
www.site.com/index.php?option=com_fireboard& amp ;Itemid=53&func=view& amp ;catid=22& amp ;id=17#17

The url in the address bar should be rendered as:
www.site.com/index.php?option=com_fireboard&Itemid=53&func=view&catid=22&id=17#17

But it's not. It displays the source code link verbatim. My guess is that it has something to do with the script, fbSetTimeout in fb_helpers.php.

[code:1]setTimeout("location='' . $url . ''",$time)[/code:1]

Could the script tags be preventing the browser from rendering the redirect url correctly?

I'm using Joomla 1.5 with Fireboard 1.0.4 on Lunarpages. Is bestofjoomla.com using some kind of SEF plugin? If so, how do I implement it.

I'm sorry if the solution is posted already--I just couldn't find one.

Much thanks.
CHUAN (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/02/28 01:06 By CHUAN.
 
 
#45476
Re:406 Error in Firefox/Opera when Redirecting 10 Months, 2 Weeks ago  
I installed sh404SEF J! 1.5 beta for a lazy fix. Still, I'd like to know what went wrong. Any guesses?
CHUAN (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#46812
Re:406 Error in Firefox/Opera when Redirecting 10 Months ago  
Hi, I'm having this exact same problem on several sites. Running Joomla! 1.5.1 and Fireboard 1.0.4. Have you ran across a solution for this by chance? I've searched these forums and have only found this thread referring to the problem.

If you've come across a solution let me know.

Thanks.

Chris.
joomlachris (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Joomla Ritual
Logged Logged
 
________________________________________
Joomla Ritual - Celebrating the very best of Joomla!
 
 
#46859
Re:406 Error in Firefox/Opera when Redirecting 10 Months ago  
Update: I tested this on a Joomla 1.0.15 / Fireboard 1.0.4 (on the same server/config) setup and there is no error. So I'm guessing this has to do with a Joomla 1.5.1 / FB 1.0.4 setup. I also tested this with the default FB template, Numinu, and with two different Joomla templates and get the error in every instance (with J!1.5.1)

At this point I would be happy with a hack that would disable the redirect (just let users click on a link to go back to forum or to topic -- which work). Anyone aware if it is possible to comment-out (disable) the actual wait-then-redirect portion?

Thanks.

Chris.
joomlachris (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Joomla Ritual
Logged Logged
 
Last Edit: 2008/03/12 23:01 By joomlachris.
 
________________________________________
Joomla Ritual - Celebrating the very best of Joomla!
 
 
#46909
Re:406 Error in Firefox/Opera when Redirecting 10 Months ago  
Yep. I also have this error on Firefox. I'm on Joomla 1.5.0 with legacy mode on and Fireboard 1.0.4. Anyone had any ideas? Thx

Also, i should say that if I click the link from email notifications to posts, it only goes to the top level of the forum, not the post.
dinah (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#47821
Re:406 Error in Firefox/Opera when Redirecting 9 Months, 2 Weeks ago  
I still haven't found a solution to this, and haven't been able to locate the section of code that handles the redirect. If someone knows how to disable the redirect so that a user has to click on Return to forum or Return to topic I would love to know how to do it.

Thanks.

Chris.
joomlachris (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Joomla Ritual
Logged Logged
 
________________________________________
Joomla Ritual - Celebrating the very best of Joomla!
 
 
#52482
Re:406 Error in Firefox/Opera when Redirecting 6 Months, 2 Weeks ago  
Hi,

any solutions on this yet due it is 3mth over?

thanks
xylonite (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#52483
Re:406 Error in Firefox/Opera when Redirecting 6 Months, 2 Weeks ago  
I don't know either lucky or what..

this prb only had in certain time and today is the time we have this prb but after playing few hour finally find the prb..

the .htaccess was modded so I've put it back
RewriteEngine on

and then on admin panel at "Global Configuration" > site> at SEO setting I enable "Use Apache mod_rewrite"

that do the trick for me now..
xylonite (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#52665
Re:406 Error in Firefox/Opera when Redirecting 6 Months, 2 Weeks ago  
At this point I would be happy with a hack that would disable the redirect (just let users click on a link to go back to forum or to topic -- which work). Anyone aware if it is possible to comment-out (disable) the actual wait-then-redirect portion?


edit the post.php file in the directory of the template you are using.

in the default template post.php line 419 and 441 (inside the script tags)

Code:

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


comment these lines (add // at the beginning of the line)

This disabled the automatic redirect for me and fixed the problem.
ssustar52 (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#53048
Re:406 Error in Firefox/Opera when Redirecting 6 Months, 1 Week ago  
ssustar52 wrote:
At this point I would be happy with a hack that would disable the redirect (just let users click on a link to go back to forum or to topic -- which work). Anyone aware if it is possible to comment-out (disable) the actual wait-then-redirect portion?


edit the post.php file in the directory of the template you are using.

in the default template post.php line 419 and 441 (inside the script tags)

Code:

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


comment these lines (add // at the beginning of the line)

This disabled the automatic redirect for me and fixed the problem.


Hi ssustar52,
That worked perfectly. Thanks for the post.
It's too bad no one can fix the problem however, the automatic redirect is a nice feature. I would if I could, but it is beyond my skill level.
jpinhb (User)
Junior Boarder
Posts: 26
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
Go to top