|
(SOLVED!)Loads forum page then reloads once again? 1 Year, 6 Months ago
|
|
|
##
|
|
|
Logged
|
|
|
Last Edit: 2008/06/05 15:50 By damianeastwood.
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Loads forum page then reloads once again? 1 Year, 6 Months ago
|
|
|
If you'd payed any attention to this site, it will also do the same, probably something to do with cache or sessions or something. It will probably be a small error that will be ironed out in future releases, I wouldnt worry about it, although it is fustrating
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Loads forum page then reloads once again? 1 Year, 6 Months ago
|
|
|
This has been discussed before. It is an issue with Joomla. Search for 'refresh twice' if you want to read more.
|
|
|
Logged
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Loads forum page then reloads once again? 1 Year, 5 Months ago
|
|
|
There is a fix that you have to pay for to stop this. I feel it is a big problem that should have been looked at quite a while back.
|
|
jasonrhl (User)
Junior Boarder
Posts: 52
|
Logged
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Loads forum page then reloads once again? 1 Year, 5 Months ago
|
|
|
my site is doing this too. strange thing is that it only started to do it the other day...
|
|
azenis (User)
Junior Boarder
Posts: 55
|
Logged
|
|
|
Nige
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Loads forum page then reloads once again? 1 Year, 5 Months ago
|
|
|
This is definitely NOT Joomla problem. Problem is that simpleboard -> joomlaboard -> and now FireBoard maintain their own sessions for users, not using Joomla sessions, here is the code:
file: fireboard.php
Session maintaining code starts at line 226, later on you will find line responsible for reload
[code:1]line 265: echo 'setTimeout("window.location.reload( true )",100);';[/code:1]Why set timeout instead of direct reload in original code? Reload must happen after database update in next lines (out of if statement) otherwise there is endless loop of redirection.
FireBoard guys should definitely get a rid of their own session table and use Joomla session table to identify visitor. Or do dual system, in case of joomla installation use joomla sessions, in case of stand alone installation use fireboard sessions.
I replaced mentioned code with quick and dirty fix (may be not too dirty). Code odes exactly same but "reload" is happening "on background":
[code:1]global $mosConfig_live_site;
$database->setQuery("UPDATE #__fb_sessions SET lasttime=$systime where userid=$my->id"«»);
$database->query();
mosRedirect($mosConfig_live_site.$_ENV["REQUEST_URI"]);[/code:1]Works very nice.
|
|
Prutkar (User)
Fresh Boarder
Posts: 17
|
Logged
|
|
|
Last Edit: 2007/06/09 10:51 By Prutkar.
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Loads forum page then reloads once again? 1 Year, 5 Months ago
|
|
|
This fixes this problem?
If yes, this is huge, why this isnt sticky!?
(i have FB 1.0 so i guess thats why i cant find that line in my fireboard.php so i cant try this...)
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Loads forum page then reloads once again? 1 Year, 5 Months ago
|
|
|
This "fix" really works. Any problem reported after applying this hack ? :/
|
|
|
Logged
|
|
|
OpEn YoUr MiNd ---> Correct my english please! i wish to learn.
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Loads forum page then reloads once again? 1 Year, 5 Months ago
|
|
|
No problems.
|
|
Prutkar (User)
Fresh Boarder
Posts: 17
|
Logged
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Loads forum page then reloads once again? 1 Year, 5 Months ago
|
|
|
FB 1.0 has same line of code in fireboard.php file
[code:1]echo 'setTimeout("window.location.reload( true )",100);';[/code:1]I bet you find this in Simpleboard as well as in Joomlaboard.
|
|
Prutkar (User)
Fresh Boarder
Posts: 17
|
Logged
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|