Newbie install - category problem (English replies please)
-
Anonymous
Newbie install - category problem (English replies please)
Howdy,
Just installed the DlMod, no problems there - added a test category & 1 file under it (:-))
However, when you click on the category it just cycles & redisplays the same page - doesn't show the file that's been aded.
Any ideas ?
Just installed the DlMod, no problems there - added a test category & 1 file under it (:-))
However, when you click on the category it just cycles & redisplays the same page - doesn't show the file that's been aded.
Any ideas ?
-
Anonymous
I've same problem
Hi,
i have the same problem, i'm looking for error, when i find it, i will post.
Richie100
i have the same problem, i'm looking for error, when i find it, i will post.
Richie100
-
Anonymous
-
Anonymous
Its running
Hi,
i will help.
But at first i need sth.
Please copy the link and post it here, then i can say whether its same problem.
Richie100
i will help.
But at first i need sth.
Please copy the link and post it here, then i can say whether its same problem.
Richie100
-
Anonymous
Re: Its running
Sorry, I can't port the error link on it becasue it is a intranet and it is a testing server only. Some member told me they have the same problem on it.Richie100 hat geschrieben:Hi,
i will help.
But at first i need sth.
Please copy the link and post it here, then i can say whether its same problem.
Richie100
By the way, My site is www.freetalkarea.com however, it is hosted on a FreeBSD 4.1 apache1.3.28 with PHP4.1. That's mean it is worked with this site.
Anyway, Thanks
-
Anonymous
problem
My problem was the cokie handling.
When you click on the link and you get the same page, the cookie cat=3 for example is not used, thats why same page comes again.
I've changed my downloads.php and now its working with the cookie.
At http://www.freetalkarea.com/ the handling is working thats why i don't exactly know what your problem is.
When you click on the link and you get the same page, the cookie cat=3 for example is not used, thats why same page comes again.
I've changed my downloads.php and now its working with the cookie.
At http://www.freetalkarea.com/ the handling is working thats why i don't exactly know what your problem is.
-
Anonymous
Re: problem
I've told you that My site have not this error but my testing site has this error. Also some member told me that they have the same error on it.Richie100 hat geschrieben:My problem was the cokie handling.
When you click on the link and you get the same page, the cookie cat=3 for example is not used, thats why same page comes again.
I've changed my downloads.php and now its working with the cookie.
At http://www.freetalkarea.com/ the handling is working thats why i don't exactly know what your problem is.
Would you let me know how to edit the downloads.php to let the cookie work ?
Thanks a lot
-
Anonymous
Lösung
Odo324 hat geschrieben:[ ÜBERSETZEN SIE DIESES MIT GOOGLE ]
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!That’s it, Enjoy!Code: Alles auswählen
## ##-- [ OPEN ] ------------- ## /downloads.php ## ##-- [ FIND ] ------------- ## // // Generate page // ## ##-- [ BEFORE, ADD ] ------------- ## $cat = $_GET["cat"]; # #-----[ SAVE/CLOSE ALL FILES ]-------------------------------- # # EoM
NOTE:
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!