Bridge Joomla SMF 1.1 RC2 (aka 3.20) Logout problem

Started by dogood, March 09, 2006, 06:38:39 AM

Previous topic - Next topic

dogood

hello

I'm running SMF 1.1RC2, Joomla 1.0.8 with Orstio's 3.20 bridge plus the little modification for Joomla's latest version. Everything is going pretty well.

The problem for wich I post here has nothing to do with Joomla 1.0.8 since it appeared before upgrading. if someone wants to log out from the forum, here is the url :

http://www.godon.org/goomerang/component/option,com_smf/Itemid,124/action,logout/sesc=21486d1a2f5e5fe99b05eaafdef052ce,sesc=21486d1a2f5e5fe99b05eaafdef052ce

as you can see the sesc param is repeated twice.I don't know if this is normal, but the result is that the logout is not possible. same thing happens in the admin panel, some functionnalities are not accessible because of the same problem..
To deal with that, I log as admin with the real smf url, not using the bridge. But if there is a way to fix that, I'll try it

thanks
Dogood, singer/writer/linuxian of Godon, free french rock band.

My works on <internet>:

http://www.godon.org => Freedom in Music
http://www.charte-zone-libre.org => La Voie Est Libre!
http://www.godon.org/wiki => UnisSon, wiki for free live music!!

Orstio

Quoteas you can see the sesc param is repeated twice.I don't know if this is normal, but the result is that the logout is not possible. same thing happens in the admin panel, some functionnalities are not accessible because of the same problem..

What SEF engine are you running?

dogood

hello Orstio

I'm running openSEF. Excuse me I forgot to mention that! do you think these behaviours are due to this?

thanks
Dogood, singer/writer/linuxian of Godon, free french rock band.

My works on <internet>:

http://www.godon.org => Freedom in Music
http://www.charte-zone-libre.org => La Voie Est Libre!
http://www.godon.org/wiki => UnisSon, wiki for free live music!!

Praedator

#3
There are some issues with SEF and the bridge, but this i want to discuss with orstio later, to make the bridge 100% SEF able and therefor also useable with an sef_ext.php file to have long URL's

A small workaround for this is to add this:

$buffer = str_replace('sesc=', 'sesc,', $buffer);

in the component/com_smf/smf.php in the function ob_mambofix($buffer) place it before

// Bridge registration links
if ($bridge_reg==true)

This should do the trick. ;)
Predator

- Time is a created thing. To say, "I don't have time" is like saying "I don't want to."
- Lao-Tzu......

Orstio

Better:

Find:

$sefurl = str_replace(";", "/", $sefurl);

add after:

$sefurl = str_replace("=", ",", $sefurl);


Praedator

#5
Yes right Orstio much better, didn't saw this  :P this will also fix some probs with filename= and th=
Predator

- Time is a created thing. To say, "I don't have time" is like saying "I don't want to."
- Lao-Tzu......

Orstio

I'm hoping you'll let me know yet, Predator, what I can change to make OpenSEF integration easier?

Praedator

Quote from: Orstio on March 09, 2006, 09:27:50 PM
I'm hoping you'll let me know yet, Predator, what I can change to make OpenSEF integration easier?

Will try to contact you tomorrow via ICQ maybe do you have skype also? If can you PM me the name.
Thanks in advance.
Predator

- Time is a created thing. To say, "I don't have time" is like saying "I don't want to."
- Lao-Tzu......

dogood

#8
hello

I'm just trying to do the trick, I'll tell you the result.

Quotein the component/com_sef/smf.php in the function ob_mambofix($buffer)

I would say it's in component/com_smf!!

Okay, now the url seems to be well don!! Thanks! But I still have a logout error, due to fail checking the session...I don't knoiw from where this can come now...
Dogood, singer/writer/linuxian of Godon, free french rock band.

My works on <internet>:

http://www.godon.org => Freedom in Music
http://www.charte-zone-libre.org => La Voie Est Libre!
http://www.godon.org/wiki => UnisSon, wiki for free live music!!

Advertisement: