Forum Made simple error help

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
xoplex
Forum Members
Forum Members
Posts: 15
Joined: Thu Sep 25, 2008 2:28 pm

Forum Made simple error help

Post 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
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Forum Made simple error help

Post 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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
alby

Re: Forum Made simple error help

Post by alby »

and version please ...

Alby
xoplex
Forum Members
Forum Members
Posts: 15
Joined: Thu Sep 25, 2008 2:28 pm

Re: Forum Made simple error help

Post 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";
?>
Last edited by xoplex on Thu Nov 05, 2009 5:50 pm, edited 1 time in total.
alby

Re: Forum Made simple error help

Post 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
Post Reply

Return to “Modules/Add-Ons”