[2.0 RC2] error log ,is it issues ??
QuoteUndefined index: can_approve_posts :8
File: /Themes/default/GenericControls.template.php (main sub template - eval?)
Line: 900
*********
http://www.simplemachines.org/community/index.php?topic=135761.msg2380013#msg2380013
http://www.simplemachines.org/community/index.php?topic=300777.msg2124503#msg2124503
Can you please disable eval (http://www.simplemachines.org/community/index.php?topic=290186.0) , then post the (new) errors you may be getting?
8: Undefined index: can_approve_posts
file: Themes/default/Display.template.php
line: 990
What language are you using?
Can you check that your language files have an entry for $txt['can_approve_posts']
Arabic
no that's one not in the "index.arabic-utf8.php"
I don't seem to find "can_approve_posts" in Display.template.php from RC2 public. Can you please tell, do you have mods installed?
Eventually, please attach your Display.template.php here.
==>990: ', $topic['is_sticky'] ? '<strong>' : '', '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], (!$context['can_approve_posts'] && !$topic['approved'] ? ' <em>(' . $txt['awaiting_approval'] . ')</em>' : ''), '</span>', $topic['is_sticky'] ? '</strong>' : '' ;
Aeva ~ Auto-Embed Video & Audio
Downloads System
Share This Topic
EmailValidator
Sitemap
Contact Page
Google Analytics Code
Custom Copyright
Welcome Back
More Spiders
Ad Managment
Left-To-Right and Right-To-Left BBcode Buttons
Related Topics
RSS Feed Icon
Quran Flash
It seems the code causing the error belongs to the Related Topics mod. I'm not sure at first sight how it can be solved. It might be best to ask the mod author.
ETA: I am moving the topic to the Support boards, as it doesn't seem to be a bug in SMF. Please be assured that in case it proves otherwise, it will be reconsidered.
ok,Thank you.
http://www.simplemachines.org/community/index.php?topic=49410.msg2391174#msg2391174
It seems confirmed to belong to the mod, to an older version of it. I'll mark this topic as solved then.
ok