FYI: Category ID's start at "1" and a "Cat=0" will only show a list of the categories.
The Problem:
When "download.php" refreshes itself, the $cat variable is not retrieved from the URL! This means, $Cat will always = 0 (ie: no category selected), despite what is seen in the URL.
:arrow: So, (because the script isn't getting the $cat variable off from the URL), it has no idea what category to show!
Why didn't this happen to everyone?
As I've read, this doesn't usually occur on LINUX / UNIX based servers. Well, I really don't know why!
The Fix!
Code: Alles auswählen
##
##-- [ OPEN ] -------------
##
/downloads.php
##
##-- [ FIND ] -------------
##
//
// Generate page
//
##
##-- [ BEFORE, ADD ] -------------
##
$cat = $_GET["cat"];
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoMNOTE:
IMO, Hotschi's code is BUTT UGLY! It works ok enough (far from perfect), but man is it un-organized! I really don't know how talented this person is, but if the code and this mods 'ease-of-use' is any indication, Hotschi still has a long ways to go. But then again, don't we all. :roll:
LEARN CODING STANDARDS!