News:

SMF 2.1.5 has been released! Take it for a spin! Read more.

Main Menu

Unknown Action

Started by asmith, December 16, 2008, 04:30:31 PM

Previous topic - Next topic

asmith

Hi,

Sometimes I get an Unknown Action when I check the who's online page.

How can I find out what page is it that it is giving unknown action for?

Thanks a lot

Marcus Forsberg

Sometimes different modifications causes that.
Like the SMF Gallery (Or is that fixed?) etc

asmith

Is there a way I could tell it to record the request url instead of "unknown action" , So that I find in whic page it is giving that? 

Bulakbol

There was an old topic about "unknown action". You can try it. Sources/Who.php, find
$data[$k] = $txt['who_unknown'];

replace
$data[$k] = $txt['who_unknown'] . ($user_info['is_admin'] ? (
(isset($actions['action']) ? ' <span class="smalltext">('.$txt['who_action'].': '.$actions['action'].
(isset($actions['sa']) ? ' -&gt; '.$actions['sa'] : '').')</span>' : '')) : '');
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Advertisement: