CartMetrix - Do you know yours?

« PHPCow Customer Support | Home | Are You Using Google Conversion Tracking? »

2/22/2006

Mint Pepper DLoads v0.72

DLoads v0.72 is released.

This is a minor bugfix release.

Changelog:

Moved mint->record below file delivery routine, corrects a header error on some
servers
Added ini_set() to turn off output compression, if on
Added configuration var to set Abbr chars for long file name chopping in mint display

Download: DLoads v0.72
Full DLoads Pepper infomation: DLoads Pepper

Thanks to Scott Boms at …On A Long Piece Of String for information on a bug he found on his setup.

Popularity: 20%

Trackback:

Related Posts

7 Responses to “Mint Pepper DLoads v0.72”

  1. Alexis said:

    Dloads works really nice, but it seems like my server sometimes adds the ?phpsessid to the end of my links. If that is the case I get a 404 error when I try and download my file. Any way around this? I have asked for support from Dreamhost but have not heard back from them yet. I’ve had to remove the .htaccess file in my downloads file and stop tracking the downloads until I get this resolved.

  2. damonp said:

    Your PHP may be trying to add the session id automatically to the end of all urls. Try to disable this feature.

    You can add the following to your WP .htaccess:

    php_flag session.use_trans_sid off

    or something like this in your WP header:

    ini_set(’session.use_trans_sid’, false);
  3. Alexis said:

    Yeah I’ve tried to do both of those things but I think I may need Dreamhost to actually modify it on their end since those settings do not have any effect. There may be other users out there who need to append other variables to the end of a download file. Its something you may want to consider adding support for.

  4. damonp said:

    Did you look at a phpinfo() page to make sure those settings are actually taking?

  5. Alexis said:

    Well I upgraded to PHP5 and then the php_flag session.use_trans_sid was set to 0 and the variable stopped coming up. Weird thing though, as soon as I upload the .htaccess file to my downloads folder my main DMG stops downloading all the way. The download stops after going 1.8MB of 6.8MB. As soon as I remove the .htaccess file the download works again. This happened to me using Camino 1.0 and another user first alerted me to the fact that my DMG file was corrupt or not downloading all the way. This might all be way outside the scope of Dloads, but the .htaccess file definitely does not like my server and PHP5. This is my phpinfo() page. [ed. removed link for security reasons]

  6. damonp said:

    You need to check your webserver error logs to see what the error with the .htaccess file is.

    You can also try this snippet in dloads.php instead of the code there that gets the filepath:

    $request_uri = $_SERVER[‘REQUEST_URI’];
    // attempt to use alternate server variable to get filename if request_uri fails
    if(substr($request_uri, -10) == ‘dloads.php’)   $request_uri = $_SERVER[‘REDIRECT_URL’];  
    $request_uri_pieces = parse_url($request_uri);
    $file = urldecode($request_uri_pieces[‘path’]);
    $filepath = $base_dir . $file;
  7. Alexis said:

    I looked through my error logs and didn’t find anything at all. Its just really odd. Since upgrading to PHP5 I was able to not worry about the phpsessid since dreamhost’s default for php5 is php_flag session.use_trans_sid 0. But this new thing with files just getting cut off about 30% of the way is bizzare and I can’t seem to find any indication as to what is making it happen. Anyhow if you are interested in trying to figure this out contact me through email and I can see about giving you FTP access and all that. I think dreamhost hosts a lot of designers and bloggers who would be using Mint.

Post your opinion

Verification Image

Please type the letters you see in the picture.

Subscribe without commenting


damonparker.org is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

copyright © 2002-2008 damonparker.org. all rights reserved.

Close
E-mail It