Being new to Geo module i was trying to work on some gis features in my drupal site and i get Geo module. it requires to import shape files i get some and try to work through it but everytime i try i kep getting this error

"Fatal error: Call to undefined function zip_open() in /hermes/bosweb/web056/b566/sl.berhanu/public_html/redfs/modules/geo/includes/shp2sql.inc on line 21"
I don't know how to correct or even where to start
i apreciate if i could get hand in hand documentation on geo and geocode modules too
thank you for your support

Comments

chrsnlsn’s picture

Ran into this also last week most likely it's due to zip not being included in your php build, as it is in my case running MAMP locally. You can check by looking at your info file, I tried enabling zip by following these instructions

http://developers.enormego.com/view/enabling_php_s_zip_extension_in_mamp

but got errors.

Hope that helps a little.

chrsnlsn’s picture

It was the zip extension, I upgraded my MAMP to the latest version which has it enabled and now it works but I also had to up my max_allowed_packet=16*1024*1024; Working now.

wylbur’s picture

Status: Active » Closed (works as designed)

The solution of enabling the zip extension and increasing the defined max_allowed_packet seems to work. Marking this issue as closed.