PDA

View Full Version : Couple of site bugs


Dudster
07-19-2002, 4:53 AM
Hi

These aren't forum problems but I thought I'd post em here.

Just noticed a typo on the front page where the anti-virus thingy is near the bottom-right. It says "AntiVirus by TendMicro".

Also, I was just looking through the Stories Archive for the "Got Klez?" article in May but when I clicked it I just got returned to the front page again. I then tried about another 20 random archive story links (some from June and some from Nov2001) and about half worked, the rest returned me to the front page. Tried logging in to the front page but it didn't seem to make any difference. I'm running IE6 - I doubt it's a fault with my setup but I guess it could be.

Mntsnow
07-19-2002, 7:55 AM
I will look into it

*edit*
spelling error fixed.

btw here is your article
http://www.xtremepccentral.com/modules.php?name=News&file=article&sid=371

As for the redirection I had that same problem and looking into it more

Dudster
07-19-2002, 9:06 AM
Thanks for the link. I just compared the one you posted " http://www.xtremepccentral.com/modules.php?name=News&file=article&sid=371 " with the one from the Stories Archive " http://www.xtremepccentral.com/modules.php?name=News&sid=371 " and noticed the extra bit "file=article&" in the one that works. Had a look in the stories archive again and it seems the ones that work contain "file=article&" and the ones without it return you to the frontpage. Have I sussed it or are you well aware of this :)

Mntsnow
07-19-2002, 9:12 AM
Yep...It's going to be a bit before I can find the errors in that moduals code since I was not the one that wrote it..... In the interm it looks like the "topics" modual is working correctly and gives the correct links

jadison
07-19-2002, 1:37 PM
Hope you find the errors and get them fixed, Mntsnow.

Thanks for notice on my article, Dudster. :)

Mntsnow
07-20-2002, 12:57 AM
there was a couple of places I had to recode but it seems to be working fine now :)

$title = "<a href=\"modules.php?name=News&amp;file=article&amp;op=newindex&amp;cat id=$catid\"><i>$cat_title</i></a>: <a href=\"modules.php?name=News&amp;sid=$sid$r_options\">$title</a>";

to...

$title = "<a href=\"modules.php?name=News&amp;file=article&amp;op=newindex&amp;cat id=$catid\"><i>$cat_title</i></a>: <a href=\"modules.php?name=News&amp;file=article&amp;sid=$sid$r_opti ons\">$title</a>";


This was found in the Stories_Archive index.php file at around lines 74, 78, 152, and 156.