ocGames - Sokogo - Maps don't load
ownCloud apps2 provides tools for ownCloud: system, productivity, etc.
Status: Beta
Brought to you by:
pf18387
The maps in sokogo don't load after installation of the ocGames app in owncloud.
The reason is, that a table named "oc_apps2_map" was created, but the ajax tries to get the maps from the table "oc_apps2_games_map".
I renamed the table and it worked.
Should be changed in /oc_apps2_games/g/sokogo/oc_apps2_map.sql, I think.
Excellent report!
Done.
Does it work fine, now?
Last edit: Pierre Fauconnier 2014-09-05
No.
Now the table oc_apps2_games_map was created, but it didn't get filled with data.
I already renamed and changed some more files where the old table-name occured, but could'nt get data into the table without manually executing the sql-file, yet.
The table oc_apps2_games_map is created by ownCloud, thanks to the file appinfo/database.xml.
Yes, the sql-file must be run manually.
(see also https://github.com/owncloud/core/issues/10879 )
When I uncomment the csv-import part in the appinfo/app.php it works.
Is there a reason, why this is commented out?
1) This part is commented out because there is no known method to feed a DB-table.
2) appinfo/app.php is called too often for doing such updates.
Having said that, Vincent Petry wrote a comment about an appinfo/update.php
https://github.com/owncloud/core/issues/10879#issuecomment-54601886
Unfortunately, I won't be able to check this update.php during the next week.