Home arrow Forum Error
  Welcome, Guest. Please login or register.
Did you miss your activation email?
January 08, 2009, 02:55:16 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.1.x (Moderators: -Wolverine, kai920)
| | | |-+  Error
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] Go Down Print
Author Topic: Error  (Read 4669 times)
V-man
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 6


View Profile
Re: Error....solved
« Reply #15 on: September 01, 2006, 06:54:57 PM »

Well, when i say "solved", i mean i have a work around till we get the 2.0 next week.

Basically, everytime you save, the default version of the file gets saved instead of the mofifications you are trying to make. The solution for now is to NEVER click the save button. Instead, maually edit /administrator/components/com_smf/config.smf.php and FTP to update.

To get you started, here is my file (below), which works just fine. Be sure to change the following variables:

$smf_path
$mosurl (you'll need to actually make a menu item pointing to the smf component to figure this out before procedding).

Once you have it up and running, modify the settings MANUALLY until you get it the way you want. Everything thing is '1' or '0' except for $registration_module (smf|joomla|cb|cbe) and $login_module (mod_smf_login|mod_login|mod_cblogin|mod_cbelogin) [options separated by the pipe | ].

Code:
<?php
global $smf_path$smf_redirect$joomla_redirect$smf_prefix$mos_prefix;
global 
$wrapped$sync_uname$hideemail$cbprofile$registration_module$login_module$mosurl;
global 
$announce_url$news_url$latest_joomlasmf_url;
$smf_path "/home/user/www/smf_forums";
$smf_redirect "0";
$joomla_redirect "0";
$mos_prefix "jos_";
$smf_prefix "smf_";
$wrapped "1";
$sync_uname "1";
$hideemail "1";
$cbprofile 0;
$registration_module "smf";
$login_module "mod_smf_login";
$mosurl "http://your.domain.com/index.php?option=com_smf&Itemid=40&";
$jsmf_debug "0";
//The following are used for the syndication feed
$announce_url "http://www.joomlahacks.com/news/mh_announcement.rdf";
$news_url "http://www.joomlahacks.com/index2.php?option=com_rss&feed=RSS1.0&no_html=ss1";
$latest_joomlasmf_url "http://www.joomlahacks.com/news/mh_mambo_smf_update.rdf";
?>



« Last Edit: September 01, 2006, 06:56:38 PM by V-man » Logged
Bruce Nazarian
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 14


View Profile
Re: Error
« Reply #16 on: September 01, 2006, 11:45:11 PM »

I can dig that you're busy, Wolverine - but the current sitch makes it pretty close to impossible to use JSMF to config the site, since it keeps writing bogus config files each time you try to fix it. Unless you rewrite the config file by hand "just right", the JSMF config component "pukes" on the values, and breaks the forum linkages. I've had to revert to un-bridged forum use for a while, until I can find time to try to fix this, or until maybe you do... I don't hold out much hope for MY PHP skills, so maybe some other Joomla White Knight will come to our rescue...
Logged
Simon
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 1


View Profile
Re: Error
« Reply #17 on: September 02, 2006, 03:14:23 AM »

I've just come across this problem as well.  Is the easy solution not to just enable RG_EMULATION in Globals.php to temporarily allow config of the component to work.

Straight after you can disable the emulation again

To allow config
Code:
define( 'RG_EMULATION', 1 );

Works ok for me.
Logged
Bruce Nazarian
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 14


View Profile
Re: Error
« Reply #18 on: September 04, 2006, 01:17:15 AM »

Simon - interesting approach - tried it, and got SOME success, (meaning it could successfully write the config changes) BUT under Joomla 1.0.11, the component fails to patch the SMF files successfully... so, for me JSMF 1.1.4.2 is STILL broken.. oh well (sigh)

Bruce
Logged
V-man
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 6


View Profile
Re: Error
« Reply #19 on: September 04, 2006, 07:47:38 AM »

The patching worked fine for me, it was just the config file saving as described above.
Logged
Pages: 1 [2] 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