Fehlerhaftes Forum (3.0.1.2) und kein Edit möglich?
Verfasst: 12.09.2014 15:13
"Parse error: syntax error, unexpected ':', expecting ')' in /homepages/xx/dxxxxxxxxx/htdocs/heimspiele/forum/includes/acp/acp_board.php on line 359"
Forum: http://www.heimspiele.info/index.php
Servus
obigen Fehler erhalte ich, wenn ich im Administrationsbereich auf verschiedene Optionen zugreifen möchte (z.B. Board-Einstellungen oder Beiträge,...)!
Was könnte da (auf einmal) falsch sein?
Code (line 348-373):
Dann fiel mir nun auf, nachdem ich das Forum aktiver nutze, dass ich im Forum Beiträge nicht editieren kann. Liegt das am jeweiligen Style oder fehlt da einfach ein "Tool"? Es gibt nur "x", "!" und "?" für löschen, melden, info.
Danke
Forum: http://www.heimspiele.info/index.php
Servus

obigen Fehler erhalte ich, wenn ich im Administrationsbereich auf verschiedene Optionen zugreifen möchte (z.B. Board-Einstellungen oder Beiträge,...)!
Was könnte da (auf einmal) falsch sein?
Code (line 348-373):
Code: Alles auswählen
case 'server':
$display_vars = array(
'title' => 'ACP_SERVER_SETTINGS',
'vars' => array(
'legend1' => 'ACP_SERVER_SETTINGS',
'gzip_compress' => array('lang' => 'ENABLE_GZIP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'legend2' => 'PATH_SETTINGS',
'smilies_path' => array('lang' => 'SMILIES_PATH', 'validate' => 'rpath', 'type' => 'text:20:255', 'explain' => true),
'icons_path' => array('lang' => 'ICONS_PATH', 'validate' => 'rpath', 'type' => 'text:20:255', 'explain' => true),
'upload_icons_path' => array('lang' => 'UPLOAD_ICONS_PATH', 'validate' => 'rpath', 'type' => 'text:20:255', 'explain' => true),
'ranks_path' => array('lang' => 'RANKS_PATH', 'validate' => 'rpath', 'type' => 'text:20:255', :yes_no', 'explain' => true),
'max_pass_chars' => array('lang' => 'PASSWORD_LENGTH', 'validate' => 'int:8:255', 'type' => false, 'method' => false, 'explain' => false,),
'min_pass_chars' => array('lang' => 'PASSWORD_LENGTH', 'validate' => 'int:1', 'type' => 'custom', 'method' => 'password_length', 'explain' => true),
'pass_complex' => array('lang' => 'PASSWORD_TYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_password_chars', 'explain' => true),
'chg_passforce' => array('lang' => 'FORCE_PASS_CHANGE', 'validate' => 'int:0', 'type' => 'text:3:3', 'explain' => true, 'append' => ' ' . $user->lang['DAYS']),
'max_login_attempts' => array('lang' => 'MAX_LOGIN_ATTEMPTS', 'validate' => 'int:0', 'type' => 'text:3:3', 'explain' => true),
'ip_login_limit_max' => array('lang' => 'IP_LOGIN_LIMIT_MAX', 'validate' => 'int:0', 'type' => 'text:3:3', 'explain' => true),
'ip_login_limit_time' => array('lang' => 'IP_LOGIN_LIMIT_TIME', 'validate' => 'int:0', 'type' => 'text:5:5', 'explain' => true, 'append' => ' ' . $user->lang['SECONDS']),
'ip_login_limit_use_forwarded' => array('lang' => 'IP_LOGIN_LIMIT_USE_FORWARDED', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'tpl_allow_php' => array('lang' => 'TPL_ALLOW_PHP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'form_token_lifetime' => array('lang' => 'FORM_TIME_MAX', 'validate' => 'int:-1', 'type' => 'text:5:5', 'explain' => true, 'append' => ' ' . $user->lang['SECONDS']),
'form_token_sid_guests' => array('lang' => 'FORM_SID_GUESTS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
)
);
Dann fiel mir nun auf, nachdem ich das Forum aktiver nutze, dass ich im Forum Beiträge nicht editieren kann. Liegt das am jeweiligen Style oder fehlt da einfach ein "Tool"? Es gibt nur "x", "!" und "?" für löschen, melden, info.
Danke
