Upgrade not working
| Project: | GMap Module |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
I just tried to upgrade my gmap module and after the upgrade I see this on a page that contains a map:
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/xxx/public_html/modules/gmap/gmap.module on line 627.
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/xxx/public_html/modules/gmap/gmap.module on line 627.
user warning: Unknown column 'eid' in 'where clause' query: gmap_location_user SELECT * FROM location WHERE eid=3 AND type='user' in /home/xxx/public_html/includes/database.mysqli.inc on line 112.
user warning: Unknown column 'eid' in 'where clause' query: gmap_location_user SELECT * FROM location WHERE eid=50 AND type='user' in /home/xxx/public_html/includes/database.mysqli.inc on line 112.
user warning: Unknown column 'eid' in 'where clause' query: gmap_location_user SELECT * FROM location WHERE eid=3 AND type='user' in /home/xxx/public_html/includes/database.mysqli.inc on line 112.
The reason for me to upgrade is that for some reason I cannot see maps anymore. I only get errors in my log like this:
http://www.mysite.com/http://www.acme.com/javascript/Clusterer2.js not found
and
http://www.mysite.com/http://dist.codehaus.org/geoserver/gmaps-geoserver... not found
Looks like something is messed up with the base url.

#1
The same happens to me. But the error message only appears when editing any page with maps.
Has anybody got any idea about this problem and how to solve it?
#2
I had the same issue...
I changed the oid column for eid. and now it works
ALTER TABLE `location` CHANGE `oid` `eid` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0'
#3
thank you this worked for me too:
ALTER TABLE `location` CHANGE `oid` `eid` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0'
#4