The error occured while and after upgrading from Geofield 7.x-2.x-dev (2012-Sep-04) to Geofield 7.x-2.x-dev (2012-Dez-19).

The problem was an outdated geoPHP library (it had been 1.0 then). The current release 1.1 can be downloaded at:
https://github.com/phayes/geoPHP

It had to be put into: sites/all/libraries and solved the problem for me.

Now running Geofield 7.x-2.x-dev (2012-Dez-19) and geoPHP 7.x-1.7 (2012-Nov-05), works fine.

Comments

smichel’s picture

I was getting the error on line 65. I downloaded the new library as kreatL suggested, but needed to copy it to inside the geoPHP module instead, and now it works.

GreenSkunk’s picture

New geoPHP library worked for me too.

Simon Georges’s picture

Status: Needs review » Fixed

It seems to be ok now, isn't it?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ndobromirov’s picture

libraries[geoPHP][type] = "libraries"
libraries[geoPHP][download][type] = "git"
libraries[geoPHP][download][url] = "https://github.com/phayes/geoPHP.git"
libraries[geoPHP][download][branch] = "master"
libraries[geoPHP][download][revision] = "0aae7c3d35f3a875bf58ff8abfc5fa27c0ca1408"

Just add this to your make file. This is the head revision of the library as of the time of writing this comment.

Justincletus’s picture

Issue summary: View changes

Git Control version fixed above mentioned problem thanks.

Satyam Upadhyay’s picture

Same error I was facing, and fixed