I'm trying to install the knowledgetree module and followed all of the instructions with a few exceptions:
"5. Fill out the administration form in site configuration for KnowledgeTree."
--I have no idea what this means, whether this is referring to the KnowledgeTree install or Drupal, etc. etc. Very confusing!
"6. Run the following SQL on the KnowledgeTree database:
INSERT INTO interceptor_instances (id, name, interceptor_namespace)
VALUES (1, 'DrupalInterceptor', 'drupal.drupal.interceptor');"
--Because there was already an inserted row for id 1, I ran this exact same SQL but changed the id to 2. Why, in fact, they included the id in the instructions doesn't really make sense to me, usually that's auto-incremented...
Finally, I tried changing the path here
http://dms.beanisland.com/admin/settings/kt
for the KnowledgeTree login to the full URL (after figuring out that they didn't actually mean PATH when they said PATH...)
http://beanisland.com/knowledgetree/login.php
This sort of seemed to work, I got a little message about logging in, but nothing ended up happening. However, at least there's no "can't find the page" problem any more. I then thought that, hey, maybe it's a cookie issue or something, so tried logging in with Safari, but that didn't work either--just hangs with "Loading document manager" message.
Comments
Comment #1
cpotter commentedFirst of all, thanks for this module.
However, i have exactly the same problem than above
a) I don't understand STAGE 5 : Fill out the admin form
b) And when I follow exactly the instruction plus your 2 tricks (ROW 2 and absolute path), I have a blank page on Firefox and a "Loading document manager..." forever on Opera. Once I had in the source page a "your browser does not support iframe" !
Comment #2
alexpottI definitely need to improve the instructions on stage 5!
The admin form referred to is http:///admin/settings/kt - the most important setting is the path to the knowledge tree application. If this is not set correctly then knowledge can not load in the iframe.
Comment #3
f0rd42 commentedHi
1st of all: thanks for this module, I wish I could get it to work :-)
I followed all steps (apart from Step 9 for the beginning).
After following the trick with the relad http path I get at least the login window in an iframe in FireFox, but in Safari I just tget "Loading Document Manager".
So, even FF doesn't log me in.
I drupal I authenticate against LDAP and the user I'm using is already in drupal (if the makes any difference).
So, I can't get it to work, i.e. log me in.
Any help is highly appreciated.
Andre
PS: Step 1: there was no config.ini, but a test.ini containing the [db] part, so I used that instead of the missing config.ini.
PPS: the module itself was already enabled in the plugins overview in kt.
PPPS: when I try to use the username / password used for drupal in the diplayed login window of kt, I get "unknown user"
Andre
Comment #4
f0rd42 commentedgot it a bit further ....
Now I get "'No config for Drupal XMLRPC server' when trying to access KT DMS. :-(
I've seen that in the plugin code but I have no clue how to fix it.
Comment #5
alexpottThe 'No config for Drupal XMLRPC server' is because the knowledge tree configuration file doesn't contain the needed settings for drupal... there must be a config.ini file somewhere in your knowledge tree install.
Comment #6
f0rd42 commentedfound it!!!
it was hiding under /etc/knowledgetree/ce
I was looking unter the config folder of kt all the time. it's working like charm now ..
thanks
Andre
Comment #7
f0rd42 commentedsort of ....
it works using Firefox, but using Safari still gives me the spinning weasel saying that it's loading the dms ....
I enabled the error console of safari, but it doesn't show anything obvious...
---cut---
TypeError: Result of expression 'this.html' [undefined] is not a function. kt.js:34
XHR finished loading: "http://deblnsupp01.zycko.de/knowledgetree/plugin.php?kt_path_info=ktlive...". update.js:12
---cut---
Andre
Comment #8
f0rd42 commentedanyone?
As I'm working on a mac, this is quite annoying :-)
thanks
Andre
Comment #9
alexpottHi Andre,
I've tested the module on my mac and iphone and it works just fine - although this is with an old version of knowledge tree.
I will try to do some further testing this weekend.
Cheers
Alex
Comment #10
thepanz commentedI can confirm the issue with Opera Browser (same error in #7).
The bug/issue should reside in the kt.js script and the IFrame handling.
My solution? redirect the user to the "external" KT website and let the module handle the login auto-magically :)
The user won't be "distracted" from using a website within another one! :)