Joomlatwork
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2013, 06:01:33 AM

Login with username, password and session length
Search:     Advanced search
19768 Posts in 7077 Topics by 11429 Members
Latest Member: draptersefs
* Home Help Search Login Register
+  Joomlatwork
|-+  Joomla SEF Patch extended version support (paid version)
| |-+  Support questions
| | |-+  Patch very bad for my Joomla-SMF login module
« previous next »
Pages: [1] 2 Print
Author Topic: Patch very bad for my Joomla-SMF login module  (Read 27192 times)
Sirius
Jr. Member
**
Posts: 52


View Profile WWW
« on: September 05, 2006, 11:49:29 PM »

Hi, your component is really perfect for me, but unfortunately, I can't use it for the moment because if I patch the core files then my Joomla-SMF login module doesn't work well.

So what can I do, should I patch before installing it ?

Or anything else ?

EDIT: Ok I'm waiting too, it's the same as this one=>http://www.joomlatwork.com/forum/index.php?topic=57.msg213#msg213

Just a last little thing, it could be great to have a special field for a custom name of the "ReMository"'s page, if only I can get a "Download" title instead of.....

Thanks  Wink
« Last Edit: September 05, 2006, 11:55:12 PM by Sirius » Logged

Joomla 1.5.7 <= waiting for the new com_sefpatch
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #1 on: September 06, 2006, 08:00:43 AM »

NOTE!!! THIS PATCH FILE IS ONLY FOR THE SEF EXTENDED (PAID VERSION)

Sorry for the delay. (I'am currently bussy with the Opensef project) If have patch the joomla index.php for version 1.011 (this should work also on previous versions, at least 1.09 and 1.010).

Can you please test it out and let it know if this works ok as reply to this post?

I've download the latest version of SMF bridge version: Joomla-SMF Forum 1.1.4.2

Retrieved the index.php file from the package and patch it according to the SEF patch extended version.

In regards of installation:
- Install the SMF component;
- Install the SEF Patch extended version (in fact it doesn't matter which you install first)
- Rename the attached file index_smf.pat into index.txt and replace the index.php file with your Joomla installation.

Regards,

Richard
Logged
Sirius
Jr. Member
**
Posts: 52


View Profile WWW
« Reply #2 on: September 06, 2006, 05:34:43 PM »

Everything works perfectly, thanks a lot ! Wink

Regards
Greg (Sirius)
Logged

Joomla 1.5.7 <= waiting for the new com_sefpatch
noelmd
Newbie
*
Posts: 2


View Profile
« Reply #3 on: October 27, 2006, 02:24:46 PM »

dear joomlatwork,

i just purchased the SEF Extended Paid Version and i am using smf-joomla bridge.  my joomla version is the latest stable version 1.011.  SMF version 1.1 RC3.  There was no joomla source and smf source patching prior to the SEF installation.

However, just like sirius, i had problems after the sef installation because the the joomla index.php cannot be patched to work with the bridge.

i did download the attachment here (index_smf) and renamed and uploaded it to the joomla installation...

but am getting this error when im accessing my home page:

Quote
Fatal error: Call to undefined function: restorepostmessage() in /home/[userr]/public_html/index.php on line 154

i did get it right that the index.php (from the attachment) should overwrite joomla's index.php?  or did i get it wrong?  please clarify.

i need this smf bridge to work with the sef extended version.  thanks in advance.

noel





NOTE!!! THIS PATCH FILE IS ONLY FOR THE SEF EXTENDED (PAID VERSION)

Sorry for the delay. (I'am currently bussy with the Opensef project) If have patch the joomla index.php for version 1.011 (this should work also on previous versions, at least 1.09 and 1.010).

Can you please test it out and let it know if this works ok as reply to this post?

I've download the latest version of SMF bridge version: Joomla-SMF Forum 1.1.4.2

Retrieved the index.php file from the package and patch it according to the SEF patch extended version.

In regards of installation:
- Install the SMF component;
- Install the SEF Patch extended version (in fact it doesn't matter which you install first)
- Rename the attached file index_smf.pat into index.txt and replace the index.php file with your Joomla installation.

Regards,

Richard
« Last Edit: October 27, 2006, 02:27:53 PM by noelmd » Logged
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #4 on: October 27, 2006, 04:01:41 PM »

Can you please post the index.php from the SMF bridge over here? Then I can make a compare with the previous version.

Regards,

Richard
Logged
noelmd
Newbie
*
Posts: 2


View Profile
« Reply #5 on: October 28, 2006, 08:39:47 AM »

Can you please post the index.php from the SMF bridge over here? Then I can make a compare with the previous version.

Regards,

Richard

Dear Richard,

thanks for the quick reply...

1. the first attachment is the "This is the patched Joomlatwork index.php" which cannot be patched with joomla-smf bridge ... after clicking the patch link this is the error that i get in the admin panel

Quote
Failed: Code to be patched not found in file: header( \'Expires/home/finder/public_html//index.php

========================

the second attachment is the index from //JOOMLAHACKS.COM which created the joomla-smf bridge... if i upload this to the /root of the joomla, i get this error:

Quote
Fatal error: Call to undefined function: joomlatwork_set_meta() in /home/finder/public_html/components/com_content/content.php on line 218

so what i am using now as joomla index.php is the first.  but this index cannot be patched and the bridge does not work.

i hope this gets fixed soon... thanks!

Noel

edit

i cannot seem to attach the files, the page gets timed out while upload.. will just paste the files here:

first:

Quote
<?php
/**
* @version $Id: index.php 3750 2006-05-31 10:39:39Z stingrey $
* @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.
* This is the patched Joomlatwork index.php
*/

// Set flag that this is a parent file
define( '_VALID_MOS', 1 );

// checks for configuration file, if none found loads installation page
if (!file_exists( 'configuration.php' ) || filesize( 'configuration.php' ) < 10) {
   $self = str_replace( '/index.php','', strtolower( $_SERVER['PHP_SELF'] ) ). '/';
   header("Location: http://" . $_SERVER['HTTP_HOST'] . $self . "installation/index.php" );
   exit();
}

require( 'globals.php' );
require_once( 'configuration.php' );
require_once( 'includes/joomla.php' );

//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' );

// retrieve some expected url (or form) arguments
$option = strval( strtolower( mosGetParam( $_REQUEST, 'option' ) ) );
$Itemid = intval( mosGetParam( $_REQUEST, 'Itemid', null ) );

if ($option == '') {
   if ($Itemid) {
      $query = "SELECT id, link"
      . "\n FROM #__menu"
      . "\n WHERE menutype = 'mainmenu'"
      . "\n AND id = '$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
/** Joomlatwork patch, inheret the mainframe class and overrule some functions **/

require_once (@$GLOBALS['mosConfig_absolute_path'] . '/administrator/components/com_sefpatch/config.class.php' );
$config_sefpatch = new sefpatch_config("Config", @$GLOBALS['mosConfig_absolute_path'] . "/administrator/components/com_sefpatch/sefpatch.config.php");

$mainframe = new mosSefPatch( $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' );

// frontend login & logout controls
$return    = strval( mosGetParam( $_REQUEST, 'return', NULL ) );
$message    = intval( mosGetParam( $_POST, 'message', 0 ) );
if ($option == 'login') {
   $mainframe->login();

   // JS Popup message
   if ( $message ) {
      ?>
      <script language="javascript" type="text/javascript">
      <!--//
      alert( "<?php echo _LOGIN_SUCCESS; ?>" );
      //-->
      </script>
      <?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
      mosRedirect( $return );
   } else {
      mosRedirect( $mosConfig_live_site .'/index.php' );
   }

} else if ($option == 'logout') {
   $mainframe->logout();

   // JS Popup message
   if ( $message ) {
      ?>
      <script language="javascript" type="text/javascript">
      <!--//
      alert( "<?php echo _LOGOUT_SUCCESS; ?>" );
      //-->
      </script>
      <?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' );
   }
}

/** 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' );

ob_start();

if ($path = $mainframe->getPath( 'front' )) {
   $task    = strval( mosGetParam( $_REQUEST, 'task', '' ) );
   $ret    = mosMenuCheck( $Itemid, $option, $task, $gid );
   
   if ($ret) {
      require_once( $path );
   } else {
      mosNotAuth();
   }
} else {
   header( 'HTTP/1.0 404 Not Found' );
   echo _NOT_EXIST;
}

$_MOS_OPTION['buffer'] = ob_get_contents();

ob_end_clean();

initGzip();



// display the offline alert if an admin is logged in
if (defined( '_ADMIN_OFFLINE' )) {
   include( $mosConfig_absolute_path .'/offlinebar.php' );
}

// loads template file
if ( !file_exists( $mosConfig_absolute_path .'/templates/'. $cur_template .'/index.php' ) ) {
   echo _TEMPLATE_WARN . $cur_template;
} else {
   require_once( $mosConfig_absolute_path .'/templates/'. $cur_template .'/index.php' );

}

// displays queries performed for page
if ($mosConfig_debug) {
   echo $database->_ticker . ' queries executed';
   echo '<pre>';
    foreach ($database->_log as $k=>$sql) {
       echo $k+1 . "\n" . $sql . '<hr />';
   }
   echo '</pre>';
}

doGzip();
?>

second file:

Quote
<?php
/**
* @version $Id: index.php 4750 2006-08-25 01:08:30Z stingrey $
* @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 );

// checks for configuration file, if none found loads installation page
if (!file_exists( 'configuration.php' ) || filesize( 'configuration.php' ) < 10) {
   $self = str_replace( '/index.php','', strtolower( $_SERVER['PHP_SELF'] ) ). '/';
   header("Location: http://" . $_SERVER['HTTP_HOST'] . $self . "installation/index.php" );
   exit();
}

require( 'globals.php' );
require_once( 'configuration.php' );
require_once( 'includes/joomla.php' );

//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);
}


// retrieve some expected url (or form) arguments
$option = strval( strtolower( mosGetParam( $_REQUEST, 'option' ) ) );
$Itemid = intval( mosGetParam( $_REQUEST, 'Itemid', null ) );

if ($option == '') {
   if ($Itemid) {
      $query = "SELECT id, link"
      . "\n FROM #__menu"
      . "\n WHERE menutype = 'mainmenu'"
      . "\n AND id = '$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' );

// frontend login & logout controls
$return    = strval( mosGetParam( $_REQUEST, 'return', NULL ) );
//JOOMLAHACKS.COM
$message    = intval( mosGetParam( $_POST, 'message', 0 ) );
$jsmf->restorePostMessage($savedVars);

if ($option == 'login') {
   
   //JOOMLAHACKS.COM
   $_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];
   $_SESSION['_FROM_MOS'] = TRUE;
   $_SESSION['_RETURN'] = $return;
   $jsmf->doLogin(true);

   

   // JS Popup message
   if ( $message ) {
      ?>
      <script language="javascript" type="text/javascript">
      <!--//
      alert( "<?php echo _LOGIN_SUCCESS; ?>" );
      //-->
      </script>
      <?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
      mosRedirect( $return );
   } else {
      mosRedirect( $mosConfig_live_site .'/index.php' );
   }

} else if ($option == 'logout') {
   

   //JOOMLAHACKS.COM
   //$mainframe->logout();
   mosRedirect($mosConfig_live_site.'/'.$jsmfConfig->url.'action=logout;sesc='.$context['session_id']);



   // JS Popup message
   if ( $message ) {
      ?>
      <script language="javascript" type="text/javascript">
      <!--//
      alert( "<?php echo _LOGOUT_SUCCESS; ?>" );
      //-->
      </script>
      <?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' );
   }
}

/** 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' );

ob_start();

if ($path = $mainframe->getPath( 'front' )) {
   $task    = strval( mosGetParam( $_REQUEST, 'task', '' ) );
   $ret    = mosMenuCheck( $Itemid, $option, $task, $gid );
   
   if ($ret) {
      require_once( $path );
   } else {
      mosNotAuth();
   }
} else {
   header( 'HTTP/1.0 404 Not Found' );
   echo _NOT_EXIST;
}

$_MOS_OPTION['buffer'] = ob_get_contents();

ob_end_clean();

initGzip();

//JOOMLAHACKS.COM
if (!headers_sent()) {
   
header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-store, no-cache, must-revalidate' );
header( 'Cache-Control: post-check=0, pre-check=0', false );
header( 'Pragma: no-cache' );
}

// display the offline alert if an admin is logged in
if (defined( '_ADMIN_OFFLINE' )) {
   include( $mosConfig_absolute_path .'/offlinebar.php' );
}

// loads template file
if ( !file_exists( $mosConfig_absolute_path .'/templates/'. $cur_template .'/index.php' ) ) {
   echo _TEMPLATE_WARN . $cur_template;
} else {
   require_once( $mosConfig_absolute_path .'/templates/'. $cur_template .'/index.php' );
   echo '<!-- '. time() .' -->';
}

// displays queries performed for page
if ($mosConfig_debug) {
   echo $database->_ticker . ' queries executed';
   echo '<pre>';
    foreach ($database->_log as $k=>$sql) {
       echo $k+1 . "\n" . $sql . '<hr />';
   }
   echo '</pre>';
}

doGzip();
?>

i hope this clears matters up...

thanks again

Noel
Logged
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #6 on: October 28, 2006, 07:00:41 PM »

Noel,

Try the attached file. Rename this file to the index.php file (attached file index_smf.txt -> index.php) and replace this with your index.php file. I've merged the file and hope this will work. Please let me know.

How is the preview (e.q. print) function working since this is using the index2.php.

Regards,

Richard
Logged
jaydrea05
Newbie
*
Posts: 8


View Profile Email
« Reply #7 on: October 28, 2006, 08:20:53 PM »

Tried your patch...recieved this on first page

Warning: main(/home/lowcar7/public_html/ghanawebline/administrator/components/com_sefpatch/config.class.php) [function.main]: failed to open stream: No such file or directory in /home/lowcar7/public_html/ghanawebline/index.php on line 112

Fatal error: main() [function.require]: Failed opening required '/home/lowcar7/public_html/ghanawebline/administrator/components/com_sefpatch/config.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lowcar7/public_html/ghanawebline/index.php on line 112
Logged
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #8 on: October 29, 2006, 08:55:26 AM »

Are you using the SEF Extended version and is this installed?

This because the file /home/lowcar7/public_html/ghanawebline/administrator/components/com_sefpatch/config.class.php must be present.

Richard
Logged
Sirius
Jr. Member
**
Posts: 52


View Profile WWW
« Reply #9 on: November 10, 2006, 10:55:46 PM »

Hi !

I've just compared the index.php.
I must advice that the first file attached (thx again) is for the JSMF 1.4.2
The second file attached is for (from) the JSMF 2.0 RC1 (100% equal to my own, RC1 too)

Actually there's the JSMF RC3 so we should test it with second file ?

 Wink

EDIT: The automatic patch fonction in the component administration, work well too

++
« Last Edit: November 10, 2006, 10:59:20 PM by Sirius » Logged

Joomla 1.5.7 <= waiting for the new com_sefpatch
Sirius
Jr. Member
**
Posts: 52


View Profile WWW
« Reply #10 on: November 12, 2006, 10:38:28 PM »

Sorry for the UP,

We've got a big issue with the SEF Patch updated for the joomla performance booster . Shocked

Doesn't work with JSMF RC1, so I was probably wrong in my previous post.

Here what we have:
Fatal error: Class 'Config' not found in /home/www/client/www/administrator/components/com_sefpatch/config.class.php on line 300

So some explanation:
- we install the bridge JSMF RC1
- we install the SEF Patch 1.0a (the updated version sent by mail)
- we patch with the bridge
- we patch with SEF Patch
result a bug
- we patch with SEF Patch first and Patch with the bridge after
result a bug
- we've try the both index.php in the previous posts
result a bug

So what about testing your own on a fresh install ??

For the moment we have roll back with the previous version.

thx by advance  Wink
Logged

Joomla 1.5.7 <= waiting for the new com_sefpatch
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #11 on: November 12, 2006, 10:42:40 PM »

Error is known:

You need to download the latest SEF extended version. We have changed the naming convention of the class initiated within the index.php due conflicts with other components.

The Cache component only works with this latest version (see documentation of the Cache component).

If you have bought the SEF Patch extended version just login (see login above) and you will see an overview of the components you are entitled to. You can download the latest component (1.011) over there.

If you use other Joomla version (< 1.011) please contact me through email

Regards,

Richard
« Last Edit: November 12, 2006, 10:44:52 PM by joomlatwork » Logged
Sirius
Jr. Member
**
Posts: 52


View Profile WWW
« Reply #12 on: November 13, 2006, 07:04:20 PM »

Thank you , I know that.

But it's solved ! Was my mistake  Embarrassed

I didn't restore the backup files before the installation of the new SEF Patch version (the one you send me by mail).

But I've manage to merge the SEF Patche (the one for com_jrecache) index.php and the JSMF RC1 index.php  Grin

and so all is working very well now !  Grin

I cannot send th file here as you can understand that, only if a moderator tell me if I can join the file.....?
Logged

Joomla 1.5.7 <= waiting for the new com_sefpatch
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #13 on: November 13, 2006, 07:10:25 PM »

How is your response doing now?

Thx for the response.

About sharing the index.php file: you can sent it over to me and I will include it within our svn repository and if some asks the same question (or read this post) I can sent it over the him/her.

Richard
Logged
Sirius
Jr. Member
**
Posts: 52


View Profile WWW
« Reply #14 on: November 13, 2006, 08:08:38 PM »

 Wink send

don't you have it ?
« Last Edit: November 15, 2006, 07:24:06 PM by Sirius » Logged

Joomla 1.5.7 <= waiting for the new com_sefpatch
Pages: [1] 2 Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!