I received this warning everytime when I try to upload everything including zip archive with .dbf, .prj, .shp, .shx files.
So i think it's a bug

Comments

gagarine’s picture

You have the ZIP extension enable?
See #485530: PECL Zip Requirement

Daniel A. Beilinson’s picture

yes! but nothing changed

gagarine’s picture

Mmmm sorry I can help more I never use the geo data module actually. Have you try with the dev version?

Anonymous’s picture

Looks like this error will occur if the file is is unreadable or non existent, or if zip open does not produce a valid resource. I ran into this error because my file didn't exist - in other words it wasn't being uploaded to $_FILE. In my case the reason it was not being uploaded was because my file was larger than the upload limit set in php.ini.

Solution: increase the upload_max_filesize variable in php.ini

You can check your sites upload limits if you go to /admin/settings/uploads.

In my case this was not a bug, but a configuration issue.

wylbur’s picture

Status: Active » Closed (works as designed)

Also related to this issue http://drupal.org/node/987264, which also defines max_allowed_packet. Marking this issue as closed.