We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [database]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
542 views

Initialization Error after restoring a Wordpress site from backup

This morning, a plugin update broke the website, so we did a restore from a backup from the previous day. CiviCRM was working properly at the time, but now when we try to access it, we get the ...
0
votes
1answer
249 views

Remote Database Connection

I apologize if I am asking this in the wrong place, but I've hit something I cannot figure out.. I have remote drupal and civicrm databases that I want to use for multiple developers. My question ...
0
votes
1answer
71 views

“no such field in civicrm_api3” after Upgrade from 4.6.4 to latest 4.7

I ran the database upgrade script and it showed me an error and didnt get finished.. since then I can't run the /civicrm/upgrade script and it always gives me the error: CiviCRM_API3_Exception: DB ...
3
votes
1answer
116 views

Database scheme corrupt - foreign key relationships are missing in mysql

At a client of us we have a problem with the database scheme. CiviCRM is working normally except that when you want to merge contacts the Activities/Groups/Relationships etc.. are missing in the merge ...
1
vote
0answers
26 views

Saving in any frame just churns

Every time I save in a frame I get the following error. Uncaught CRM_Core_Exception: [0: Transaction integrity error: Expected to find active frame\n\n thrown in /var/www/html/sites/all/modules/...
0
votes
1answer
61 views

Unrecognized database version from 4.6.16 to 4.7.7

Joomla 3.5.1, Linux, Php 5.6.20 Is there a "quick fix" I could make to a script to allow it to either recognize the database, or would it be OK to manually change the database version number only ...
0
votes
0answers
32 views

Unknown column civicrm_relationship.is_active while child smart group edit (create temporary table fails)

There are a parent Smart Group which contains several "child" Smart Groups. All was working a while, until at some time point it starts throw an error, something like [debug_info] => CREATE ...
1
vote
1answer
52 views

2 separate sites with the same php code

Is it possible with Drupal to have two sites, with 2 separate databases, sharing the same PHP code? For the future need of porting one database to another server, I don't want to use "Multi Site ...
3
votes
1answer
53 views

Is CiviCRM a 'master database' / 'master system'?

The membership organisation I work for currently has serious issues with it's membership databases. That information is currently split between a wordpress user database with an extension s2pro which ...
6
votes
2answers
243 views

Adding states to countries

Hello we are moving an old CRM into CiviCRM. We are a very international organization and we have found that CiviCRM is missing many states. How do we get this added to CiviCRM? Should we make ...
0
votes
1answer
116 views

How to run triggerRebuild URL

Apparently I am not allowed to ask for clarification in the post, so can someone please elaborate on this? Sounds good. To be sure, please execute ///civicrm/menu/rebuild?reset=1&triggerRebuild=1 ...
1
vote
2answers
32 views

Contact table: managing a new field

in my extension I have the need to manage a new contact information (I added a field in civicrm_contact, instead of using a custom field). Using the buildForm hook, I can show the input element in the ...
3
votes
2answers
56 views

Drush failing to build database during new installation

I am building a Docker container for CiviCRM, it is 99.9% done. Unfortunately, when I try to install the actual module via Drush, it spits out an error. I am fairly certain this isn't a Docker related ...
2
votes
1answer
62 views

Calling images from a database with custom tokens in mass mailings

I was just wondering whether CiviCRM offers the ability to insert custom images into a mass mailing? So that each person receives a different image pulled from a server? The best described example I ...
6
votes
3answers
134 views

How to migrate database without logs

I’d like to move my CiviCRM installation from one Drupal server to another. But I enabled logging in the current server and I don’t want that data to be transferred to the new server. How can I delete ...
2
votes
1answer
104 views

Connecting Civi to a previous install's database

During my update from Civi 4.2 to 4.7 I let it fill in database information that was not correct it connected to the cms database and not the Civi database from the previous install. Is there a file I ...
3
votes
2answers
104 views

MyISAM, Cron, ERROR

I get this error on installing the CiviCRM plugin for Wordpress (Wordpress version 4.4.2, CiviCRM 4.7.4) System Status: Error MyISAM Database Engine Cron Not Running Configure Default Mailbox ...
2
votes
1answer
437 views

DB Error: connect failed (code 24)

Anyone have any idea how I can fix this? Just done install and CiviCRM did not load (all OK on wizard) then nothing. Removed CiviCRM from the WordPress install and uploaded again (also removed ...
1
vote
3answers
508 views

4.6.10 to 4.7.1 upgrade woes

**UPDATE #5: See new answer at bottom. It's a fix! **UPDATE #4: Decided do a clean install of 4.7.1 and see if I can point it to a working 4.7.1 backup database. I suppose I need to follow Kurund's ...
1
vote
3answers
82 views

CiviCRM component pointing to different database than Joomla CMS

We have a little bit of a strange issue and could use some input. We are using CiviCRM on Joomla. Started on Joomla 1.5 years ago, then upgraded to J2.5/CiviCRM 4.4 a couple years ago, then a few ...
2
votes
1answer
84 views

Importing phone/fax/mobile phone numbers from CSV…best practices?

I'm about to do my first import of contacts into a pre-existing CiviCRM database on WordPress. Client sent over the CSV but there are columns like this: Home Phone Home Fax Mobile Phone Work Phone ...
1
vote
0answers
51 views

Export Fails when Merge Households Option Used

I get a DB Error when exporting contact search results using the "Merge Household Members into their Households" option (image below). Only this merge option causes the error. The others do not. I ...
1
vote
1answer
178 views

InnoDB is default, but can't install

Innodb IS default engine, but can't install. Error message is Unable to create InnoDB tables. MySQL InnoDB support is required for CiviCRM but is either not available or not enabled in this MySQL ...
1
vote
1answer
164 views

Updating information in Custom fields within a tab not saving since update to 4.7.0

Civicrm 4.7.0 Joomla 3.4.8 When editing or adding information contained within a custom field within a tab, after hitting save, the information does not remain. Also receive the following error when ...
5
votes
3answers
413 views

MyISAM vs InnoDB - WordPress Installation

We're running CiviCRM 4.6.8 on WordPress 4.3.1. I've been getting the following error message since the last CiviCRM upgrade: Warning Your database is configured to use the MyISAM database engine. ...
3
votes
0answers
106 views

MyISAM Database Engine Error [duplicate]

I'm getting the MyISAM Database Engine error: Your database is configured to use the MyISAM database engine. CiviCRM requires InnoDB. You will need to convert any MyISAM tables in your database to ...
5
votes
4answers
338 views

Why did we lose contact data after deleting the default location type “Home”?

So we lost 2/3 of our email and addresses on 6/15 around 1pm. Everything else seemed fine. I was able to get the civi log that pointed to a deletion command (DELETE FROM civicrm_location_type) around ...
2
votes
1answer
28 views

postsave stop database update

User is adding a new email. Call to civicrm_pre detects a problem that requires that the update not happen. It hasn't actually happened by the time civicrm_post or post_save_civicrm_email is called. ...
5
votes
2answers
152 views

What is the largest number of customer records that civicrm supports?

I am evaluating civiCRM to use as the CRM in the captive BPO setup of my non-profit. Need to know how many customer records civiCRM can handle, in the database of my beneficiaries. Can it support a ...
0
votes
1answer
33 views

4.6.9 upgrade fails - DB_Error:already exists -5

I've attached a screenshot of the error I get when trying to upgrade from 4.6.8 to 4.6.9 I have the rest of the trace, but not sure if I should post all of it. Thanks in advance for your help.
1
vote
1answer
47 views

Database constraint error on enabling CiviCase

I'm running civicrm 4.4.20 on the latest Joomla 3.4.5. When I try to enable CiviCase I get an database constraint error (see below). [code] => -3 [message] => DB Error: constraint ...
1
vote
1answer
51 views

Upgrade from 4.3.1 to 4.6.9 (Joomla) = fails; DB upgrade freezes

It reports (on DB upgrade screen): "[Executed: Finish Upgrade DB to 4.3.8]" We let it run for over over an hour; stayed stuck. A previous attempt got stuck at v.4.4.3. (This upgrade is being ...
2
votes
1answer
364 views

Getting a DB Error: unknown error when entering and saving phone number

I see that there's a few threads out there around this topic. I've just installed a brand new instance of WordPress 4.4 with CiviCRM 4.6.10. I've got three other installs of CiviCRM with Drupal on ...
2
votes
1answer
94 views

Getting error message upon installation

Getting this error message just as I am trying to set things up should I be worried? 0 <div id="crm-container" class="crm-container" lang="en" xml:lang="en"> <style type="text/css" media="...
3
votes
2answers
36 views

How do we move our civicrm SQL database from the cloud to our network?

We are running our CiviCSM system on a vendor's host with our database in the cloud. We have a CiviCSM system built for our network that is not currently in use, but we want to move the database from ...
4
votes
1answer
73 views

Why are you allowed to set DB field length on Text fields?

I know the documentation says you should leave it the same, but suppose I know I want the text field to be only 3 characters every time? I can set it fine in custom fields, but when I go to enter ...
1
vote
2answers
54 views

updated database from backend, issues when searching that field - Geocoding issue with Postal Code update

So I was playing with the contact mapping option for a search profile. I noticed that mapping did not work when the postal code was entered with a space in it. Example: "E1C E1C" rather than "E1CE1C" ...
3
votes
1answer
215 views

Is CiviCRM compatible with Postgres and Wordpress?

Is there a version of CiviCRM that's compatible with Postgres and Wordpress?
3
votes
1answer
124 views

Is it safe / wize to empty civicrm_log table

Pretty similar to this question, we've moved LOG_tables to another database; however, there is civicrm_log table among "main" tables still (not sure why, since it keeps log records and, in theory, ...
7
votes
1answer
244 views

MySql vs MariaDB

After some reading, it appears that MariaDB could be a better challenger to MySQL and it runs, apparently, without any problems with CiviCRM (cf CiviCRM on MariaDB instead of mySQL). But what about ...
7
votes
1answer
112 views

Can I pass a GROUP BY to an API call?

I'm trying to write an API call returning all contacts that are at one end of one or more active relationships of a certain type, and their names. I note that you can specify limit, offset (LIMIT) and ...
4
votes
3answers
416 views

CiviCRM on MariaDB instead of mySQL

Has anyone run CiviCRM on MariaDB instead of mySQL https://mariadb.org/ Running CiviCRM on MariaDB could provide significant speed improvements.
4
votes
1answer
57 views

Civi Event - Event Title & Event Name with French accents not saving in correct encoding

Database/environment is set to UTF-8. This just started happening and we can't figure out why. In the example below, a French title and summary are given -- when saved, the Title appears to be saved ...
5
votes
1answer
231 views

In Wordpress, I want to convert my installation from an external database to use the default database

I am using CiviCRM on WordPress and I am moving my hosting to WP Engine - where I have all of my other sites hosted. Unfortunately, I set this instance of CiviCRM to use a separate database, however, ...
2
votes
4answers
122 views

How to create script to delete smart groups

I have 300-400 CiviCRM smart groups I want to delete. I will know the id for the group but need to know what other tables I need to delete that may be related. Also, is there any way to identify ...
4
votes
2answers
395 views

drush civicrm-sql-dump dumps the drupal database - how do I get it to dump the civicrm database?

I've recently made some backup scripts to automate backup of my site and databases. One of the scripts uses drush to dump the drupal and civicrm databases with these commands: drush @myserveralias cc ...
0
votes
1answer
42 views

Upgrade from 4.4.19 to 4.4.2 DB error

When I try to upgrade CIVICRM 4.4.19 to 4.4.2 I get the following error message: "Your database is marked with an unexpected version number: 4.4.19. The v4.4.2 codebase may not be compatible with your ...
1
vote
2answers
183 views

DB error with profiles

When I use a fill-in (sign-up) profile on a browser where I am logged in, there is no problem filling in the forms and saving. However, when I try the form on another browser where I am not logged in (...
0
votes
1answer
566 views

Fatal error: Uncaught CRM_Core_Exception: [0: Transaction integrity error: Expected to find active frame

When a user tries to create a new membership from the front end we are getting this: DB Error: already exists Return to home page. Fatal error: Uncaught CRM_Core_Exception: [0: Transaction integrity ...
2
votes
3answers
166 views

Best way to create a new DB table in an extension with logging

In an extension, what is the best way to create a DB table that has a matching logging table? Do we just have to literally create a matching new table with triggers? There must be a better way?