Dual login in frameless mod

Moderator: fanno

Forum rules
Please post all the bugs you encounter on our issue tracker.

Dual login in frameless mod

Postby alfonsodiecko on Thu Apr 16, 2009 3:44 pm

Please fill up the following form to enjoy free support from our Team. No Support will be provided in case this form is not filled up!

1. Have you searched the forums and checked the documentation section for a solution?
yes

2. Please summarize your problem in a few lines.
The Duallogin works well when Dokuwiki is include in a iframe. If I log in with the active frameless mod I'm still out in the Dokuwiki.
3. What steps will reproduce the problem?
The Frameless mod
4. What is the expected output? What do you see instead?

5. You must include a printout of the login checker in the JFusion component.

Code: Select all
Joomla Version     1.5.10
PHP Version    5.2.0-8+etch13
MySQL Version    5.0.32
System Information    Linux localhost 2.6.18-12-fza-686 #1 SMP Sun May 18 12:30:42 CEST 2008 i686
Browser Information    Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 GTB5
JFusion User and Auth Plugins    Aktiv

JFusion Versions
JFusion Komponente Version    1.1.2-000
JFusion Authentication Plugin Version    1.1.2-000
JFusion Benutzer Plugin Version    1.1.2-000
JFusion Activity Modul Version    1.1.2-000
JFusion Anmelden Modul Version    1.1.2-000
JFusion Suche Plugin Version    1.1.2-000
JFusion Discussion Plugin Version    1.1.2-000

JFusion joomla_int Plugin
configuration    master 1
slave 0
dual_login 1
check_encryption 1
JFusion phpbb3 Plugin
configuration    master 0
slave 1
dual_login 1
check_encryption 1
JFusion dokuwiki Plugin
configuration    master 0
slave 1
dual_login 1
check_encryption 1


Authentication Plugin
userid    80
activation    ""
username    alfonsodiecko
name    alfonsodiecko
password    f33f86********
email    alfonsodiecko@gmx.de
block    0
group_name    Registered
group_id    18
params    admin_language=de-DE language=de-DE editor=fckeditor helpsite= timezone=0
password_salt    CUOj*****
   Authentication Plugin Erfolg


jfusion Benutzer Plugin
   Benutzer Plugin Erfolg
Benutzer Plugin Debug
init    0 Using userinfo JFusion authentication plugin
phpbb3 Benutzer Update    0 A user has been found that matches the login details
1 Skipped Password Update:Password already valid
phpbb3 Benutzer Details    userid 81
name alfonsodiecko
username alfonsodiecko
email alfonsodiecko@gmx.de
password $H$B/8********
password_salt null
activation ""
reason 0
lastvisit 1239895546
group_id 333
group_name REGISTERED
block 0
password_clear 421671
phpbb3 Session    0 Created COOKIE: Name=phpbb3_j3ulf_u, VALUE=81, läuft aus=3600, Cookie Path=/, Cookie Domain=.cms-demo.org
1 Created COOKIE: Name=phpbb3_j3ulf_sid, VALUE=WWXuuY********, läuft aus=3600, Cookie Path=/, Cookie Domain=.cms-demo.org
dokuwiki Benutzer Update    0 A user has been found that matches the login details
dokuwiki Benutzer Details    userid alfonsodiecko
username alfonsodiecko
password $1$67d********
email alfonsodiecko@gmx.de
password_clear *********************************************
dokuwiki Session    0 Trying to find loginform using url: http://www.cms-demo.org/wiki/doku.php?do=login
1 Login page read, setting cookies first phase:
2 Created COOKIE: Name=DokuWiki, VALUE=4346fb2a1c39f6ec1d51a05419f868e1, läuft aus=16-04-2009 18:11:29, Cookie Path=/, Cookie Domain=.cms-demo.org, Cookie Secure connection only=0, Cookie HTTP-only=0
3 Created COOKIE: Name=DWa976077ab53ea1a0f12b663e732b73c0, VALUE=deleted, läuft aus=16-04-2008 17:41:28, Cookie Path=/, Cookie Domain=.cms-demo.org, Cookie Secure connection only=0, Cookie HTTP-only=0
4 Valid login form found
5 Valid username and password fields found
6 Starting login: action= http://www.cms-demo.org/wiki/doku.php parameters= u=alfonsodiecko&p=xxxxxx&sectok=deab4503bb750b249a50376f6404f2f0&id=start&do=login&submit=Anmelden
7 Login performed, setting cookies definite phase:
8 Created COOKIE: Name=DokuWiki, VALUE=528f159b59894f22c4c6e564ce6f36af, läuft aus=16-04-2009 18:11:29, Cookie Path=/, Cookie Domain=.cms-demo.org, Cookie Secure connection only=0, Cookie HTTP-only=0
9 Created COOKIE: Name=DWa976077ab53ea1a0f12b663e732b73c0, VALUE=*********************************************, läuft aus=16-04-2009 18:11:29, Cookie Path=/, Cookie Domain=.cms-demo.org, Cookie Secure connection only=0, Cookie HTTP-only=0

User avatar
alfonsodiecko
JFusion Newbie II
JFusion Newbie II
 
Posts: 11
Joined: Mon Jan 26, 2009 4:02 pm

Re: Dual login in frameless mod

Postby fanno on Thu Apr 16, 2009 4:37 pm

whats path of joomla and doku ?
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7666
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Dual login in frameless mod

Postby alfonsodiecko on Thu Apr 16, 2009 5:48 pm

Joomla:
/var/webs/kunden/christoph/htdocs/

Dokuwiki:
/var/webs/kunden/christoph/htdocs/wiki/
User avatar
alfonsodiecko
JFusion Newbie II
JFusion Newbie II
 
Posts: 11
Joined: Mon Jan 26, 2009 4:02 pm

Re: Dual login in frameless mod

Postby fanno on Thu Apr 16, 2009 7:08 pm

agh sorry I ment url
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7666
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Dual login in frameless mod

Postby alfonsodiecko on Thu Apr 16, 2009 7:34 pm

:D ok,

Joomla is reachable with http://www.cms-demo.org/ and
Dokuwiki with http://www.cms-demo.org/wiki/
User avatar
alfonsodiecko
JFusion Newbie II
JFusion Newbie II
 
Posts: 11
Joined: Mon Jan 26, 2009 4:02 pm

Re: Dual login in frameless mod

Postby fanno on Thu Apr 16, 2009 7:49 pm

try setting the path inside doku it self to /wiki/

I tried loggin in with your alfonsodiecko account ( you left the "password_clear" visiblem, aswell as the cookie value )
password_clear *********************************************

You might want to change your password in case someone devil have seen it.

let me know how things go if you set the path inside doku it self to: /wiki/
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7666
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Dual login in frameless mod

Postby alfonsodiecko on Fri Apr 17, 2009 10:59 am

Hi Fanno,

I have change in the dokuwiki.php
Code: Select all
$conf['basedir'] = '';
to
Code: Select all
$conf['basedir'] = '/wiki/';
.
If I now try to log me in I'm there in http://www.cms-demo.org/wiki/doku.php but still not in http://www.cms-demo.org/component/optio ... temid,481/. I have also tried without sh404sef and core SEF but the problem remained.
User avatar
alfonsodiecko
JFusion Newbie II
JFusion Newbie II
 
Posts: 11
Joined: Mon Jan 26, 2009 4:02 pm

Re: Dual login in frameless mod

Postby fanno on Fri Apr 17, 2009 11:14 am

pm me a admin account and link to this thred amd i'll take a look.
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7666
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Dual login in frameless mod

Postby fanno on Fri Apr 17, 2009 12:47 pm

something is causing the cookie name to be "wrong".

DW6666cd76f96956469e7be39d750cc7d9
vs
DWa976077ab53ea1a0f12b663e732b73c0

i cant quite figure out why.
please die() me some info from public.php in function getbuffer

define('DOKU_COOKIE', 'DW'.md5(DOKU_REL));

i would like to see
die(DOKU_COOKIE) ... DW6666cd76f96956469e7be39d750cc7d9
and
die(DOKU_REL) ... /wiki/

what confuse me is why the cookie that comes from your doku is different ?

--- so inside doku it self in init.php

I would like you to preform the same die() ... BUT do it while you access doku DIRECT..

other options is to give me ftp access
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7666
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Dual login in frameless mod

Postby fanno on Fri Apr 17, 2009 3:50 pm

thanks, fixed I created an error when I fixed another issue.

I fixed it in your install , will fix it in svn some time next week or late this weekend, getting married tomorrow so don't know if i have time to fix this quick tonight.
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7666
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Next

Return to DokuWiki

Who is online

Users browsing this forum: No registered users and 2 guests