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.php' or i missed
something ?
[email protected]
_______________________________________________
Mobile-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mobile-l