Tried out this tutorial (http://www.istos.it/blog/mapping/openlayers-and-addressfieldis) today ... no joy.

All my Modules and Drupal core are latest versions.

Log says:
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_geolocate of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_cluster of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_drawfeatures of plugin... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_zoomtolayer of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_zoomtomaxextent of plugin... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_zoompanel of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_zoombox of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_scaleline of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_permalink of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_boxselect of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_mapformvalues of plugin... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_panzoombar of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_panzoom of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_dragpan of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_navigation of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_mouseposition of plugin... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_layerswitcher of plugin... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_keyboarddefaults of plugin... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_fullscreen of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_tooltip of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_popup of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_argparser of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_attribution of plugin type... admin
ctools 06/01/2011 - 16:25 Plugin openlayers_behavior_geofield of plugin type... admin

CommentFileSizeAuthor
#12 1175026-12.patch971 bytesdrzraf
#10 1175026-10.patch983 bytesdrzraf
#8 1175026-8.patch701 bytesdrzraf

Comments

barwonhack’s picture

Sorry, this (below) is the full message for items 1 and 2. All others follow the same pattern.

Plugin openlayers_behavior_geolocate of plugin type openlayers:behaviors points to nonexistent file sites/all/modules/openlayers/includes/behaviors/openlayers_behavior_geolocate.class.php for class handler behavior.

Plugin openlayers_behavior_cluster of plugin type openlayers:behaviors points to nonexistent file sites/all/modules/openlayers/includes/behaviors/openlayers_behavior_cluster.class.php for class handler behavior.

zzolo’s picture

Category: bug » support

Hi @smilne23. I am not able to reproduce this. Can you be more specific on what version of things you are using?

barwonhack’s picture

Status: Active » Closed (works as designed)

Heya @zzolo ... The issue was with a dev version of Views 3.

Thanks.

paulgemini’s picture

I've got the same issue:

Plugin openlayers_behavior_geolocate of plugin type openlayers:behaviors points to nonexistent file sites/all/modules/openlayers/includes/behaviors/openlayers_behavior_geolocate.class.php for class handler behavior...
etc etc etc (including the rest of the stuff the original poster mentioned)

Latest dev of OpenLayers + latest dev of Views, Ctools, Drupal, Location...everything,

h4ck3rm1k3’s picture

I am having the same issue , does anyone have a running map running with d7? I am tempted to go back to d6!
mike

drzraf’s picture

I also got this one but after pulling,
ctools => ac8b5aa..6b1ceaf
geofield => b1bbb6d..9e3c553
the error disappeared.

drzraf’s picture

1) I was a bit quick, the warnings are not gone, they are back each time I delete the cache.
2) why do I get my nickname in the "revision 1" issue summary each time I put a comment in a closed bug ?

drzraf’s picture

Title: Missing ... » behaviors not retrived by ctools registry
Status: Closed (works as designed) » Active
StatusFileSize
new701 bytes

The problem is still alive:
* ctools 7.x-1.x 56f360c
* openlayers 7.x-2.x 79f88aa

ctools/includes/registry.inc @_ctools_registry_files_alter()
always expected a type of array where all of "file" and "class" are on the same level.
I don't know how it used to work but the attached patch makes the "attribution" behavior warning to go away.
is it the right direction ?

related bugs: #610012: Fix compatibility with CTools 1.1 and #1056276: Problems with behaviors

drzraf’s picture

Title: behaviors not retrived by ctools registry » behaviors not retrieved by ctools registry
drzraf’s picture

StatusFileSize
new983 bytes

In case it is agreed as a ctools problem, the attached patch (for ctools) also _fix_ the problem.

drzraf’s picture

correction of #10, without the backslashes (sorry for the noise)

drzraf’s picture

StatusFileSize
new971 bytes

can't understand this bugtracker (can't we update attachments ?)
(sorry for the noise, bis)

batje’s picture

The patch against ctools causes problems with other modules it seems (for us with http://drupal.org/project/feeds_jsonpath_parser ) and should be posted & discussed in the ctools issue queue.

We ran into this issue after clearing the cache too. We started noticing in views that when asking for the settings of our Datalayers Data Overlay settings that the .json file was downloaded instead of returned properly.

In the logs we then saw the errormessages appear.

We applied above patches, but that didnt help too much. Upgrading to the current ctools dev version did not remove the error messages from the log, but did make the openlayers module generate maps again.

Not a lot of indepth info, but just to mention, this may still exists for some people.

Using:
openlayers 7.x-2.0-alpha2
ctools 7.x-1.x-dev
views 7.x-3.0-rc1

zzolo’s picture

Title: behaviors not retrieved by ctools registry » Correctly utilize Ctools plugins
Category: support » bug
Priority: Normal » Major

I am seeing these in the log. Though it does not affect the maps.

Plugin openlayers_behavior_zoompanel of plugin type openlayers:behaviors points to nonexistent file sites/all/modules/openlayers/includes/behaviors/openlayers_behavior_zoompanel.class.php for class handler behavior.

Obviously Ctools is trying to find a file that is not there. The ".class" part is not in our files.

I think this is caused because we are currently using the old way of utilizing plugins, which is mostly deprecated. This needs to be updated.

Related: #737678: Deprecate/Optional large hook definition in upcoming ctools release.

zzolo’s picture

Status: Active » Fixed

So, I ported everything over to the default Ctools plugin style, which are .inc files in a specific directory that have all the information. No hooks. This actually fixed the problem, but the issue was actually because of the structure of the plugin definition and arose when I added backwards compatability for hooks. This should be resolved now. Its a big change, so please feel free to test out.

Related and helped debug:
#1052538: CTools warnings: plugins points to nonexistent file
#1192538: Several nonexistent php files being pointed to.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.