PDA

View Full Version : Archive looping when closed?


Raz Meister
Sat 21st Jun '03, 3:13pm
Just had a quick visit to this forum: http://www.gametavern.net/forums/

Was closed so I clicked on the archive button -> goes into loop.

http://www.gametavern.net/forums/archive/index.php/

Mike Sullivan
Sun 22nd Jun '03, 3:19am
No loop here -- the archive appears.

(The fact that it appears when it's off is a bug that's been addressed for beta 4.)

Scott MacVicar
Mon 23rd Jun '03, 8:04pm
is this still broken as it works fine for me.

Chris Gwynne
Mon 23rd Jun '03, 8:27pm
is this still broken as it works fine for me.
Ditto

Stadler
Mon 23rd Jun '03, 10:11pm
To repeat this bug, do the following:

1. Close your forum
2. Log out
3. Visit your forums archive

The result would be an infinite loop

Steve Machol
Mon 23rd Jun '03, 10:16pm
I can't duplicate the 'loop' with my test forum. I get a blank page when following your steps.

Scott MacVicar
Mon 23rd Jun '03, 10:37pm
open
/archive/global.php

look for

header("Location: ../$vboptions[forumhome].php");

does adding

exit;

below that fix it?

Stadler
Tue 24th Jun '03, 5:19am
Yep, I've been redirected to my forumhome, then.

btw: shouldn't the code be replaced with header("Location: $vboptions[bburl]/$vboptions[forumhome].php");
exit;?

Scott MacVicar
Tue 24th Jun '03, 5:38am
i already changed it to that but either will do.