Topic on Extension talk:BlogPage

don't work with mediawiki 1.19.0

2
Hevercking~mediawikiwiki (talkcontribs)

Hi i using mediawiki 1.19.0, i have installed SocialProfile,Comments and VoteNY extensions but when i try create new blog says this message

Warning: Invalid argument supplied for foreach() in /var/www/mediawiki/mediawiki3/extensions/SocialProfile/UserStats/UserStatsClass.php on line 611

Ha ocurrido un error de sintaxis en una consulta a la base de datos. Esto puede indicar un error en el software. La última consulta a la base de datos que se intentó fue: (Consulta SQL oculta) dentro de la función «UserStatsTrack::updateWeeklyPoints». La base de datos devolvió el error «1146: Table 'mediawiki3.wiki_user_points_weekly' doesn't exist (localhost)».

I search in the code the sql code but i can't found it.

Any solution?

This post was posted by Hevercking~mediawikiwiki, but signed as Hevercking.

Jack Phoenix (talkcontribs)

To be specific, it's not an extension bug per se, but rather a problem with your configuration. You have set (at least) $wgUserStatsTrackWeekly to true without creating the necessary database table(s); the schemas for user_points_weekly, user_points_monthly and user_points_archive are located in Extension:RandomFeaturedUser's directory on SVN (yes, SVN, as opposed to git).
Create those tables by running something line this (for each different file) from command line: php path/to/your/wiki/maintenance/sql.php path/to/your/wiki/extensions/RandomFeaturedUser/user_points_weekly.sql

Reply to "don't work with mediawiki 1.19.0"