Jag har försökt få hjälp på en massa forum, utan resultat, så jag hoppas att någon här kanske kan hjälpa mig.
Statistics modden installerades och det stöder PostGres, som jag då använder mig av.
Modulerna till den kan man ladda ner här
http://www.opentools.de/board/show_modules.php
Jag har då gjort så och laddat ner
Most Active Topicstarter
Posts by gender
Fastest users
Daily Statistics
Month Statistics
allt verkar ju lätt att isntallera, men icke sa nicke!
Tex, när jag "install & activate" på Most Active Topistarter, får jag detta:
Kod: Markera allt
Couldn't retrieve users data
DEBUG MODE
SQL Error : -1 ERROR: syntax error at or near "num_topics" at character 53
SELECT u.user_id, u.username, COUNT(t.topic_poster) num_topics FROM phpbb_users u, phpbb_topics t WHERE (t.topic_poster <> -1 ) AND (u.user_posts > 0) AND (u.user_id = t.topic_poster) GROUP BY t.topic_poster ORDER BY num_topics DESC LIMIT 10
Line : 86
File : module.phpPOST BY GENDER, får jag detta:
Kod: Markera allt
Couldn't retrieve users data
DEBUG MODE
SQL Error : -1 ERROR: syntax error at or near "posts_count" at character 24
SELECT SUM(user_posts) posts_count, user_gender FROM phpbb_users WHERE user_id <> -1 GROUP BY user_gender ORDER BY `posts_count` DESC
Line : 85
File : module.phpFASTEST USERS, får jag detta:
Kod: Markera allt
General Error
Couldn't retrieve users data
DEBUG MODE
SQL Error : -1 ERROR: division by zero
SELECT user_id, username, user_posts, user_regdate, (user_posts/((1122563393 - user_regdate)/ 86400)) AS rate, ROUND((1122563393 - user_regdate)/ 86400) AS time_on_forum FROM phpbb_users WHERE (user_id <> -1 ) AND (user_posts > 0) ORDER BY rate DESC LIMIT 10
Line : 89
File : module.php Kod: Markera allt
Couldn't retrieve posts data
DEBUG MODE
SQL Error : -1 ERROR: function from_unixtime(integer) does not exist HINT: No function matches the given name and argument types. You may need to add explicit type casts.
SELECT DAYOFMONTH(FROM_UNIXTIME(post_time)) as day, MONTH(FROM_UNIXTIME(post_time)) as mon, YEAR(FROM_UNIXTIME(post_time)) as year,COUNT(*) AS ant FROM phpbb_posts GROUP BY year,mon,day ORDER BY year DESC, mon DESC, day DESC LIMIT 0,30
Line : 27
File : module.phpMONTH STATISTICS, får jag detta:
Kod: Markera allt
Couldn't retrieve posts data
DEBUG MODE
SQL Error : -1 ERROR: function from_unixtime(integer) does not exist HINT: No function matches the given name and argument types. You may need to add explicit type casts.
SELECT MONTH(FROM_UNIXTIME(post_time)) as mon, YEAR(FROM_UNIXTIME(post_time)) as year,COUNT(*) AS ant FROM phpbb_posts GROUP BY year,mon ORDER BY year DESC, mon DESC LIMIT 0,12
Line : 29
File : module.phpVad ska jag göra för att få de att funka??
Här är mitt forum:
http://t-music.web.surftown.se/phpBB2/index.php


