Menu

#3 ocGames - Sokogo - Maps don't load

2.x
pending
None
2014-09-05
2014-09-04
DG
No

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.

Discussion

  • Pierre Fauconnier

    • status: open --> accepted
     
  • Pierre Fauconnier

    Excellent report!

     
  • Pierre Fauconnier

    • status: accepted --> pending
     
  • Pierre Fauconnier

    Should be changed in /oc_apps2_games/g/sokogo/oc_apps2_map.sql, I think.

    Done.

    Does it work fine, now?

     

    Last edit: Pierre Fauconnier 2014-09-05
  • DG

    DG - 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.

     
    • Pierre Fauconnier

      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 )

       
  • DG

    DG - 2014-09-05

    When I uncomment the csv-import part in the appinfo/app.php it works.
    Is there a reason, why this is commented out?

     
    • Pierre Fauconnier

      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.

       

Log in to post a comment.

MongoDB Logo MongoDB