Hello,

I have updated to geophp-7.x-1.5 and when visiting /reports/status experience the following issue: Fatal error: Call to undefined function geofield_load_geophp() in /var/www/market/sites/all/modules/geophp/geophp.module on line 32.

Comments

npetronikolos’s picture

same error occurred to me too
Call to undefined function geofield_load_geophp() in /var/www/sites/all/modules/geophp/geophp.module on line 32

klagler’s picture

Same here during update.

webmaster-eddie’s picture

same error -

Fatal error: Call to undefined function geofield_load_geophp() in /var/aegir/platforms/D7Group1/sites/domain.com/modules/geophp/geophp.module on line 32

I receive this error when trying to update the db. Also, I get a blank page error 500 when trying (unsuccessfully) to reach status report or configuration from admin gui:

de_chris’s picture

Same Error during update process
Fatal error: Call to undefined function geofield_load_geophp() in C:\Program Files (x86)\PostgreSQL\EnterpriseDB-ApachePhp\apache\www\ ... \sites\all\modules\geophp\geophp.module on line 32
also receive this error when trying to update the db - Postgres issue?

gsquirrel’s picture

It might just be the function change. There was similar error with patch for leaflet module that calls same function http://drupal.org/node/1621688, so I tried this:

- geofield_load_geophp();
+ geophp_load();

Seems to stop the error but not sure if it is right

gsquirrel’s picture

By the way I should have said that change was to line 32 of geophp.module

DaanGeurts’s picture

For what I can tell, the comment #5 seems to fix the problem.

adel-by’s picture

#5 fixes it for me too.
thanks.

kapep’s picture

Priority: Normal » Major

I've updated several modules in a single step and can't run any required database updates of other modules.

#5 works for me too.

oceanos’s picture

Could not access admin/config any more.

#5 works for me.

jjmonterey’s picture

Had same problem after update

#5 works for me

Thanks gsquirrel for the leaflet heads-up

chaseontheweb’s picture

Status: Active » Fixed

This appears to have been fixed as part of some other refactoring in the 7.x-1.x repo.

http://drupalcode.org/project/geophp.git/blob/refs/heads/7.x-1.x:/geophp...

For those on 1.5, the suggestion in #5/#6 appears to be the correct one.

Avalanche’s picture

Confirm same error, and #5 fixed it. Thanks!

tgeller’s picture

Status: Fixed » Active

So what's the solution for ordinary users? Will this be rolled into a new version? If so, when?

This is a big deal: The 1.5 update essentially breaks all sites that use it. I don't think we can consider it "fixed" if it requires an obscure patch.

robcarr’s picture

StatusFileSize
new377 bytes

Here's the briefest of patches following #5. Need 7.x-1.6 released ASAP before this can be marked as fixed.

gilzero’s picture

#5 works for me. +1

Thanks.

jelle_s’s picture

Priority: Major » Critical
Status: Active » Reviewed & tested by the community

#15 works. Please make a new release ASAP. Users don't like an entire site breaking down (white screen, black letters informing them of the error).

Qitek’s picture

I made patch from #15.
And now i have on site this: Fatal error: Class 'geoPHP' not found in /data/web/virtuals/26818/virtual/www/sites/all/modules/geophp/geophp.module on line 34

Now isnt problem on line 32, now is problem on line 34 for me

microniko’s picture

#5 works for me.

+1

Qitek’s picture

#5 and #15 dont works for me, now is problem on line 34 for me

phayes’s picture

This is now fixed.

This was due to bad tagging on my part when I released 7.x-1.5. I had release 7.x-1.6 to fix this.

phayes’s picture

Status: Reviewed & tested by the community » Fixed
rgracia’s picture

7.x-1.6 IS giving me the error?! How can I revert now?

rgracia’s picture

Status: Fixed » Active
rgracia’s picture

Status: Active » Fixed
tgeller’s picture

Thanks for the fast action! Good work all around.

Qitek’s picture

with geophp 7.x.-1.6
I have Fatal error: Class 'geoPHP' not found in /data/web/virtuals/26818/virtual/www/sites/all/modules/geophp/geophp.module on line 54

mrpeanut’s picture

@Qitek — Are you sure you're using 7.x-1.6? That version works for me, and there are no other bug reports.

Qitek’s picture

I´m sure, I uninstalled old version and new version 1.6 makes fatal error on line 54 :-(

phayes’s picture

What's the fatal error?

Qitek’s picture

Simply if geoPHP modul is installed on my site, i have message:

Fatal error: Class 'geoPHP' not found in /data/web/virtuals/26818/virtual/www/sites/all/modules/geophp/geophp.module on line 54

Maybe is problem with compability between other modules.

Qitek’s picture

So problem isnt in modul but probably in my hosting setting.

Status: Fixed » Closed (fixed)

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