Closed (fixed)
Project:
Geofield
Version:
7.x-2.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2012 at 09:27 UTC
Updated:
27 Nov 2012 at 01:10 UTC
I got this error when updating from 7x-2.x-dev to 7.x-2.0-alpha1:
PHP Fatal error: Function name must be a string in sites/all/modules/geofield/geofield.install on line 20
Comments
Comment #1
danharper commentedI also have this problem, I had to rollback to dev.
Comment #2
phayes commentedI just fixed this now in commit bb4846a69aa7c7514cf4d0860b8e3881b2855198. Can you try and re-open if it's the case?
Comment #3
Brandonian commentedMade of couple of commits to clear up edge cases, along with comment notes. Upgrades should be good to go.
If this still doesn't work, I had luck with debugging by manually clearing out my cache tables.
http://drupalcode.org/project/geofield.git/commit/82c65f1
http://drupalcode.org/project/geofield.git/commit/ecf8e57
Comment #4
cesareaugusto commentedI got the very same issue!
@phayes: How did you fix it?
@Brandonian: How to manually clear out the cache tables?
Comment #5
akalam commentedI can confirm this is fixed in 2.x-dev, but you must manually clear cache
@cesareaugusto you can do this with phpmyadmin:
- backup your database, since the following action cannot be undone
- open phpmyadmin and go to the table list page
- check the "cache" table, and also check all tables with the "cache_" prefix.
- Go to the page bottom for seen the options, and choose "with selected tables > truncate"
- Ensure that all tables begin with "cache_" prefix and you are not truncating any other table, and click "confirm"
- go back to your update.php page
Comment #6
cesareaugusto commented@phayes & Brandonian: Thank you for fixing! It works now!
@desarrollo2.0: Thanks for the quick tutorial mate!
Comment #7
Medraq commentedThanks lads for the quick work :o)
I used Navicat to view the tables. Deleting the cache just meant selecting all the "cache_xxx" tables (& "cache" itself) & choosing "Truncate" from the right-click menu.
The change log for the two updates you made to the offending file guided me through updating it in a text editor without issue.
Thanks again :o)