Home arrow Forum A different problem when apply the hack of JSMF
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 11:28:09 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  A different problem when apply the hack of JSMF
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: A different problem when apply the hack of JSMF  (Read 802 times)
Fernando
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
A different problem when apply the hack of JSMF
« on: July 09, 2007, 04:26:42 AM »

Hi, Wolverine and partners of this forum. I have a problem with the JSMF integration. It happens that when i apply the patch for Joomla archives on the JSMF/Instalation menu, my site give me the next error:


Fatal error: main() [<a href='function.main'>function.main</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition &quot;jsmfFrontend&quot; of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /home.../public_html/index.php on line 68


Then, i  follow the Wolverine instructions and, first, opened the file from which the error is being reported and the line before the error called the function reloadSettings(). The part on my index.php is the next (the last line in red color is the 68):

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



I added the instruction but nothing change, except in the error message chenge the line from 68 to 69. So, I added the curly braces how i supose to be, and nothing else.

So, i take the other option menicioned by Wolverine, and download the joomla_index_patched_1_0_12.zip, then i replace this on my root directory and give the same error.

So, Wolverine, can you tell me what i'm doing wrong??? I just wanna integrate the CB with mi forum SMF throw the JSMF (is this correctly?) in a few word, i want to manage just one registration mode with the Login Module of CB and, from here, the usuer can acces to all the contents of my web, include the forum.

I have installed Jommla 1.0.12, JSMF 2.0.2, SMF 1.1.3, CB 1.0.2, PHP 5.2.3 and MySQL 5.0.19

Thank you, i apologies for my bad english!!!
Logged
Petr Mišák
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: A different problem when apply the hack of JSMF
« Reply #1 on: August 17, 2007, 11:34:31 AM »

uninstal JoomSEF!!!
Logged
Superdaantje
Joomla Guru
*****

Karma: +266/-23
Offline Offline

Posts: 370


Aka Livebox


View Profile WWW
Re: A different problem when apply the hack of JSMF
« Reply #2 on: August 17, 2007, 11:51:42 AM »

Best way to start is only with Joomla! and SMF. So not with CB an Joomsef etc. Just start with the basic install. Then you can go future with CB. Just follow the instructions of the user guide.

And when exactly do you get this error? When you wane patch the J! or the SMF files?

I also use Joomsef but not for the Com_smf. And it works for me.
Logged

My Projects
Joomlabridge.org JSMF 2.0.2.1 Bridge Support and Downloads
Dutchjoomla.org Dutch Joomla Community (more then 60.000 members)
D.Wagner Webservices
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

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
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login