CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • MySQL error after adding custom fields
Pages: [1]

Author Topic: MySQL error after adding custom fields  (Read 1874 times)

backdrifting

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 2
MySQL error after adding custom fields
April 13, 2008, 10:17:52 pm
I added more custom fields to an existing profile and now I'm getting the following MySQL error:

Sorry. A non-recoverable error has occurred.

Database Error Code: Too many tables; MySQL can only use 61 tables in a join, 1116

The event reg. form was working fine until I added more fields.  Now it appears that MySQL can't handle it?

Any suggestions here?  I'm getting the error when trying to process the form as a test transaction, and also when trying to add another custom field.

Running CiviCRM 1.9 on Drupal 5.7 with MySQL 4.1.


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: MySQL error after adding custom fields
April 13, 2008, 10:29:10 pm

I suspect you are using way too many custom fields in one group / profile (more than 30 probably).

2.0 addresses these limitation by using a database table for every custom group and a column in the table for every custom field. This reduces the number of left join's a fair amount (assuming you have quite a few fields / group)

You probably should consider upgrading to 2.0 for the above and other reasons (its a pretty big release and improvement over 1.9)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • MySQL error after adding custom fields

This forum was archived on 2017-11-26.