Zubrag.com
February 03, 2012, 09:02:50 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: corrupt zip downloads  (Read 3100 times)
misterjamie
Newbie
*
Posts: 3


« on: October 24, 2007, 08:02:15 am »

Hi,

I have been using this script for a long while now, but as of yesterday, I can no longer extract the zip files that are downloaded (the archive is either in unknown format or damaged) ... I'm sure it's not the script that is at fault, and I have read that thread that has the same issue with pdf's, but to no avail... any ideas?

Thanks in advance

Logged
misterjamie
Newbie
*
Posts: 3


« Reply #1 on: October 24, 2007, 09:01:19 am »

as a side note.... if I use the direct download link... ie, www.mysite.com/zipfie.zip   the file downloads fine, but if i use the download.php script, the download will not extract...

thanks!
Logged
zubrag
Administrator
Hero Member
*****
Posts: 744


WWW
« Reply #2 on: October 24, 2007, 11:22:54 am »

How big corrupted is that zip file? Could you send me good one and corrupted one to admin a t zubrag.com?  I suspect some extra characters are added at the beginning of the file.
Logged
misterjamie
Newbie
*
Posts: 3


« Reply #3 on: October 25, 2007, 07:27:16 am »

Hi,

it makes no odds what size the file is... if i just zip up a text file and use that, same thing happens. I tried to email you, but the emails kep bouncing back.

<snip>
Logged
zubrag
Administrator
Hero Member
*****
Posts: 744


WWW
« Reply #4 on: October 25, 2007, 10:26:24 am »

It is throwing error into zip file:

<br />
<b>Warning</b>:  set_time_limit() has been disabled for security reasons in <b>/home/fhlinux162/d/example.com/user/htdocs/lot49/str3/includes/download.php</b> on line <b>16</b><br />

In order to fix, you either have to enable set_time_limit function (best), or remove "set_time_limit" reference from download.php (not good, as bigger files may be processed incorrectly because of time out)
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC