-
Notifications
You must be signed in to change notification settings - Fork 575
Anchor Failing to display main site upon completion of installation #1190
Comments
Any updates? @daviddarnes |
@agottschling afraid not from me, this may me more @CraigChilds94 or @TheBrenny's area? |
I am facing the same issue but only on one hosting. The other one is fine. |
@adinafxv interesting, do they have different php versions? |
@daviddarnes they are both PHP 7. I've contacted provider of hosting that gives me this error, so hopefully I'll get some help or at least info what's the problem there. I will definitely share. |
@daviddarnes I am back with the info: The error was caused in database MySQL 5.7., when moved to MySQL 5.6 it works fine now. |
I am seeing the same error here - PHP7 with Mysql 5.7 Replaced Mysql with Maria 10.0.29 and all is good! |
I also confirm the bug with mysql Database Error: SQLSTATE[22004]: Null value not allowed: 1138 Invalid use of NULL value Uncaught Exception Database Error: SQLSTATE[22004]: Null value not allowed: 1138 Invalid use of NULL value SQL: ALTER TABLE Origin system/database/connector.php on line 52 Trace #0 [internal function]: System\Database\Connector->ask('ALTER TABLE `an...') In the database anchor_comments is completely empty, for example pages is ok, comments is empty mysql> select * from anchor_pages; mysql> select * from anchor_comments; |
this is a duplicate of #1178 |
I've got quite a bit to say, so brace yourselves... First off, I'd like to take the time to say cheers for reporting the issues that you're having, and, from the team, apologies for not promptly fixing them. As you can appreciate, Anchor isn't a full-time job so we heavily rely on the community to contribute code where they can. But thank you, once again for pointing these issues out. On a note of pointing issues out, there's more than one that's been identified on this thread, and likely already been reported (one stack trace is reporting a call to an undefined method, and the other is calling a bad SQL query). It would be best to add a comment onto the relevant issue in very much the same way that a new issue is created - with an emphasis on steps to reproduce, and server configuration (including anchor version and where you sourced it from). @adinafxv & @zopar, cheers! That'll help us identify and resolve AN issue. @agottschling, if you could try the latest commit to the master branch; just download the zip from GitHub, and tell me if it changes the issue. Once again, apologies for the delay. |
Summary
As soon as I finish the installation, and click on the button to either visit the admin panel, or the site, it crashes with the following error:
Expected Behaviour
Actual Behaviour
Context details (if applicable)
EDIT:
This seems to be the same error as #1111 and #1163, but I didn't want to coremod the installation, and php-pear is up to date according to apt
The text was updated successfully, but these errors were encountered: