Unknown database 's51203__viewstats_cache'

Issue #27 resolved
Federico Leva created an issue

http://tools.wmflabs.org/glamtools/viewstats_api.php?action=request&date=201503&pages={%27enwiki%27:%20%27Main_Page%27} returns:

{"status":"ERROR","msg":"Unable to connect to database [Unknown database 's51203__viewstats_cache']","views":[]}

This is, I believe, the reason https://tools.wmflabs.org/glamtools/treeviews/ gets no pageviews data at all.

Comments (3)

  1. Federico Leva reporter

    I don't see that file any longer, instead there is a line like $('#views'+o.lcnt+"_"+sanitizeID(o.k2)+"_"+result.options.date).html ( "<a href='http://"+wikiSettings.stats_grok+"/"+o.lang+"/"+result.options.date+"/"+encodeURI(o.title)+"' title='See these stats in detail' target='_blank'>" + prettyNumber ( views ) + "</a>" ) ; // FIXME project

    So this is superseded?

  2. Log in to comment