Newbie install - category problem (English replies please)

Enthält archivierte Beiträge von Hotschi's Board zum Download MOD.
Posten ist hier nicht möglich, bitte das Supportforum dafür verwenden!
Gesperrt
Anonymous

Newbie install - category problem (English replies please)

Beitrag von Anonymous »

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 ?
Anonymous

I've same problem

Beitrag von Anonymous »

Hi,

i have the same problem, i'm looking for error, when i find it, i will post.

Richie100
Anonymous

Beitrag von Anonymous »

I also get this error when I use windows2000 server IIS with php4.3.3. :cry:
However, I use FreeBSD 4.1 apache1.3.28 with php 4.1 has nothing wrong.... :?
I aslo still waiting for a help on this....... :cry:
Anonymous

Its running

Beitrag von Anonymous »

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
Anonymous

Re: Its running

Beitrag von Anonymous »

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
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.

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 :wink:
Anonymous

problem

Beitrag von Anonymous »

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.
Anonymous

Re: problem

Beitrag von Anonymous »

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.
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.

Would you let me know how to edit the downloads.php to let the cookie work ?

Thanks a lot :wink:
Anonymous

Beitrag von Anonymous »

Same bug :(


Somebody got a fix for it?

(phpBB 2.0.6)
Anonymous

Lösung

Beitrag von Anonymous »

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!

Code: Alles auswählen

##
##-- [ OPEN ] -------------
##
/downloads.php

##
##-- [ FIND ] -------------
##
//
// Generate page
//

##
##-- [ BEFORE, ADD ] ------------- 
##
$cat = $_GET["cat"];

#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
That’s it, Enjoy!


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!
Gesperrt