Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maps_layers error during update.php #30

Closed
JeroenDeDauw opened this issue Apr 21, 2014 · 4 comments
Closed

maps_layers error during update.php #30

JeroenDeDauw opened this issue Apr 21, 2014 · 4 comments

Comments

@JeroenDeDauw
Copy link
Member

https://www.mediawiki.org/wiki/Thread:Extension_talk:Maps/Creating_maps_layers_table_..._Database.php:_Could_not_open_file.

php maintenance/update.php
...
Rewriting tsearch2 triggers ...done.
Creating maps_layers table ...[1c451ba4] [no req] Exception from line 3560 of /wiki/includes/db/Database.php: Could not open file.

Backtrace:

0 /wiki/includes/installer/DatabaseUpdater.php(642): DatabaseBase->sourceFile(NULL)

1 /wiki/includes/installer/DatabaseUpdater.php(665): DatabaseUpdater->applyPatch(NULL, boolean, string)

2 [internal function]: DatabaseUpdater->addTable(string, NULL, boolean)

3 /wiki/includes/installer/DatabaseUpdater.php(435): call_user_func_array(array, array)

4 /wiki/includes/installer/DatabaseUpdater.php(399): DatabaseUpdater->runUpdates(array, boolean)

5 /wiki/maintenance/update.php(160): DatabaseUpdater->doUpdates(array)

6 /wiki/maintenance/doMaintenance.php(113): UpdateMediaWiki->execute()

7 /wiki/maintenance/update.php(201): require_once(string)

8 {main}

Notice: Uncommitted DB writes (transaction from DatabaseUpdater::doUpdates). in /wiki/includes/db/Database.php on line 3945

@JeroenDeDauw
Copy link
Member Author

Patch on wiki

@jaydub
Copy link

jaydub commented Jun 22, 2014

You claim to support all the databases that mediawiki supports, but the extension brusts into flames with an incomprehensible backtrace because, actually, it doesn't support postgres at all.

How about patch in the source repository?

@JeroenDeDauw
Copy link
Member Author

Maps does work with all dbs, since it does not use a db to begin with. Unfortunately the layers feature which got added again recently does use the db, and apparently fucks up installation for postgres users.

How about patch in the source repository?

Yes please

@JeroenDeDauw
Copy link
Member Author

3ef8f0d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants