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 |
Jump to:
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
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
Automatically closed -- issue fixed for 2 weeks with no activity.