Timeout fetching bitstream from URL

gmak - January 27, 2009 - 17:52
Project:Bitcache
Version:6.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Arto
Status:closed
Issue tags:set_time_limit, timeout
Description

This may be a 'bug' in my logic, but...

I'm trying to get a bitcache entry based on a file that was uploaded via ftp. The file is located at the url http://not.really.url/sites/all/files/myfile.blah. when I put this URL into the field and click 'Submit' it chugs away for a short time and then returns a white screen. No errors are shown in the log.

The file is 200 meg (which is why it was uploaded via ftp rather than through, in my case, FileFramework).

Any ideas no how to either track the problem or fix it?

#1

Arto - March 17, 2009 - 18:34
Title:white screen on 'Fetch Bitstream from URL'» Timeout fetching bitstream from URL
Component:Code» User interface
Category:bug report» support request
Assigned to:Anonymous» Arto
Status:active» fixed

This sounds like a typical PHP timeout; that is, the execution exceeds the maximum time allowed (typically 30 seconds).

Since you indicate the file is on the same web server as your Drupal installation, it would be better to fetch it from the file system rather than over HTTP. If you know the full file system path, just enter that in the URL box in the form file:///home/myuser/mydrupal/sites/all/files/myfile.blah. (Take note of the three forward slashes.)

I've also changed the CVS version so that it will attempt to circumvent the execution time limit when fetching a big file. Please try the next release once it is out later this week.

#2

System Message - March 31, 2009 - 18:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.