Keyword

Download link returns an internal server error

  • sebisu11
  • sebisu11's Avatar Topic Author
  • Offline
  • New Member
More
14 years 3 months ago - 14 years 3 months ago #38355 by sebisu11
Hi,

I have a strange issue here with this plugin.
For many video files (.flv) we share on the website, there is an internal server error that occurred only by clicking the download link. I mean the Flash player works fine.

Here is the header of the URL starting download :
Connection: close
Date: Thu, 03 Feb 2011 09:20:36 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: PHP/5.2.14
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Content-Type: application/force-download
Content-Length: 847280610
Content-Disposition: attachment; filename="Pres.flv"
Content-Transfer-Encoding: binary

500 Internal Server Error

It happens only with files over 150MB.

It clearly hangs at line 105 of download.php :
$file = @ fopen($filepath, 'rb')

Edit 09/02/2011: Internet explorer gives the error:
Unable to download download.php from www.mysite.com

Unable to open this Internet site. 
The requested site is either unavailbale or cannot be found. 
Please try again later.

I searched for a file size limit with php scripts but it sounds really strange to increase memory_limit in the php.ini file.

Is anybody can help on this please?

Regards,
Sebastien

Please Log in or Create an account to join the conversation.

  • sebisu11
  • sebisu11's Avatar Topic Author
  • Offline
  • New Member
More
14 years 2 months ago #38356 by sebisu11
Nobody can help?  :'(

Here is the error logged:

[09-Mar-2011 13:07:12] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 225503233 bytes) in C:\Inetpub\wwwroot\plugins\content\jw_allvideos\includes\download.php on line 111

???

Please Log in or Create an account to join the conversation.

  • sebisu11
  • sebisu11's Avatar Topic Author
  • Offline
  • New Member
More
14 years 1 day ago #38357 by sebisu11
I tried increasing the limit scripts may consume in php.ini -and restart IIS- but it's still return a '500 internal server error' when trying to download files bigger than 150 Mo.

I'm looking forward in IIS6.0 but nothing found yet.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum