Page 1 of 1
Forum Made simple error help
Posted: Mon Nov 02, 2009 6:21 pm
by xoplex
I am getting this error on all my admin pages. Any help would be appreciated.
Warning: Invalid argument supplied for foreach() in /modules/Forum/admin_tab_settings.php on line 13
Thanks
XO
Re: Forum Made simple error help
Posted: Mon Nov 02, 2009 6:31 pm
by Rolf
xoplex,
Some System Information would be nice...
New Install?
When did this message appear? After an install or...
Tried to re-upload the files?
Regards, Rolf
Re: Forum Made simple error help
Posted: Mon Nov 02, 2009 7:40 pm
by alby
and version please ...
Alby
Re: Forum Made simple error help
Posted: Thu Nov 05, 2009 5:26 pm
by xoplex
Sorry my bad,
Rolf wrote:
xoplex,
Some System Information would be nice...
New Install?
When did this message appear? After an install or...
Tried to re-upload the files?
Regards, Rolf
Error started since 1.6.4
upgraded to CMS Made Simple 1.6.6 "Bonde"
FMS 0.9.2
Current PHP Version 5.2.9
MySQL 5.1.30
Installed Modules
CMSMailer 1.73.14
FileManager 1.0.1
MenuManager 1.6.2
ModuleManager 1.3.1
News 2.10.3
nuSOAP 1.0.1
Printing 1.0.4
Search 1.6.1
ThemeManager 1.1.1
TinyMCE 2.5.5
Chat 0.2.0
Captcha 0.4
FrontEndUsers 1.6.10
Forum 0.9.2
FormBuilder 0.5.11
LinkMgr 1.2
CGExtensions 1.16.2
SiteMapMadeSimple 1.1.4
AjaxMadeSimple 0.1.6
bMenu 0.4.7
admin_tab_settings.php
Code: Select all
<?php
if(!isset($gCms)) exit;
echo $this->StartTab('settings');
$this->smarty->assign('form_start', $this->CreateFormStart($id, 'admin_save_settings', $returnid));
$this->smarty->assign('form_end', $this->CreateFormEnd());
$this->smarty->assign('form_submit', $this->CreateInputSubmit($id, 'form_submit', $this->Lang('save_submit')));
$defns = array();
$defns['None'] = '';
$defns1 = &$this->FrontEndUsers->GetPropertyDefns();
foreach($defns1 as $def) $defns[$def['prompt']] = $def['name'];
$this->smarty->assign('enable_report_moderators_label', $this->Lang('enable_report_moderators_label'));
$this->smarty->assign('enable_report_moderators_input', $this->CreateInputCheckbox($id, 'enable_report_moderators', 1, $this->GetPreference('enable_report_moderators')));
$this->smarty->assign('enable_report_moderators_comment', $this->Lang('check_cmsmailer'));
$this->smarty->assign('topic_pagelimit_label', $this->Lang('topic_pagelimit_label'));
$this->smarty->assign('topic_pagelimit_input', $this->CreateInputText($id, 'topic_pagelimit', $this->GetPreference('topic_pagelimit', 999), '4', '4'));
$this->smarty->assign('post_pagelimit_label', $this->Lang('post_pagelimit_label'));
$this->smarty->assign('post_pagelimit_input', $this->CreateInputText($id, 'post_pagelimit', $this->GetPreference('post_pagelimit', 999), '4', '4'));
$this->smarty->assign('avatar_property_name_label', $this->Lang('avatar_property_name_label'));
$this->smarty->assign('avatar_property_name_input', $this->CreateInputDropdown($id, 'avatar_property_name', $defns, -1, $this->GetPreference('avatar_property_name')));
$this->smarty->assign('ranking_label', $this->Lang('ranking_label'));
$this->smarty->assign('ranking_input', $this->CreateInputText($id, 'ranking', $this->GetPreference('ranking', '25,50,100,200'), '30', '30'));
$this->smarty->assign('bbcode_label', $this->Lang('bbcode_label'));
$this->smarty->assign('bbcode_input', $this->CreateInputCheckbox($id, 'usebbcode', 1, $this->GetPreference('usebbcode', '1')));
echo $this->ProcessTemplate('admin_settings.tpl');
echo $this->EndTab()."\n\n";
?>
Re: Forum Made simple error help
Posted: Thu Nov 05, 2009 6:12 pm
by alby
xoplex wrote:
Sorry my bad,
ok, try to upgrade to 0.9.3 (it's a tar.gz only)
in this week end I update to 0.9.4
Alby