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 |
Jump to:
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
I am facing this error too!
Please help!
subscribing
#2
me too!
#3
I have a same problem - anybody know of any workarounds?
#4
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
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
Thanks! I'll add it.
#7
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
So can we get this file added to a release? Currently geonames_cck stable release is completely broken.
#9
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
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.