"Document contains no data"

Talen

Joined: 2005-12-15
Posts: 9
Posted: Thu, 2005-12-15 03:03

Ok, so heres the thing. Installed Gallery2 without a hitch. Changed php's memory limit to 16mb, and all seemed fine. I'm having trouble uploading jpg's that contain metadata (exif, dcim, etc). I can upload jpg's from things like screenshots, etc. But anything from a digital camera, fails with the error: "Document contains no data.". I've de-activated the Exif module, and I still have the same problems. Any other info needed, please let me know, I'll be happy to supply it.


Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.2.2 apache2filter
http://www.clanparadox.net/phpinfo.php
Webserver = Apache/2.0.40 (Red Hat Linux)
Database = mysql 3.23.58
Toolkits = ArchiveUpload, ImageMagick, SquareThumb, Thumbnail
Operating system = Linux stripples.devel.redhat.com 2.4.21-1.1931.2.274.entsmp #1 SMP Tue Jun 24 11:18:10 EDT 2003 i686 i686 i386 GNU/Linux
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-12-15 03:34

if the exif module is active, disable it (in site admin -> modules).
if your digicam images are just larger than other images, then it's probably:

FAQ: Why can't I upload big files (over a megabyte or two)?

your current upload limit from phpinfo:
upload_max_filesize 2M

 
Talen

Joined: 2005-12-15
Posts: 9
Posted: Thu, 2005-12-15 13:21

" I've de-activated the Exif module, and I still have the same problems. Any other info needed, please let me know, I'll be happy to supply it."

I've already deactivated it. I'll try changing the upload_max_filesize limit, but that would normally give an error if it failed due to that, wouldnt it?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-12-15 16:10

you can see if the upload limit changes took effect in
add items -> from browser (in the text, there are the limits).

also, don't forget apache2's limitrequestBody if the issue persists.