I've been trying to integrate into a drupal 6 site - so far only the test site on my local host.

The installation of both Drupal and KT is fine.

I follow the install instructions and as soon as I drop the drupal module into the plugins directory, or rather as soon as kt refreshes the plugins view and loads the data into the plugins table I start to get problems.

Always the same one, as given below but with different plugins. These plugins all worked fine.

The problems persist even when I try to roll back - I've tried deleting the drupal plugin from the plugin table and plugin_helper table but the problems remain. I have to drop and rebuild the database, and more weirdly I have to delete all the code and reinstall it before things work again.

What can I do to get a handle on this?

Thanks

error message:-

Fatal error: Call to a member function getPagePath() on a non-object in /var/www/domainname.org/ktdms/plugins/tagcloud/TagCloudDashlet.php on line 82

Comments

mylesorme’s picture

Correction - by dropping the database and rebuilding it the error is eliminated

mylesorme’s picture

Status: Active » Needs review

The error seems to be in the plugin_helper table.

by doing a

DELETE FROM plugin_helper;

Then using the Drupal menu to reconnect to the dms it seems to work.

Hopefully

BTW - I'm marking this as patch (code needs review) - well its not a patch, but I couldn't see "workaround someone could so with taking a look and seeing if there's a better solution or else put it in the documentation"!

alexpott’s picture

Status: Needs review » Fixed

Updating issue to fixed

alexpott’s picture

This is probably an issue with Knowledge Tree and not Drupal... that's why I marked it as fixed. Clearing the plugin_helper table is often a solution to path issues in KT!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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