| 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 "jsmfFrontend" 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!!! |
Forum 





Author



Logged






