Unknown column 'l.eid' and no coordinates in .kml files

marcoBauli - March 30, 2007 - 09:07
Project:KML module
Version:4.7.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Howdy,

after installing KML module i get the following warning:

user warning: Unknown column 'l.eid' in 'field list' query: kml_interface SELECT n.nid, n.created FROM node n WHERE n.status = 1 AND n.vid IN (SELECT l.eid FROM location l WHERE l.source != 0 AND l.type = 'node' AND l.eid = n.vid) AND n.nid = 603 in /home/public_html/test/includes/database.mysql.inc on line 120.

and my .kml file does not contain any latitude or longitude (i've attached a sample node.kml file).

Can anyone please give a hand on this? Only clue i have is that maybe i need to upgrade to a more recent version of Drupal or Location? cheers

Drupal 4.7.2, location.module v 1.62 2006/04/19, latest 4.7 version of KML.

#1

marcoBauli - March 30, 2007 - 09:12

uops, here's the file..renamed to .txt to be able to upload

AttachmentSize
nodes.txt 526 bytes

#2

geodaniel - April 6, 2007 - 12:44

There was a change in location module that meant one of the columns was renamed to eid. You should update to the latest version of Location Module to get KML Module working again. Don't forget to run update.php when you do that as well.

#3

marcoBauli - April 6, 2007 - 13:37
Status:active» fixed

just upgraded and works a treat! thank you :)

#4

Anonymous - April 20, 2007 - 13:48
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.