Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-06 14:49:56

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

4.0.3 file_download_list problems

Anybody else getting bad links outputted from txp:file_download_list as posted here?

I am dead in the water and don’t know what to do.

Offline

#2 2006-01-06 17:30:22

reid
Member
From: Atlanta, Ga.
Registered: 2004-04-04
Posts: 224
Website

Re: 4.0.3 file_download_list problems

I haven’t had time to upgrade from 4.0.2 to 4.0.3 yet, so I haven’t encountered anything like this. My only two thoughts would be [1] to make certain the latest version of include/txp_file.php got uploaded, and [2] until someone comes along with a solution, you can comment out your current code and replace it with a version that uses domain.com/files/yourfile.pdf for the link. At least they will be accessible until you find the problem.


TextPattern user since 04/04/04

Offline

#3 2006-01-06 17:37:13

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: 4.0.3 file_download_list problems

Thanks reid, using <a href="/files/<txp:file_download_name />"><txp:file_download_description /></a> works until I figure out what is wrong with txp:file_download_link.

Offline

#4 2006-01-06 22:26:48

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: 4.0.3 file_download_list problems

txp:file_download_list is still working for me in 4.0.3. There is one thing I noticed in your handcoded link: it’s pointing to /files/name_of_file, and as far as I know txp:file_download_link creates a link to /file_download/id. Could that have anything to do with the problem?

Offline

#5 2006-01-06 22:30:33

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: 4.0.3 file_download_list problems

No, see my above post, I took reid’s suggestion and created the link directly to /files/name_of_files without using txp:file_download_link because its /file_download_link was not working. It would just pull up a blank page in firefox and file not found in IE.

Last edited by tinyfly (2006-01-06 22:30:57)

Offline

#6 2006-01-06 22:43:37

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: 4.0.3 file_download_list problems

Yes, I saw that, sorry. I was thinking that you might have changed the code in the past to alter the /file_download/ output for some reason, but I see that’s a bit far-fetched.

Offline

#7 2006-01-07 09:02:05

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: 4.0.3 file_download_list problems

Can we keep this in one topic, instead of in two? I have responded in the other topic.

(The download-list is not the issue here, since the list looks absolutely fine. It’s your download-links that are not working, I have made suggestions in the other thread).

Offline

#8 2006-01-07 20:07:39

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: 4.0.3 file_download_list problems

> tinyfly wrote:
> Anybody else getting bad links outputted from txp:file_download_list as posted here?
Yes – exactly like that.

But I didn’t upgrade anything… it was working, but just seems to have broke while I was working on another part of my site. After reading this thread I’ve used <code><a href=”/files/<txp:file_download_name />”><txp:file_download_description /></a></code> too, but I’m displaying an mp3 download chart so I need to use the file_download link if possible.

I really have no idea where to start looking for a fix.

Offline

#9 2006-01-09 03:41:45

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: 4.0.3 file_download_list problems

Let’s close this thread and post any issues like this on my other thread here. Sorry for posting twice about the same thing.

Offline

Board footer

Powered by FluxBB