Blank page no matter what
| Project: | KnowledgeTree integration |
| Version: | 5.x-3.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Jump to:
Version Knowledgetree: 3.4.5
Version: Test with Drupal 5.3 and Drupal 5.6
I installed knowledgetree inside the drupal directory (=documentroot) and followed the instructions regarding the session names issue. Knowledgetree administration says: Session names match (SESS1301cb80af8c216af16727aeaec8db47). KnowledgeTree integration will work.
However, once the Drupal-interceptor is inserted to the db (kt_integration module aktivated), clicking on the dms-link results in a blank page. When the interceptor is deleted (kt_integration module still active), I get the knowledgetree-login-screen.
These are the relevant sessions:
1) Name: SESS1301cb80af8c216af16727aeaec8db47
Content: 8dc0933796beebee8553a24c96582e1c
Host: intranet
Path: /
2) Name: PHPSESSID
Content: 00f8b4b03297b4a783d00c2790663ce7
Host: intranet
Path: /
Here are the relevant settings in drupal settings.php:
$base_url = 'http://intranet';
/**
* PHP settings:
*
* To see what PHP settings are possible, including whether they can
* be set at runtime (ie., when ini_set() occurs), read the PHP
* documentation at http://www.php.net/manual/en/ini.php#ini.list
* and take a look at the .htaccess file to see which non-runtime
* settings are used there. Settings defined here should not be
* duplicated there so as to avoid conflict issues.
*/
ini_set('arg_separator.output', '&');
ini_set('magic_quotes_runtime', 0);
ini_set('magic_quotes_sybase', 0);
ini_set('session.cache_expire', 200000);
ini_set('session.cache_limiter', 'none');
ini_set('session.cookie_lifetime', 2000000);
ini_set('session.gc_maxlifetime', 200000);
ini_set('session.save_handler', 'user');
ini_set('session.use_only_cookies', 1);
ini_set('session.use_trans_sid', 0);
ini_set('url_rewriter.tags', '');
/**
* Drupal automatically generates a unique session cookie name for each site
* based on on its full domain name. If you have multiple domains pointing at
* the same Drupal site, you can either redirect them all to a single domain
* (see comment in .htaccess), or uncomment the line below and specify their
* shared base domain. Doing so assures that users remain logged in as they
* cross between your various domains.
*/
$cookie_domain = 'http://intranet';This the relevant config in knowledgetree config.ini:
[drupal]
; DrupalURL should contain the full address of your Drupal site eg. http://www,example.org/
; include trailing slash
drupalURL = http://intranet/
;Setup for drupal interceptor
;enter the server address for the xmlrpc server for the Drupal install eg. xmlrpc.php
drupalXmlrpc = xmlrpc.php
; Path to logout from the portal web site. Normally logout
logoutURL = logout
#1
Are you able to log in using DMS page with admin user when the drupal plugin is disabled and there is no row in the interceptor table?
The user normally is admin and the password is admin too...
If you are not then there is something wrong in Knowledge tree's config.ini - you probably need to set the rootUrl parameter
Regards,
Alex
#2
Alex, thanks for your reply. Yes, I can log into KT via http://intranet/?q=DMS OR http://intranet/knowledgetree/login.php when the kt.module is active and interceptor table is empty.
After deactivating the kt.module in drupal, I get redirected to
http://intranet/DMS?kt_page=http%3A//intranet/knowledgetree/dashboard.php (page not found) when trying to log in via http://intranet/knowledgetree/login.php.
Tried setting the rootURL in kt config.ini manually to rootUrl = /knowledgetree - no success regarding the blank page issue....
Thanks for any hints or ideas in advance!
Regards,
Oliver
#3
As soon as I insert the interceptor entry to the KT database table, KT stops working. I've tried all the suggestions in this post and others. However, I only receive a blank KT space within the iframe. I tried going directly to dashboard.php in KT but it returns a "login required" error in the URL with a blank screen.
I'd really like to get this module working as both Drupal and KT are great applications. This module is an excellent idea.
I'm using version 5.x-3.1 with the latest version of Drupal 5.x. Please let me know aht other information I can provide to help in diagnosing this issue. Thank you!
#4
I'm not sure what changed. Perhaps I removed a conflicting module. The KT module is now working with KnowledgeTree.
#5
ianchan, I'm curious if you ever figured out what resolved the 'blank screen' issue on your end. I'm experiencing the same problem with the latest 6.x version of the kt module, version 6.6 of drupal and version 3.5.4 of KnowledgeTree.
Thanks,
Basel
#6
Unfortunately, it's a bit of mystery. It may have been related to user sessions and cookies. However, I made so many tests and adjustments to the Drupal settings.php file, and at the same time fixing other modules, that I lost track of when the KT integration began to work.
I am fairly certain that it was an issue of transferring user login session data between the two applications.
BTW - are you using the Realname module? One theory of mine was that an earlier version of that module was causing the problem.
#7
Thanks for the tip ianchan, that at least gives me a direction to start looking. I do not have the realname module, but I will disable some of the other modules I have running and try tweaking the settings.php file as you have. I'll post back as soon as I am able to find a resolution.
Thanks.
#8
Hi, I'm getting the same problem.
I'm much less advanced than you guys when it comes to digging around in PHP, which I'd rather steer clear of until I've climbed the Drupal learning curve a bit more.
Did you guys find a resolution to this problem?
- Jamil
#9
@JayKayAu
A couple of questions - is KnowledgeTree application (not just the Drupal module) installed and working?
Is the site available online - can I have a look to see what the problem is?
Regards,
Alex
#10