Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

groupsview fails to load when there are no groups #1963

Closed
DiogoFilhoDeMorais opened this issue Feb 21, 2017 · 18 comments
Closed

groupsview fails to load when there are no groups #1963

DiogoFilhoDeMorais opened this issue Feb 21, 2017 · 18 comments

Comments

@DiogoFilhoDeMorais
Copy link

DiogoFilhoDeMorais commented Feb 21, 2017

When I go to Group List an error appears.

" Localhost say:
DataTables warning: table id=groupsTable - Ajax error. For more information about this error, please see http://datatables.bet/tn/7 "

@crossan007
Copy link
Contributor

Do you have any existing groups? I think there is an open issue for this page being grumpy in a system with no groups.

@DiogoFilhoDeMorais
Copy link
Author

DiogoFilhoDeMorais commented Feb 21, 2017

When I click the page the error appears and the button to add new group stops working

@crossan007
Copy link
Contributor

This might be #1547 or #1542

@crossan007 crossan007 changed the title System instability groupsview fails to load when there are no groups Feb 21, 2017
@DiogoFilhoDeMorais
Copy link
Author

Using developer tool on Chrome, this show a message when I click on GroupList:

errotable

@DiogoFilhoDeMorais
Copy link
Author

On the Families View, this error not exists. The page open normally and show families. It may be that the Json structure used to list the groups is causing this disorder.

@crossan007
Copy link
Contributor

crossan007 commented Feb 26, 2017

Is this still an issue?

I can't find any PR indicating it was fixed.
I also can't replicate it on the demo site... http://demo.churchcrm.io/master/

@DiogoFilhoDeMorais
Copy link
Author

This problem was occurring on my personal machine. With that, I thought it was a general bug.
It has already been resolved in an online host.

You can close the issue.

Thank you.

@crossan007
Copy link
Contributor

@braxmann Can you check what version of SQL was running?

@DiogoFilhoDeMorais
Copy link
Author

@crossan007 ,
Server version: 5.7.17-0ubuntu0.16.04.1 (Ubuntu)

@crossan007
Copy link
Contributor

SQL version?

@DawoudIO DawoudIO removed this from the 2.6.0 milestone Feb 28, 2017
@DawoudIO
Copy link
Contributor

@braxmann are you fixing this?

@DiogoFilhoDeMorais
Copy link
Author

DiogoFilhoDeMorais commented Mar 20, 2017

@crossan007 That is the version of Mysql.
@DawoudIO This problem is not occurring again. This problem occurred on a local machine. When I put it in Vagrant or in a web hosting, this problem does not occur anymore.

The message that Charles had asked a question came now when George asked a question. Charles, sorry for not responding sooner.

@hdisplay
Copy link

what is the solution? I even have MySQL 5.7.17 ubuntu 16.04.02

@crossan007
Copy link
Contributor

@hdisplay i edned up needing to change the SQL mode as described in #1547

@apmuthu
Copy link

apmuthu commented Apr 24, 2017

PHP 5.6 gives this error and we cannot add a Group to alleviate this issue. Can anyone post a sample group set of insert sqls?

@crossan007 crossan007 self-assigned this Apr 24, 2017
@crossan007 crossan007 added this to the 2.7.3 milestone Apr 24, 2017
@ChurchCRMBugReport
Copy link

ChurchCRMBugReport commented Apr 24, 2017 via email

@apmuthu
Copy link

apmuthu commented Apr 24, 2017

Could you please elaborate on the steps needed to use the API on the CLI for adding a group?

@crossan007
Copy link
Contributor

See #2380

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

No branches or pull requests

6 participants