Upgrade not working

andre75 - June 4, 2007 - 00:42
Project:GMap Module
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

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

eduar2 - November 11, 2007 - 21:44

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

hedac - November 27, 2007 - 22:02

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

murphyca - January 3, 2008 - 16:25

thank you this worked for me too:

ALTER TABLE `location` CHANGE `oid` `eid` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0'

#4

bdragon - May 28, 2008 - 21:54
Status:active» duplicate
 
 

Drupal is a registered trademark of Dries Buytaert.