Customizing SMF > Tips and Tricks
Tracking User Activity
ChalkCat:
I just installed this on my SMF 2.0.2 but when I type in a username I get the error:
"Fatal error: Call to undefined function db_query() in /home/content/28/74****8/html/sabrinova/tracker.php on line 110"
How do I make it work?
ChalkCat:
My line 110 is this if that helps:
--- Code: ---$result = db_query("SELECT $db_member_table.`ID_MEMBER` FROM $db_member_table WHERE $db_member_table.`memberName` = \"$user\" OR $db_member_table.`realName` = \"$user\"", __FILE__, __LINE__);
--- End code ---
XHIBIT911:
I uploaded this and got an error saying this package was empty
MetalMusicMan:
Thanks :)
ChalkCat:
--- Quote from: Sabrinova on February 29, 2012, 04:16:29 PM ---I just installed this on my SMF 2.0.2 but when I type in a username I get the error:
"Fatal error: Call to undefined function db_query() in /home/content/28/74****8/html/sabrinova/tracker.php on line 110"
How do I make it work?
--- End quote ---
Ok just reealised my error - doh!! I had downloaded the original file rather than the v2 update on page 12. It's working now!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version