I am getting the same error, on mine, when I am in a forum reading a topic and then click the jump box "go" button it takes me to a 404 page. The only thing different is that there is no trailing slash in the URL, if I add that, the page is found.
Any ideas how to fix? It looks like Bryan has fixed his site.
After turning off Joomla SEF URL's in my global config this now works, but that is quite a sacrifice.
<? ini_set("memory_limit", "16M"); ?> <?php /** * @version $Id: index.php 6022 2006-12-18 22:30:07Z friesengeist $ * @package Joomla * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */
// Set flag that this is a parent file define( '_VALID_MOS', 1 );
//Installation sub folder check, removed for work with SVN if (file_exists( 'installation/index.php' ) && $_VERSION->SVN == 0) { define( '_INSTALL_CHECK', 1 ); include ( $mosConfig_absolute_path .'/offline.php'); exit(); }
// displays offline/maintanance page or bar if ($mosConfig_offline == 1) { require( $mosConfig_absolute_path .'/offline.php' ); }
// load system bot group $_MAMBOTS->loadBotGroup( 'system' );
// trigger the onStart events $_MAMBOTS->trigger( 'onStart' );
if (file_exists( $mosConfig_absolute_path .'/components/com_sef/sef.php' )) { require_once( $mosConfig_absolute_path .'/components/com_sef/sef.php' ); } else { require_once( $mosConfig_absolute_path .'/includes/sef.php' ); } require_once( $mosConfig_absolute_path .'/includes/frontend.php' ); //JOOMLAHACKS.COM : require SMF's SSI and save/restore globals that it cleans defined( 'JPATH_BASE' ) or define('JPATH_BASE', $mosConfig_absolute_path); if (file_exists(JPATH_BASE.'/components/com_smf/smf.class.php')) { global $context; require_once(JPATH_BASE.'/components/com_smf/smf.class.php'); $jsmfConfig = jsmfFrontend::loadParams(); jsmfFrontend::saveVars($savedVars); require_once($jsmfConfig->smf_path."/SSI.php"); $jsmf =& jsmfFrontend::singleton(); $jsmf->restoreVars($savedVars); }
if ($option == '') { if ($Itemid) { $query = "SELECT id, link" . "\n FROM #__menu" . "\n WHERE menutype = 'mainmenu'" . "\n AND id = " . (int) $Itemid . "\n AND published = 1" ; $database->setQuery( $query ); } else { $query = "SELECT id, link" . "\n FROM #__menu" . "\n WHERE menutype = 'mainmenu'" . "\n AND published = 1" . "\n ORDER BY parent, ordering" ; $database->setQuery( $query, 0, 1 ); } $menu = new mosMenu( $database ); if ($database->loadObject( $menu )) { $Itemid = $menu->id; } $link = $menu->link; if (($pos = strpos( $link, '?' )) !== false) { $link = substr( $link, $pos+1 ). '&Itemid='.$Itemid; } parse_str( $link, $temp ); /** this is a patch, need to rework when globals are handled better */ foreach ($temp as $k=>$v) { $GLOBALS[$k] = $v; $_REQUEST[$k] = $v; if ($k == 'option') { $option = $v; } } } if ( !$Itemid ) { // when no Itemid give a default value $Itemid = 99999999; }
// mainframe is an API workhorse, lots of 'core' interaction routines $mainframe = new mosMainFrame( $database, $option, '.' ); $mainframe->initSession();
// trigger the onAfterStart events $_MAMBOTS->trigger( 'onAfterStart' );
// checking if we can find the Itemid thru the content if ( $option == 'com_content' && $Itemid === 0 ) { $id = intval( mosGetParam( $_REQUEST, 'id', 0 ) ); $Itemid = $mainframe->getItemid( $id ); }
/** do we have a valid Itemid yet?? */ if ( $Itemid === 0 ) { /** Nope, just use the homepage then. */ $query = "SELECT id" . "\n FROM #__menu" . "\n WHERE menutype = 'mainmenu'" . "\n AND published = 1" . "\n ORDER BY parent, ordering" ; $database->setQuery( $query, 0, 1 ); $Itemid = $database->loadResult(); }
// patch to lessen the impact on templates if ($option == 'search') { $option = 'com_search'; }
// loads english language file by default if ($mosConfig_lang=='') { $mosConfig_lang = 'english'; } include_once( $mosConfig_absolute_path .'/language/' . $mosConfig_lang . '.php' );
if ( $return && !( strpos( $return, 'com_registration' ) || strpos( $return, 'com_login' ) ) ) { // checks for the presence of a return url // and ensures that this url is not the registration or login pages // If a sessioncookie exists, redirect to the given page. Otherwise, take an extra round for a cookiecheck if (isset( $_COOKIE[mosMainFrame::sessionCookieName()] )) { mosRedirect( $return ); } else { mosRedirect( $mosConfig_live_site .'/index.php?option=cookiecheck&return=' . urlencode( $return ) ); } } else { // If a sessioncookie exists, redirect to the start page. Otherwise, take an extra round for a cookiecheck if (isset( $_COOKIE[mosMainFrame::sessionCookieName()] )) { mosRedirect( $mosConfig_live_site .'/index.php' ); } else { mosRedirect( $mosConfig_live_site .'/index.php?option=cookiecheck&return=' . urlencode( $mosConfig_live_site .'/index.php' ) ); } }
if ( $return && !( strpos( $return, 'com_registration' ) || strpos( $return, 'com_login' ) ) ) { // checks for the presence of a return url // and ensures that this url is not the registration or logout pages mosRedirect( $return ); } else { mosRedirect( $mosConfig_live_site.'/index.php' ); } } else if ($option == 'cookiecheck') { // No cookie was set upon login. If it is set now, redirect to the given page. Otherwise, show error message. if (isset( $_COOKIE[mosMainFrame::sessionCookieName()] )) { mosRedirect( $return ); } else { mosErrorAlert( _ALERT_ENABLED ); } }
/** get the information about the current user from the sessions table */ $my = $mainframe->getUser();
// detect first visit $mainframe->detect();
// set for overlib check $mainframe->set( 'loadOverlib', false );
$gid = intval( $my->gid );
// gets template for page $cur_template = $mainframe->getTemplate(); /** temp fix - this feature is currently disabled */
/** @global A places to store information from processing of the component */ $_MOS_OPTION = array();
// precapture the output of the component require_once( $mosConfig_absolute_path . '/editor/editor.php' );
Can someone take a look at my website www.varacers.com and then click on the forums. I am using SMF 1.1.1 and the 2.0 bridge, when you view the source code of the forum you can see 2 different head sections. It is showing one from the site, and then another from SMF forum. How do I fix this? What problems can it create?
I have a wrapped mode smf forum, all the latest files. 1.1.1 smf 1.0.12 joomla 2.0 bridge
My theme from Rockettheme came with an SMF theme to math the website. There is also a "supersucker" drop down type menu that I use. The problem is that the menu doesn't show up when I am viewing the forum, but it does on all other pages.
I look at my source code and see I have 2 <head> areas when I am viewing my wrapped forum.
This doesn't seem like the way to wrap the forum correctly, adn it is what is caugin my problems. Is there something wrong with my bridge install or do all wrapped forums have 2 different <head> sections, one for the joomla side and one for the smf side?
I am having an interesting issue regarding logins.
Joomla 1.1.12 SMF 1.1.1 Bridge 2.0 stable Forum is in wrapped mode.
If I login as admin and then go to the forum and then click on "admin" within smf everything works fine. The forum stays wrapped.
If I close my browser and then open it back up the site still has me logged in until I hit the "admin" link in smf. Then I get a weird looking page with no css and a login. Attached is what it looks like. If I enter my password and login the forum becomes unwrapped.
Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved. Terms of Use