OpenSEF + Orstio Bridge 3.20 Session Validation Error

Started by sb56637, March 22, 2006, 08:25:06 PM

Previous topic - Next topic

sb56637

Hi,

I have SMF 1.1RC2 + Orstio Bridge 3.20 + OpenSEF 2.0.0-RC4 + Joomla 1.0.8 working reasonably well.  Thanks for these great components, all devs!  I am using SMF for registration, and the forum is wrapped.  The major problem that I am seeing right now is a session error upon logging out- "Session verification failed. Please try logging out and back in again, and then try again."  This also occurs from some of the SMF administrator functions.  Please give it a try at:

http://www.linuxforo.org/component/option,com_smf/Itemid,12/

I am using a hack in /foro/Themes/default/index.template.php to redirect to a wrapped forum in the event of a direct access of the forum at http://linuxforo.org/foro .  This direct access was occurring every time I logged in from the wrapped forum's quick login controls, so I just applied this hack:

/////////// Redirect users who try to access /foro directly
if (strpos($_SERVER['QUERY_STRING'], 'dlattach') === false)
{
        if(!defined('_VALID_MOS')){ header("Location: /index.php?option=com_smf&Itemid=12");}
}
///////////


I have researched EXTENSIVELY in simplemachines forums and opensef's forums, and I have read everything applicable, but I can't find a definitive answer.  It has worked for some, most notably the opensef forums.  How are they doing it?  Does it have to do with a sef_ext.php file (I don't have one for SMF), or with .htaccess?   Or am I doing something wrong in my index.template.php file?  Please let me know!  Thanks!


And here's my .htaccess- I understand nothing about .htaccess, BTW.

///////////////
######COPYRIGHT##########
# .htaccess file for Joomla/Mambo SEF useage
# Copyright 2006 Steve Graham   Contact me at http:/coders.mlshomequest.com/
# Licensed under the LGPL.  You are free to use and include this file in
# any project or codebase subject to the LGPL license at:
# http://www.gnu.org/copyleft/lesser.html
######END COPYRIGHT#######

Options -Indexes FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On


#  Uncomment following line if your webserver's URL
#  is not directly related to physival file paths.
#  Update YourMamboDirectory (just / for root)

RewriteBase /


########## Begin Standard SEF Section
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteRule ^(content/|component/) index.php
#
########## End Standard SEF Section


########## Begin 3rd Party or Core SEF Section
#
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End 3rd Party or Core SEF Section

///////////////////////////////


Advertisement: