Eh, it was very outdated indeed, so sorry. I've cleaned the extension page now, bringing it up to date. It now clearly states that only raw MySQL and Elasticsearch are supported.

On Sat, Mar 14, 2015 at 12:20 AM, cxyshine@yeah.net <cxyshine@yeah.net> wrote:

yes ,i met the problem when i updater with GeoData. but it seems works now .  i don't konw what happened.

but  i met new problem when i tried to run running GeoData with Solr , followed this https://www.mediawiki.org/wiki/Extension:GeoData#Running_GeoData_with_Solr 


i have downloaded Solr-3.6.0,then extracted to d:\solr; here is the file structure of solr :
my questions: 

1): i follow this instruction ((((("Copy solr/schema.xmlto desired Solr core's configuration directory (if you have only one core and you don't want to use it for anything else, just use 

     collection1, its config dir with Debian-packaged Solr is /etc/solr/conf).)))))  Where can i get solr/schema.xml ? i didn't see it.but i see a schema.xml in "D:\mysolr\example\solr\conf". if i          use the schema.xml in conf ,then where is "/etc/solr/conf" ? where should i put the D:\mysolr\example\solr\conf\schema.xml in ? 


2):"Set $wgGeoDataSolrHosts and $wgGeoDataSolrMaster in LocalSettings.php to your server hostname(s)/IP(s)" i set like this $wgGeoDataSolrHosts ='192.168.137.1';

     $wgGeoDataSolrMaster = '192.168.137.1'; is it right ?

3):"Run php solrupdate.php from cronjob." but where is the solrupdate.php? i did not find it in my computer or any  in extentions


4): i think the instruction "https://www.mediawiki.org/wiki/Extension:GeoData#Running_GeoData_with_Solr" maybe out of date.


1) Does it happen when you run the updater without GeoData?
2) Please verify that all GeoData files are in place and nothing's missing.

On Fri, Mar 13, 2015 at 1:44 AM, cxyshine@yeah.net <cxyshine@yeah.net> wrote:



hi,
    I have insatll Extentions: MobileFrontend ,MobileApp, Mantle and GeoData. and my  app can search and display pages on my local mediaWiki server. As there are functions : "today","history","saved pages","Nearby","Random".all work well except "Nearby".


  database error : i install GeoData to get "Nearby" working follow instrcutions from https://www.mediawiki.org/wiki/Extension:GeoData#Installation . but when i run the update script from the browser ,the update process stop ,and here is the message i got:

install

    • Including extensions... done
    • Setting up database... done
    • Creating tables... done
    • Creating database user... done
    • Populating default interwiki table... done
    • Initializing statistics... done
    • Generating secret keys... done
    • Prevent running unneeded updates... done
    • Creating administrator user account... done
    • Creating main page with default content... done
    • Creating tables for enabled extensions...
    • <!DOCTYPE html> 
      <html><head><title>Internal error - 西湖百科</title><style>body { font-family: sans-serif; margin: 0; padding: 0.5em 2em; }</style></head><body> 
      <p>[31b02da5] /w/mw-config/index.php?page=Install Exception from line 182 of D:\wamp\www\w\includes\Hooks.php: Invalid callback in hooks for LoadExtensionSchemaUpdates<br /> 
      </p><p>Backtrace:</p><p>#0 D:\wamp\www\w\includes\GlobalFunctions.php(3995): Hooks::run(string, array, NULL)<br /> 
      #1 D:\wamp\www\w\includes\installer\DatabaseUpdater.php(117): wfRunHooks(string, array)<br /> 
      #2 D:\wamp\www\w\includes\installer\DatabaseUpdater.php(171): DatabaseUpdater->__construct(DatabaseMysqli, boolean, NULL)<br /> 
      #3 D:\wamp\www\w\includes\installer\DatabaseInstaller.php(241): DatabaseUpdater::newForDB(DatabaseMysqli)<br /> 
      #4 [internal function]: DatabaseInstaller->createExtensionTables(MysqlInstaller)<br /> 
      #5 D:\wamp\www\w\includes\installer\Installer.php(1600): call_user_func(array, MysqlInstaller)<br /> 
      #6 D:\wamp\www\w\includes\installer\WebInstallerPage.php(1402): Installer->performInstallation(array, array)<br /> 
      #7 D:\wamp\www\w\includes\installer\WebInstaller.php(280): WebInstallerInstall->execute()<br /> 
      #8 D:\wamp\www\w\mw-config\index.php(79): WebInstaller->execute(array)<br /> 
      #9 D:\wamp\www\w\mw-config\index.php(38): wfInstallerMain()<br /> 
      #10 {main}</p> 
      </body></html>

       I tried to install GeoData  many times , there is on time install success , after i edit a wiki page and click save , i got a Database Error. then i open database  and found what i edited in page was correct saved in tables,i don't know why i got  Database Error.  I can sure it is the problem with GeoData because after i remove GeoData ,everything working well.

       then i try to install Nearby follow this https://www.mediawiki.org/wiki/Extension:MobileFrontend#Install_Nearby and set $wgMFNearbyEndpoint = 'http://en.m.wikipedia.org/w/api.php';$wgMFNearby = true;in my LocalSettings.php ,but when i click "Nearby" in app , it show " there are no nearby list" ,is that something wrong 
    with $wgMFNearbyEndpoint= 'http://en.m.wikipedia.org/w/api.phpor i missed something ?




    _______________________________________________
    Mobile-l mailing list
    Mobile-l@lists.wikimedia.org
    https://lists.wikimedia.org/mailman/listinfo/mobile-l




    --
    Best regards,
    Max Semenik ([[User:MaxSem]])




    --
    Best regards,
    Max Semenik ([[User:MaxSem]])