Closed (fixed)
Project:
geoPHP
Version:
7.x-1.5
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2012 at 05:42 UTC
Updated:
16 Sep 2012 at 10:51 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | undefined_function-geophp-1759520-15.patch | 377 bytes | robcarr |
Comments
Comment #1
npetronikolos commentedsame error occurred to me too
Call to undefined function geofield_load_geophp() in /var/www/sites/all/modules/geophp/geophp.module on line 32
Comment #2
klagler commentedSame here during update.
Comment #3
webmaster-eddie commentedsame 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:
Comment #4
de_chris commentedSame 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?
Comment #5
gsquirrelIt 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
Comment #6
gsquirrelBy the way I should have said that change was to line 32 of geophp.module
Comment #7
DaanGeurts commentedFor what I can tell, the comment #5 seems to fix the problem.
Comment #8
adel-by commented#5 fixes it for me too.
thanks.
Comment #9
kapep commentedI've updated several modules in a single step and can't run any required database updates of other modules.
#5 works for me too.
Comment #10
oceanos commentedCould not access admin/config any more.
#5 works for me.
Comment #11
jjmonterey commentedHad same problem after update
#5 works for me
Thanks gsquirrel for the leaflet heads-up
Comment #12
chaseonthewebThis 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.
Comment #13
Avalanche commentedConfirm same error, and #5 fixed it. Thanks!
Comment #14
tgeller commentedSo 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.
Comment #15
robcarrHere's the briefest of patches following #5. Need 7.x-1.6 released ASAP before this can be marked as fixed.
Comment #16
gilzero commented#5 works for me. +1
Thanks.
Comment #17
jelle_s#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).
Comment #18
Qitek commentedI 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
Comment #19
microniko commented#5 works for me.
+1
Comment #20
Qitek commented#5 and #15 dont works for me, now is problem on line 34 for me
Comment #21
phayes commentedThis 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.
Comment #22
phayes commentedComment #23
rgracia commented7.x-1.6 IS giving me the error?! How can I revert now?
Comment #24
rgracia commentedComment #25
rgracia commentedComment #26
tgeller commentedThanks for the fast action! Good work all around.
Comment #27
Qitek commentedwith 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
Comment #28
mrpeanut commented@Qitek — Are you sure you're using 7.x-1.6? That version works for me, and there are no other bug reports.
Comment #29
Qitek commentedI´m sure, I uninstalled old version and new version 1.6 makes fatal error on line 54 :-(
Comment #30
phayes commentedWhat's the fatal error?
Comment #31
Qitek commentedSimply 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.
Comment #32
Qitek commentedSo problem isnt in modul but probably in my hosting setting.