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...

Comments

sidharth_k’s picture

I am facing this error too!

Please help!

subscribing

telefunken’s picture

Priority: Normal » Critical

me too!

Trevor Collins’s picture

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

Anonymous’s picture

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

the greenman’s picture

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.

Anonymous’s picture

Thanks! I'll add it.

hansrossel’s picture

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/

j0rd’s picture

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

russellb’s picture

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.

the greenman’s picture

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.