Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard Spread FireBoard!
Re:Error on automatic redirect after post. 1.0.4 (1 viewing) (1) Guest
Go to bottom Favoured: 2
TOPIC: Re:Error on automatic redirect after post. 1.0.4
#53322
Re:Error on automatic redirect after post. 1.0.4 4 Months, 2 Weeks ago  
bfrancis wrote:
It took me some time to figure this out - but my problem (which was the same as you are experiencing) was that I had set badword filtering to yes - without having the badword filter component installed. I set to no and everything fixed itself.

Good luck!
Ben


I never set bad word filter to yes and I looked it is set no. I have installed latest svn and it is still doing it.
Babahun (User)
Junior Boarder
Posts: 49
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#53349
Re:Error on automatic redirect after post. 1.0.4 4 Months, 2 Weeks ago  
I already directed yesterday you to this post yesterday, where seems someone had a fix, and if not working, at least deactivation of the redirection: www.bestofjoomla.com/component/option,co...3048/catid,73/#53048

Can't try as I can't reproduce on my local server :/ also seems it only happenbs with j1.5 series, so maybe is not only a fireboard bug you must understand, that right now, fireboard in j1.5 does only run in legacy mode, that is not even close to perfect...


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..


Turning redirection off:

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.
johnnydement (Moderator)
FB Quality & Testing Team
Moderator
Posts: 418
graphgraph
User Offline Click here to see the profile of this user
Voces del Vicio Location: Barcelona Birthdate: 1981-12-23
Logged Logged
 
Last Edit: 2008/07/08 14:30 By johnnydement.
 
"As a discussion over the net grows longer, the probability of a comparison involving Nazis or Hitler approaches one." - Godwin Law
 
The administrator has disabled public write access.  
#53396
Re:Error on automatic redirect after post. 1.0.4 4 Months, 2 Weeks ago  
Thank you very much for your help! People can use this until the auto redirect is fixed. Better than nothing!
Babahun (User)
Junior Boarder
Posts: 49
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#53417
Re:Error on automatic redirect after post. 1.0.4 4 Months, 2 Weeks ago  
The .htaccess fix did not work?
johnnydement (Moderator)
FB Quality & Testing Team
Moderator
Posts: 418
graphgraph
User Offline Click here to see the profile of this user
Voces del Vicio Location: Barcelona Birthdate: 1981-12-23
Logged Logged
 
"As a discussion over the net grows longer, the probability of a comparison involving Nazis or Hitler approaches one." - Godwin Law
 
The administrator has disabled public write access.  
#53425
Re:Error on automatic redirect after post. 1.0.4 4 Months, 2 Weeks ago  
johnnydement wrote:
The .htaccess fix did not work?

I did not know how to do it. There are 2-3 htaccess files on my server, I don't know which one to edit or where to save it. Confusing. I don't know anything about htaccess. I opened it and saw weird texts inside and decided not to touch it.
Babahun (User)
Junior Boarder
Posts: 49
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#53426
Re:Error on automatic redirect after post. 1.0.4 4 Months, 2 Weeks ago  
you can always backup it first

htaccess is a file used for the apache servers to handle redirections and so

strange thing is you have more than one .htaccess file. Could you list which ones you have?
johnnydement (Moderator)
FB Quality & Testing Team
Moderator
Posts: 418
graphgraph
User Offline Click here to see the profile of this user
Voces del Vicio Location: Barcelona Birthdate: 1981-12-23
Logged Logged
 
"As a discussion over the net grows longer, the probability of a comparison involving Nazis or Hitler approaches one." - Godwin Law
 
The administrator has disabled public write access.  
#53428
Re:Error on automatic redirect after post. 1.0.4 4 Months, 2 Weeks ago  
johnnydement wrote:
you can always backup it first

htaccess is a file used for the apache servers to handle redirections and so

strange thing is you have more than one .htaccess file. Could you list which ones you have?

One in server root, and one in public_html and one inside joomla root folder. I think it is the one that is inside joomla root folder. But it is htaccess.txt and I have to rename it. BUt Do i have to put that code inside that htaccess file if yes where on top, middle or in the end?

the htaccess.txt is as follows:

##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
# mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

# RewriteBase /


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.feed|.pdf|.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
Babahun (User)
Junior Boarder
Posts: 49
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#53431
Re:Error on automatic redirect after post. 1.0.4 4 Months, 2 Weeks ago  
No need to modify nothing, as you can see, you already have the RewriteEngine On, this is to say the server we're gonna us the URL rewriting.

You just need to turn mod_rewrite on in general config (on admin panel at "Global Configuration" > site> at SEO setting I enable "Use Apache mod_rewrite"

And rename your htaccess.txt to .htaccess
johnnydement (Moderator)
FB Quality & Testing Team
Moderator
Posts: 418
graphgraph
User Offline Click here to see the profile of this user
Voces del Vicio Location: Barcelona Birthdate: 1981-12-23
Logged Logged
 
"As a discussion over the net grows longer, the probability of a comparison involving Nazis or Hitler approaches one." - Godwin Law
 
The administrator has disabled public write access.  
#53434
Re:Error on automatic redirect after post. 1.0.4 4 Months, 2 Weeks ago  
johnnydement wrote:
No need to modify nothing, as you can see, you already have the RewriteEngine On, this is to say the server we're gonna us the URL rewriting.

You just need to turn mod_rewrite on in general config (on admin panel at "Global Configuration" > site> at SEO setting I enable "Use Apache mod_rewrite"

And rename your htaccess.txt to .htaccess


Ok I set Use Apache mod_rewrite to yes then changed the htaccess.txt to .htaccess

It is still redirecting to an error page. I have read somewhere that .htaccess takes some time to work fully. Should I wait another hour or so or maybe a day then test it again?
Babahun (User)
Junior Boarder
Posts: 49
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#53451
Re:Error on automatic redirect after post. 1.0.4 4 Months, 2 Weeks ago  
No clue

As I said I have never faced this problem neither can reproduce, I can just point you in suggestion given by other people

Would mean checking the code, but, why not modify the URL generated on the redirection, witht tue URL used in the 'back to topic' link? it should be same one, and both are generated on the fly by arguments...
johnnydement (Moderator)
FB Quality & Testing Team
Moderator
Posts: 418
graphgraph
User Offline Click here to see the profile of this user
Voces del Vicio Location: Barcelona Birthdate: 1981-12-23
Logged Logged
 
"As a discussion over the net grows longer, the probability of a comparison involving Nazis or Hitler approaches one." - Godwin Law
 
The administrator has disabled public write access.  
Go to top