| Hi... I'm Eframis from Turkey... My Site Info is here: Joomla 1.0.10 SMF 1.1 RC2 (with 1.1 RC2-2 Security Patch) J-SMF 1.1.4.2 J-SMF Who's Online 1.4 J-SMF Login 1.4.2 J-SMF Recent Topics 1.7.1 J-SMF Forum Discussbot 1.4.3 I need and want to enable "register_globals" is "OFF" for security reasons, but I make do this, getting some errors... I getting following problems when enable "register_globals=OFF": 1- config_smf.php file is not saving... When Saving Configuration, I get the below error: Quote Parse error: syntax error, unexpected ';' in /home/*****/public_html/administrator/components/com_smf/config.smf.php on line 6 And my config_smf.php file is vrong like below: 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 = ""; $smf_redirect = ; $joomla_redirect = ; $mos_prefix = "mos_"; $smf_prefix = ""; $wrapped = ; $sync_uname = ; $hideemail = ; $cbprofile = 0; $registration_module = ""; $login_module = ""; $mosurl = "http://www.******.com/index.php?option=com_smf&Itemid=155&"; $jsmf_debug = ; //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"; ?> 2- If I mark the option "Stay always logged in", I'm getting logged of after ~60 minutes from Joomla, but not from SMF. The mod_smf_login shows me still as logged in, but in fact I am not, as other "Registered only" functions in Joomla are disappearing and I have to relog on. 3-( MOST IMPORTANT ) When "registy_globals" is "OFF" I'm not send any PM, not create any New Topic, not editing any existing Topic/post and not reply to the any post... When I make to the above things, I get the "You are not authorized to view this resource." (HTTP 403 Error)... Please help me... When registry_globals is ON, no any problem, but I want to OFF this... Sorry My Bad English... |
Forum 





Author



Logged










