Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Downloads Pepper Not Working?

Vonster
Minted
Posted on Sep 25, '07 at 01:40 am

I downloaded the 2.07 version of “Downloads Pepper” and installed it according to the “Read Me” file but it’s not tracking anything?

Is there known bugs in this or is there another Pepper that actually works I could install instead?

Not sure what I need to do but I do need to track downloads from the site.

Thanks for the help.

Von

Till
Pepper Developer
Posted on Sep 25, '07 at 04:42 am

Please take a look at the pepper’s documentation.

Vonster
Minted
Posted on Sep 25, '07 at 06:00 am

Sorry but Method #2 simply doesn’t work. That is the method I want to use but it’s not tracking anything and yet I know downloads are happening.

So is there a fix?

Till
Pepper Developer
Posted on Sep 25, '07 at 07:41 am

I can’t solve your problem without a link to your site and Mint installation.

Vonster
Minted
Posted on Sep 25, '07 at 02:37 pm

I am using it on: illustrationclass.com

Mint is installed at: illustrationclass.com/mint

If you email me privately at: info@vonster.com

I’ll give you the access information to the FTP and mint.

Thanks.

Vonster
Minted
Posted on Sep 25, '07 at 02:52 pm

I just got an email from a visitor to the site that said this is what happened when they tried to download something. What the?

Warning: main(/dh/cgi-system/php.cgiapp/lib/mint.php) [function.main]: failed to open stream: No such file or directory in /home/.curtains/vonster/illustrationclass.com/mint/pepper/tillkruess/downloads/tracker.php on line 29

Warning: main(/dh/cgi-system/php.cgiapp/lib/mint.php) [function.main]: failed to open stream: No such file or directory in /home/.curtains/vonster/illustrationclass.com/mint/pepper/tillkruess/downloads/tracker.php on line 29

Fatal error: main() [function.require]: Failed opening required ‘/dh/cgi-system/php.cgiapp/lib/mint.php’ (include_path=’.:/usr/local/lib/php’) in /home/.curtains/vonster/illustrationclass.com/mint/pepper/tillkruess/downloads/tracker.php on line 29

Vonster
Minted
Posted on Sep 25, '07 at 08:31 pm

Hmmm. I am still not sure it’s working? It only shows ‘1’ download from two hours ago and I think that is your test one. I know others have downloaded because I’ve asked them to do so but it’s not showing?

Vonster
Minted
Posted on Sep 25, '07 at 09:20 pm

Well I uninstalled it. Unfortunately this was one of my main reasons for getting Mint to track downloads and now I can’t. Ugh.

actually, i cant seem to get this to work either….tried adjusting your preferences and all that and even looked at the above link…which doesnt really explain anything except how to install it and it still doesnt work…

i get the impression that after the install is done and uploaded to my server that it should be tracking the extensions in the box in preferences. is that it?

well, i see nothing…in the results so something is afoot. little help?

Till
Pepper Developer
Posted on Sep 26, '07 at 01:55 pm

I can’t help you without knowing your minted domain.

rwright
Minted
Posted on Sep 27, '07 at 02:07 am

Hmm, don’t know what both of your problems are, but I have installed v109, and until now I don’t have any problems…

I use option 3 (which is through .htaccess and &force)

ok, that is no help, why did you bother? imma uninstall it, it’s useless currently…

Till
Pepper Developer
Posted on Sep 27, '07 at 11:05 am

troppmann, you problem has been fixed with Downloads v2.09.

CPerry
Minted
Posted on Oct 24, '07 at 10:04 pm

This pepper is currently not working for me either. I am using Mint v2.12 and Downloads v2.09.

I have it setup to automatically redirect per the pepper documentation. I then added pdf and mp3 to the extensions list in the preferences. It has not recorded anything as of yet, but I know for sure the mp3 (a podcast) has been downloaded several times. The PDF has been downloaded 14 times according to the built-in file trackers in Textpattern.

Any ideas on what the problem might be?

CPerry
Minted
Posted on Oct 24, '07 at 10:41 pm

UPDATE- I just updated to v2.13 of Mint, should I now uninstall and then reinstall the Download Pepper?

Till
Pepper Developer
Posted on Oct 25, '07 at 12:51 am

CPerry, please link me to your Mint installation, to help you.

CPerry
Minted
Posted on Oct 25, '07 at 08:53 am

My mint installation is located at dragyours.com/mint. I currently have it open so that you can view it. Do you need the login info to access the preferences? If so, give me an email addy.

CPerry
Minted
Posted on Oct 25, '07 at 10:07 am

UPDATE- I appear to have it working properly now, so disregard my last post.

I am now using the manual tracking method, but I think it actually had to do with the way that Textpattern assigns ID’s to files, so the link was like /file_download/12 rather than files/somefile.mp3. Once I changed the links to direct links to the file, the pepper seems to be working properly.

I will evaluate it for a little while and let you know if it fact is working properly.

CPerry
Minted
Posted on Oct 25, '07 at 10:15 am

One Problem- In Firefox, if you right-click and choose “Save Link As” it actually tries to save the tracker.php and not the file. In IE it works properly and saves the file. If you just click the link in Firefox, rather than right-clicking it plays the MP3 directly in the browser, instead of downloading it. Is there a way that I can fix this for Firefox?

Till
Pepper Developer
Posted on Oct 25, '07 at 11:00 am

Yeah, this problem has been discussed here.
You have to use Method #3, to get “right-click-save-as” working.

CPerry
Minted
Posted on Oct 25, '07 at 11:41 am

Okay, I created a .htaccess file with nothing in it but the following:


RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule .*      http://www.dragyours.com/mint/pepper/tillkruess/downloads/tracker.php?uri=http://%{HTTP_HOST}%{REQUEST_URI}&force

</IfModule>

I then placed that .htaccess file inside of my Files folder on the server. That Files folder contains the MP3 and PDF files that I am trying to track.

This method seems to be working, was this the correct way that I should have setup the method 3 route? I have another .htaccess file in my root that Textpattern uses, so I didn’t want to mess with it.

CPerry
Minted
Posted on Oct 25, '07 at 11:48 am

Sorry! That post got really jacked up for some reason!

Here is the .htaccess file contents

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule .* http://www.dragyours.com/mint/pepper/tillkruess/downloads/tracker.php?uri=http://%{HTTP_HOST}%{REQUEST_URI}&force
</IfModule>
CPerry
Minted
Posted on Oct 25, '07 at 12:36 pm

Nevermind….I have the Downloads Counter pepper working fine so I will just use it instead.

Till, I really appreciate your help in trying to get this resolved, I just for the life of me can’t get it to work properly and tracking the downloads is extremely important for my site.

I will be sure to try it out again when I have some more time to sit down and figure out.

You must be logged in to reply. Login above or create an account