-
Notifications
You must be signed in to change notification settings - Fork 573
SQLERROR 1067 fires after installing Anchor for some users #1205
Comments
please let me know when this is fixed... |
Personally I'd support simply making MySQL 5.3 unsupported. Since 5.5 was first released in 2009, it's been long enough that I vote we drop support for prior versions. |
I get exactly the same error, with the following setup:
It's a Debian Jessie system. Edit: Sorry, just noticed that MySQL 5.6 is mandatory. |
In my membery, this problem might cause by sql syntax is too strict, another reason maybe is you haven’t set mod_rewrite on.Follow these links you may solve it.Good luck.
https://github.com/anchorcms/anchor-cms/wiki/mod_rewrite
https://stackoverflow.com/questions/18762308/how-to-get-rid-of-strict-sql-mode-in-mysql
发件人: Marco Dickert
发送时间: 2017年10月11日 18:02
收件人: anchorcms/anchor-cms
抄送: Subscribed
主题: Re: [anchorcms/anchor-cms] SQLERROR 1067 fires after installingAnchor for some users (#1205)
I get exactly the same error, with the following setup:
• Apache 2.4.10
• MySQL 5.5.57
• PHP 5.6.30
It's a Debian Jessie system.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@jackeryjam Thanks for the info. I'll try to fix it by disabling the strict mode in MySQL, but otherwise simply install MySQL 5.7 or MariaDB. At first, I didn't recognize that MySQL 5.6 and higher is required. |
So with the correct information displayed on Anchor's Readme page on GH, I think it's fairly safe to say that this issue can be closed. The fix involved is that the MySQL version required must be greater than or equal to 5.6 (>=5.6 or 5.6+, whichever way suits you). I guess a feature (not a fix) would be to include a "pre-requisite" page on the first page of the installation phase. Hopefully there we can define the rules, test the system and provide tips on how to better prep the system before the user goes ahead. |
just installed anchor 0.12.7 and at the end of the install going to the admin page it error'd my setup: centos 7.4, apache, php7, mariadb (all updated to current versions) is this the same 1067 rearing its head again?
|
Summary
After installing Anchor CMS, if the server doesn't have MySQL 5.6 or higher, any visitor to the page will encounter an error, claiming:
Expected Behaviour
Visitors should be able to access the page with no issues, whatsoever.
Actual Behaviour
Visitors hit this brick wall with a stack trace:
Context details (if applicable)
Other information
Potential fixes include altering the migrations file so that it is more inclusive to all servers; especially those where MySQL cannot be upgraded. However, the best (and hence easiest) solution would be to bump up the version of the MySQL requirement. Rather than doing it willy-nilly, I've decided to open this discussion to allow all members to have input on whether on not that the proposed solution really is the best.
The text was updated successfully, but these errors were encountered: