You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SQLSTATE[42000]: Syntax error or access violation: 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 'read, write, locked, hidden, width, height) VALUES (0, 'DATABASE', '', 0, 0, 'di' at line 1
Now, I have no idea why this does not work. I've opened MySql Workbench and run this query:
OK, I think it's due to column named write. WRITE is a reserved keyword in mysql. The solution is to wrap "write" in quotes.. but Doctrine should do that by default?
I've created a project with this bundle as a dependency.
Then I run
php app/console doctrine:schema:create
-> OKThen
php app/console doctrine:fixtures:load
-> ERRORAnd below another:
Now, I have no idea why this does not work. I've opened MySql Workbench and run this query:
And it worked.
Also, I've tried commenting out the
flush
operation inLoadRootElement
and runphp app/console doctrine:fixtures:load
again -> OK.So.. it's something wrong with the ElFinderFile entity? Or the
LoadRootElement
fixture?The text was updated successfully, but these errors were encountered: