Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: PHP Error after installing Matrix 2.5.4

Status Resolved
Add-on / Version Publisher
Severity Blocker
EE Version 24

AFISAS

Apr 29, 2013

Just installed Matrix and got this strange error, need help


A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘{ee()->publisher_lib->default_lang_id} AFTER `site_id`’ at line 1

ALTER TABLE `exp_matrix_data` ADD `publisher_lang_id` int(4) NOT NULL DEFAULT {ee()->publisher_lib->default_lang_id} AFTER `site_id`

Filename: third_party/publisher/libraries/Publisher/fieldtypes/Publisher_matrix.php

Line Number: 236

#1

Dimitri Neufeld

Any thoughts how to fix that?

#2

BoldMinded (Brian)

Change that line to:

“ALTER TABLE exp_matrix_data ADD publisher_lang_id int(4) NOT NULL DEFAULT “.ee()->publisher_lib->default_lang_id .” AFTER site_id

#3

BoldMinded (Brian)

Also, if you download the latest version from Devot:ee this has already been fixed.

Login to reply