Home arrow Forum admin config error
  Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 04:47:36 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)
| | | |-+  admin config error
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: admin config error  (Read 3418 times)
Mike
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 9


View Profile
admin config error
« on: September 05, 2006, 11:59:53 PM »

I just re-installed jsmf. Everything is fine UNLESS I click save in the config screen. When I do it goes blank and it empties the config file of everything EXCEPT the link that has been created for the forum. I can no longer access the component after that.

Joom 1.0.11
jsmf 1.4.2
smf 1rc3

Any ideas? Thanks.
Logged
Maho
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1



View Profile WWW
Re: admin config error
« Reply #1 on: September 07, 2006, 06:46:05 AM »

I have got the same problem!!!
It drives me mad! Cry
joomla 1.0.11
smf 1.1 RC3
smf-joomla 1.1.4.2

help me, pls  Huh  Huh
Logged
John Fuda
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
Re: admin config error
« Reply #2 on: September 07, 2006, 04:32:00 PM »

same problem here - using the same versions as the original poster
Logged
ntype
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: admin config error
« Reply #3 on: September 13, 2006, 05:07:06 AM »

hello people,

I have exactly the same problem. What happens is that when you click "save"  it seems to empty the config.php file. What cause the crash is that it contains boguses lines like "$smf_redirect = ;" the "= ;" field is problematic (there should be a value here ! like = 0;)
However I almost corrected the situation in filling "by hand" the config.php file.
You can find that file in the following path of your website :
 /administrator/components/com_smf

Here's what I did :

1. followed the install procedure
2. at the point where they say to click "save now" I didn't
3. I openned the component's config.php then entered the values by hand, you can anytime check the results of your modifications going into the module configuration page HOWEVER NEVER TOUCH THE SAVE BUTTON (or it will empty it)
corrected version "by hand" :
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 "<absolute path ! not the http one !>";
$smf_redirect 1; <those are radio buttons it's a 0 or 1 here>
$joomla_redirect = 1; <those are radio buttons it'
s a 0 or 1 here>
$mos_prefix "mos_"; <my website was a mambo, if it's joomla it's supposed to be jos_>
$smf_prefix "smf_"; <your website forum tables prefix in the mysql database"smf_" is the default valuecheck yours in the smf config pannel>
$wrapped 1; <or 0 wrapped/unwrappedI wanted my forum wrapped>
$sync_uname 1; <for usernames 0 for real names (well not sure here)>
$hideemail 1; <true>
$cbprofile 0; <community builder ?>

$registration_module = "Joomla"; <wild guess here not working in the config page>
$login_module = "mod_login"; <that correspond to J!/Mambo in the config page>
$mosurl = " <this one should have been filled automatically you shouldn't touch it !>";
$jsmf_debug = 0; <no debug informations>
//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";
?>

Anyhow my problem now is that the "register" and "forgot your password" links doesn't work they are linking me back to my homepage source.

What I plan is to wait somewhat an answer in that thread or if nothing moves to change the urls "by hand" but it's somewhat burdensome because everytime I'll update the stuff there will be a huge risk of facing some strange bugs that I will have forgotten since...

btw somewhat a "backend blog module" would be nice, something simple just to keep track of the changes made to the config files.

if you want to see the website in question it's here : http://www.crystalgrid.net (you're all welcome and stuff but a wide forum invitation wasn't the idea here.

Anyhow if someone who's thingie is working could post his config.php values or if you (dev team ?) could post the accepted values for the $registration_module line that would be $$$

Cheers and thanks for that great module because even if I had some light troubles your modules are far the best smf one's I've seen out there, and btw thanks a lot for the time that you provide to the community..this is something many people forget !

Have an excellent day !
« Last Edit: September 13, 2006, 05:09:21 AM by ntype » Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-36
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: admin config error
« Reply #4 on: September 13, 2006, 07:55:52 AM »

valid registration_module values are:
  • "smf"
  • "joomla"
  • "cb"
  • "cbe"
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
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 German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
About Advertise Register Login