Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Error with MariaDB 10.2 in Contao 3.5 and 4.4 #8753

Closed
hamidpeywasti opened this issue Jul 27, 2017 · 1 comment
Closed

Error with MariaDB 10.2 in Contao 3.5 and 4.4 #8753

hamidpeywasti opened this issue Jul 27, 2017 · 1 comment

Comments

@hamidpeywasti
Copy link
Contributor

hamidpeywasti commented Jul 27, 2017

There is an error after upgrading MariaDB to version 10.2 when adding "New layout" in both Contao 3.5.* and 4.4.*:

Fatal error: Uncaught exception Exception with message Query error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rows, cols, sPosition, framework, loadingOrder, modules, mooSource, align, pid, ' at line 1 (INSERT INTO tl_layout (rows, cols, sPosition, framework, loadingOrder, modules, mooSource, align, pid, tstamp) VALUES ('2rwh', '2cll', 'main', 'a:2:{i:0;s:10:\"layout.css\";i:1;s:14:\"responsive.css\";}', 'external_first', 'a:1:{i:0;a:3:{s:3:\"mod\";i:0;s:3:\"col\";s:4:\"main\";s:6:\"enable\";i:1;}}', 'moo_local', 'center', '1', 0)) thrown in system/modules/core/library/Contao/Database/Statement.php on line 295

#0 system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
#1 system/modules/core/drivers/DC_Table.php(689): Contao\Database\Statement->execute()
#2 system/modules/core/classes/Backend.php(650): Contao\DC_Table->create()
#3 system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('themes')
#4 contao/main.php(20): Contao\BackendMain->run()
#5 {main}
@ausi
Copy link
Member

ausi commented Jul 27, 2017

Related: contao/core-bundle#918

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

No branches or pull requests

3 participants