PostgreSQL 9.14
PHP 5.3.15 and PHP 5.4.5
Apache 2.2.x
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://d8.dev/core/install.php?langcode=nb&profile=standard&id=1&op=do_nojs&op=do StatusText: OK ResponseText: User account | Drupal @import url("http://d8.dev/core/modules/system/system.theme.css?0"); @import url("http://d8.dev/core/modules/system/system.base.css?0"); @import url("http://d8.dev/core/modules/user/user.css?0"); @import url("http://d8.dev/core/modules/system/system.admin.css?0"); @import url("http://d8.dev/core/modules/system/system.maintenance.css?0"); @import url("http://d8.dev/core/themes/seven/reset.css?0"); @import url("http://d8.dev/core/themes/seven/style.css?0"); User account Installation tasksVelg språk(done)Velg profil(done)Sjekk forhåndskrav(done)Sett opp database(done)Installeringsprofil(aktiv)Sett opp oversettelserSett opp nettstedetFullfører oversettelserFullført SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "`" LINE 1: SELECT *, 0 as `default` FROM language ORDER BY weight ASC, ... ^
Attached screenshot shows the same. Installing on MariaDB and sqlite works as expected.
Comment | File | Size | Author |
---|---|---|---|
#7 | d8-1741068_pg_language_list-7.patch | 821 bytes | steinmb |
#4 | d8-1741068_pg_language_list.patch | 840 bytes | steinmb |
pg_inst_lang.jpg | 106.15 KB | steinmb |
Comments
Comment #1
steinmb CreditAttribution: steinmb commentedMental note, language_list() have postgres problems. This query is the one that fails.
Comment #2
BerdirThe backticks in there are clearly wrong. Should be enough to simply remove them, they aren't necessary.
Comment #3
steinmb CreditAttribution: steinmb commentedThe table contain a reserved SQL name (http://drupal.org/node/141051) so Mysql needs those backticks.
This issue discuss the problem: #1426084: Provide backtick escaping for MySQL in DB abstraction layer
Comment #4
steinmb CreditAttribution: steinmb commentedRenaming the alias to a not reserved name. Tested on MariaDB, sqlite and postgres.
Comment #5
BerdirYes, but I guess we need need to change the code there as well that relies on this? Or remove it from the SQL completely and just enforce default => 0 in a foreach loop? Might actually be the easiest way..
Comment #6
Damien Tournoud CreditAttribution: Damien Tournoud commentedJust remove the default column, it is initialized just below. The query should just be
SELECT * FROM {language} ORDER BY weight ASC, name ASC
.Comment #7
steinmb CreditAttribution: steinmb commentedYou are right, it is. This works as expected.
Comment #8
steinmb CreditAttribution: steinmb commentedYou are right, it is. This is working as expected.dbl. post
Comment #9
BerdirYes, this makes sense.
Comment #10
webchickLooks like this was committed at some point. Woohoo!
Comment #11
Gábor HojtsyGot people to look at this as part of our sprint so tagging retroactively.
Comment #12
Gábor HojtsyRemoving from sprint. I don't think this should get a changelog entry or change notice, it is such a tiny improvement. Thanks all though!