difficulty installing

chlobe - June 23, 2007 - 15:50
Project:KnowledgeTree integration
Version:5.x-1.x-dev
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi

Once again thanks for the module, it's great to be one step closer to integrating KT with Drupal. I am a novice in php and not particularly adept at in getting under the hood of Drupal and mixing it with code which is probably the reason why I am having trouble with the configuration of the module. Could I ask for your patience in a few general questions in relation to your install instructions:

1. Do the KT tables have to be loaded with the Drupal tables? If so do they need a prefix?
2. I'm not at all clear what the Webcal configuration is and its relevance: instructions note "4. Configure the webcal module in Drupal: administer->settings->Knowledge tree. [??? This has me stumped ]." Also when you refer to "set the permissions for accesing webcal in Drupal:login to kt = user can access to kt kt admin = user can admin kt parametres" I'm assuming this is the user authorisation permissions for the KT module in Drupal.
3. When copying the login.php and control.php in Step 7 I assume you mean login and control php files in the KT module? Could you give some tips as to what the setting are that need modifying in login.php noted in step 7.

Any assistance on these would be very gratefully received.

Thank you.

#1

haimoura - June 25, 2007 - 07:51

Hi,
sorry, for my "bad" install file.

I will try to explain how to get the module working.
1. For my application , kt and Drupal are not in the same data base, but you can do that, alla that you have to change is the config part of the login.php in the directory of knowledge tree.
2. I'm sorry for the word "webcal", my module is inspirated from the webcal module so i've missed the the word in the install file.
3. login.php and control.php must replace the login.php and control.php in the directory of knowledge tree.

This module is my first contribution , it's very basic , so i'm ready to collaborate in order to make this integration more interessting.

#2

chlobe - June 26, 2007 - 11:36

thanks for the reply haimoura, much appreciated

thanks for clearing up the webcal confusion. Do any of the .htaccess files have to be modified? I am no expert on these things but after the initial login I keep ketting an 'Object not found' error and the url seems to be redirecting.

thanks again, sorry for the annoyance.

#3

chlobe - June 28, 2007 - 12:57

haimoura, please disregard previous post - I am so close now I can taste it.... ;)

Update:

1. I have installed KT in a subdirectory of my drupal install and have logged in successfully
2. Have reached the final step in your install instructions (copied login and control and overwritten original KT files and modified config settings in login.php)

My hunch is that I need to modify the settings that refer to KT being in a separate database I have installed KT in a separate database: those after

// Are Drupal's tables in the same database as WebCalendar's? (KTs)

If this is the case any tips?

#4

haimoura - June 28, 2007 - 15:36

Hi,
it's work for you now or not?
you can find here a support HERE
Hope that help you
PEACE

#5

chlobe - July 13, 2007 - 11:15

Hi again

have really battled with making this work - thanks for the link to the successful implementation but I am still yet to crack it. KT installed under Drupal root can be accessed and configured which I have done and replicated users on the KT site with Drupal users. However when copying over the login and control files I cannot seem to get KT up. Could you cast your eye over the KT login config when you get a chance, maybe it is something simple: [pla is the Drupal root]

// Full URL to Drupal (including http:// or https:// and a trailing slash)
$app_url = 'http://localhost/xampp/pla/';
$kt_url= 'http://localhost/xampp/pla/knowledgeTree/'; //url to knowledge Tree

// Is WebCalendar going to be loaded in an iframe?
$app_in_iframe = true;

// Name of database containing Drupal's tables
$app_db = 'pla';

// Host that Drupal's db is on
$app_host = 'localhost';

// Login/Password to access Drupal's database
$app_login = 'XXXXX';
$app_pass = 'XXXXXX';

// Drupal's database prefix
$app_db_prefix = 'drupal_';

I have a feeling it may be the next section which configures the shared/standalone databases. My Drupal and KT sites do not share a database

Thanks again for your time and effort.

Kind regards

 
 

Drupal is a registered trademark of Dries Buytaert.