Missing file geonames_cck.views.inc

webmonster1 - August 14, 2008 - 22:05
Project:Geonames CCK
Version:5.x-1.1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

When the views module is enabled, this module requires the non-existent file geonames_cck.views.inc on line 741

// ==================== views ================= //

if (module_exists('views')) {
    require_once(drupal_get_path('module', 'geonames_cck') .'/geonames_cck.views.inc');
}

Also, this file doesn't exist in the CVS...

#1

sidharth_k - September 12, 2008 - 01:04

I am facing this error too!

Please help!

subscribing

#2

telefunken - September 13, 2008 - 01:13
Priority:normal» critical

me too!

#3

Trevor Collins - September 19, 2008 - 08:15

I have a same problem - anybody know of any workarounds?

#4

g.idema - September 30, 2008 - 14:41

I had the same problem. As a workaround I commented out the offending line. The views won't work anyway as long as the geonames_cck.views.inc is missing:

// ==================== views ================= //

if (module_exists('views')) {
   // require_once(drupal_get_path('module', 'geonames_cck') .'/geonames_cck.views.inc');
}

After this fix, I still got error messages about missing columns, because I was upgrading from 5.x-1.0.
I had to add two columns to my content_field_location table:
field_location_icon varchar(250) NULL
field_location_shadow varchar(250) NULL

Replace location with your own fieldname if necessary.

Gertjan

#5

the greenman - October 20, 2008 - 13:41

Hmmm. Sorry about this one, I have been away. I don't know why the file is not there - the CVS log shows it added. It did not help that I had linked to the wrong CVS repository in the project node either.

Anyway the file is available here: http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/geonames_cc...

I will take a look to see why the release missed it.

#6

g.idema - October 20, 2008 - 19:13

Thanks! I'll add it.

#7

hansrossel - November 13, 2008 - 21:24

Hi, thanks for the help, but you are pointing at the geonames_cck.theme.inc which is indeed present, it is the geonames_cck.views.inc which is missing, it is not in the list at http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/geonames_cck/

#8

j0rd - December 19, 2008 - 13:17

So can we get this file added to a release? Currently geonames_cck stable release is completely broken.

#9

russellb - January 30, 2009 - 17:07

Hi, just had this drawn to my attention. Greenman is away, back soon. Please contact me on boblists AT brightonart DDOT org if you need immediate assistance. Russell.

#10

the greenman - February 6, 2009 - 11:28

Hey Folks,

My apologies for not keeping on top of this. I have just checked in my dev release. This is code we are using live on School of Everything, so it should be pretty stable - but there may be a little non-generic bits in there.

 
 

Drupal is a registered trademark of Dries Buytaert.