Closed (fixed)
Project:
Asset
Version:
5.x-1.0-rc1
Component:
Asset Import
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2008 at 20:38 UTC
Updated:
4 Sep 2008 at 23:31 UTC
I installed Asset to be able to include .flv files on pages, and it works great for that.
However, I used Asset Import to get the .flv files to the host, as they are too large for a normal upload. As I was testing on my local PC and preparing files, I had a set of files in the import directory, including files of type ,jpeg, ,mpg, .mpg.scn, and .flv. When I ran the asset importer, I got a long pause, then just a white screen. It had worked before for me, so I removed all files from the import directory except the .flv files, and it worked fine.
There seems to be some problem with the Asset Import module processing these unrelated files, if only to skip considering them.
Comments
Comment #1
wmostrey commentedI'm not sure what you mean with "unexpected" files? The asset_import module can import any document, this includes flvs of course. Could you take a look at your apache error log file and tell me what error you're getting? If it's a connection time out, I might integration the asset_import module with job_queue.
Comment #2
wmostrey commentedComment #3
bdornbush commentedI guess I didn't think that Asset would handle all file types. Good to know. Now I will have to try to reproduce my work. It may take a few days.
Comment #4
bdornbush commentedI tried this again, with the same white screen result, and there was no entry in the error.log, and the following in the access.log:
127.0.0.1 - - [03/Sep/2008:12:12:07 -0700] "GET /admin/content/asset_import HTTP/1.1" 200 -
I started removing files one by one, starting with the largest files, which were 2GB .mpg files. After I removed both of the .mpg files, I got the expected asset import screen, and the access.log showed:
127.0.0.1 - - [03/Sep/2008:12:17:19 -0700] "GET /admin/content/asset_import HTTP/1.1" 200 38513
The remaining files were a mix of .jpeg and .flv files.
I removed all files from the import directory, and put back one of the 2GB .mpg files, and I got a long pause, then the expected asset import screen. When I put back the second 2GB ,mpg file, I got another long pause, then the white screen again.
I am running on a local server, on my (fast) laptop. If I were using too much php time, I would have expected an error message on my screen rather than just a white screen.
Comment #5
wmostrey commentedI'm moving this to the support queue. It's indeed really weird that you're not getting an error, I would definitely expect a timeout or a mem limit. Are you using a self-compiled LAMP or WAMP/MAMP?
Comment #6
bdornbush commentedI use XAMPP:
###### ApacheFriends XAMPP (basic package) version 1.6.6a ######
Apache 2.2.8
MySQL 5.0.51a
PHP 5.2.5 + PHP 4.4.8 + PEAR
Comment #7
wmostrey commentedI'm pretty sure you hit a bug in apache in that it can only handle files up to 2GB:
http://www.google.com/search?hl=en&q=apache+files+2GB
So I feel this is unrelated to the asset module, and that this is why you're not getting an error report. Feel free to mark the issue as closed if you agree.
Comment #8
bdornbush commentedSince we have a workaround (just don't do it), I'll close the issue.