Error log missing in menu

Started by ke, May 29, 2011, 03:55:00 AM

Previous topic - Next topic

ke

In my SMF 2.0 RC5 installation, the Maintenace menu does not contain an Error Log entry, nor does the submenu "Logs...". When I just click on "Logs...", something with the heading "Error Log" shows up, but the info message and the dropmenu say "Ban Log" (see screenshot).

Joker™

Does this happen on default curve theme also?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

ke


Joker™

See if this code is exactly present in Sources/Admin.php

// Setup some tab stuff.
$context[$context['admin_menu_name']]['tab_data'] = array(
'title' => $txt['logs'],
'help' => '',
'description' => $txt['maintain_info'],
'tabs' => array(
'errorlog' => array(
'url' => $scripturl . '?action=admin;area=logs;sa=errorlog;desc',
'description' => sprintf($txt['errlog_desc'], $txt['remove']),
),
'adminlog' => array(
'description' => $txt['admin_log_desc'],
),
'modlog' => array(
'description' => $txt['moderation_log_desc'],
),
'banlog' => array(
'description' => $txt['ban_log_description'],
),
'spiderlog' => array(
'description' => $txt['spider_log_desc'],
),
'tasklog' => array(
'description' => $txt['scheduled_log_desc'],
),
'pruning' => array(
'description' => $txt['pruning_log_desc'],
),
),
);
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

ke

Yes, I have exactly this code there.

Illori

in admin -> security and moderation is enable error logging checked?

ke

Oh, I didn't know this setting existed. Must have been turned off during an update, or I did it by accident. I checked it and now the Error Log appears in the Logs menu.

Thanks, guys!

What remains is a minor bug: when error logging is turned off, clicking on "Logs" takes one to a log page with contradictory information.

Advertisement: