Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-01-09 09:10:51

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]

Can you guys all list your active plugins please?


Alex

Offline

#14 2006-01-09 09:22:26

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

Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]

upm_file_packets 0.2.8 by Mary
ajw_comment_alt 0.3 by Andrew Waer
nhn_livecommentpreview 0.4 beta 2 by Nils Hörrmann
ajw_if_comment_owner 0.3 by Andrew Waer
ajw_comment_num 0.2 by Andrew Waer
ptv_if 0.3b by Petur Valdimarsson
txp.icio.us 1.2 by Marshall Potter
glx_gravatar 0.2 by Johan Nilsson
zem_nav 0.4 by Threshold State
zem_link 0.3.3 by zem
ajw_clean_feed 0.1 by Andrew Waer
dru_recent_referers 0.4 by Drew McLellan
zem_contact 0.6 by Threshold State
ob1_title 2.2 by Henrik Jönsson
rss_admin_show_adv_opts 0.1 by Rob Sable
rss_suparchive 0.16 by Rob Sable
Article listings by date or by category/section
hak_article_image 0.3.2 by Patrick Woods
rsx_plugins_list 1.0 by Ramanan Sivaranjan
rss_live_search 0.5 by Rob Sable
glx_countdown 0.1 by Johan Nilsson
glx_admin_image 0.5b by Johan Nilsson
rss_admin_db_manager 4.0.1 by Rob Sable
upm_img_popper 0.9.7 by Mary
nhn_image_import 0.1 by Nils Hörrmann
bos_author 0.1 by Maurizio Boscarol
vdh_flickr 0.8.5 by Ralph von der Heyden
hpw_admincss 0.1 by Hyperwhat (Adrian Duffell)
mdn_if_custom 1.1 by Mark Norton
ajw_comments_feed 0.3 by Andrew Waer
rei_recent_comments 0.5 by Reinier Ladan
rss_if_author 0.1.2 by Rob Sable
mem_glinklist 0.8.1 by Michael Manfre

Offline

#15 2006-01-09 14:47:39

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

Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]

  • ajw_admin_workflow 0.1.2
  • chh_article_custom 1.03
  • glx_if 0.6.4
  • glz_crumbs 0.3
  • glz_vars 0.1
  • hak_tinymce 0.5.1
  • jsa_copyright 0.2
  • mem_glinklist 0.8.1
  • ob1_googlenav 2.0
  • rss_suparchive 0.16
  • stw_category_tree 0.6.1
  • upm_category_title 0.4.5
  • upm_img_popper 0.10
  • upm_quicktags 0.4.3
  • zem_contact 0.6 (modified)

Last edited by tinyfly (2006-01-09 14:47:55)

Offline

#16 2006-01-09 15:16:11

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

Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]

Please de-activate rss_suparchive and see if file-downloads work again after that. If that is the case, please contact Rob with a pointer to this thread/my post here.

The plugin hooks into pretext-callback and makes some changes to global-vars which (I am only guessing at this point) as a side-effect breaks file-downloads. I am sure the plugin can be fixed, such that it only makes those changes in the pretext-callback when it is really needed (i.e. when the plugin knows it will be handling those urls).

Offline

#17 2006-01-09 15:24:29

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

Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]

That is it Sencer. Disabling rss_suparchive allows file_download_link to work again. I need to make a note that when something goes wrong first disable all the plugins. I will notify Rob right away.

Last edited by tinyfly (2006-01-09 15:57:15)

Offline

#18 2006-01-09 20:10:18

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]

> Sencer wrote:
The plugin hooks into pretext-callback and makes some changes to global-vars which (I am only guessing at this point) as a side-effect breaks file-downloads. I am sure the plugin can be fixed, such that it only makes those changes in the pretext-callback when it is really needed (i.e. when the plugin knows it will be handling those urls).

Yeah, that would seem to be the case. Is there a way that I can tell from that callback if the plugin will be called in one of the pages or forms that will handle the URL?

Offline

#19 2006-01-09 21:29:29

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

Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]

Yeah, that would seem to be the case. Is there a way that I can tell from that callback if the plugin will be called in one of the pages or forms that will handle the URL?

Ah, didn’t know it was dependant on tags.
At that point (pretext) it is not yet known which pages/forms will be parsed, so it’s not possible to do it that specific. I was thinking in more general terms to check if the first item is a valid section or something similar.

Offline

#20 2006-01-09 21:37:48

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]

I was thinking in more general terms to check if the first item is a valid section or something similar.

That should work for now. But its seems that even if that fixes file downloads, its bound to break something else someday.

Offline

#21 2006-01-09 22:08:38

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]

I posted version 0.16.1 that should fix the problem. I was able to test it out on 4.0.3 and my file downloads work.

Details here

Last edited by wilshire (2006-01-09 23:50:18)

Offline

#22 2006-01-10 08:51:17

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

Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]

wilshire and Sencer… thanks very much :)

Offline

#23 2006-11-22 16:28:02

simmerdesign
Member
From: Eden Prairie, MN
Registered: 2006-01-03
Posts: 19
Website

Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]

In case you’re using zem_rewrite and are having similar troubles: watch out for your zem_rewrite rules (and order of said rules); if you have {article} (as in article id) involved in any of your rules, this can produce a false match when asking for /file_download/[id].

My clean url scheme is now completely functional with {section}, {category}, {year} and {url_title} matches, avoiding any conflicts with file ids. Here’s my file_download-friendly zem_rewrite pattern:

$uri_scheme[‘article_archive2’] = ‘{section}/{category}/{year}/{url_title}’;
$uri_scheme[‘article_archive’] = ‘{section}/{year}/{url_title}’;
$uri_scheme[‘article3’] = ‘{section}/{category}/{url_title}’;
$uri_scheme[‘category’] = ‘{section}/{category}/’;
$uri_scheme[‘section’] = ‘{section}/’;
$uri_scheme[‘article_alt2’] = ‘{section}/{url_title}’;

Last edited by simmerdesign (2006-11-22 16:30:03)

Offline

Board footer

Powered by FluxBB