Questions tagged [database]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
541 views

getting error message “too many connections”

Getting an error message on public website regarding too many connections. We increased our SQL connections, but we don't have a lot of interaction going on between our website and CiviCRM. We have ...
1
vote
3answers
62 views

How do I scrape an old website into a .CSV file for data migration?

I'm organizing my data to prep for CiviCrm. One of the data banks we have is an online directory listing of hundreds of names, contact information and bios. NONE of this is organized into a ...
2
votes
1answer
34 views

Adding new default components to the database

I have been working on to add a default header and footer to the system workflow emails. Most of the part is done but I am stuck at setting those components in the database by default so that whenever ...
0
votes
1answer
35 views

4.7 Install, Database Settings Correct. Still no Contacts

I have upgraded from CiviCrm 4.2 to 4.7 now that I finally have it working it will not bring up contacts from the old Civi database. I looked at the setting php file and all the information is correct....
3
votes
1answer
336 views

Change domain name (wordpress)

I have civi crm 4.7.8 on wordpress 4.5.3 and I've changed my website domain name. When I go to wp admin, i can see civicrm icon and go the taskboard, but I haven't civicrm menu. I supposed there are ...
2
votes
1answer
115 views

Howto extend a civi db field's size (maxlength, varchar)

We are facing a problem with CiviCRM's default field length for organization names. Background: In our setup we handle big departments or organizational units as distinct contacts. Since the sole ...
1
vote
1answer
74 views

Settings values not showing up. Cache issue?

I am experiencing a strange issue with my CiviCRM (4.7.3) installation on Joomla (3.4.8) with MySQLi 5.6.28-76.1-log and PHP 5.6.18. If I change some of the settings in one of the administration ...
2
votes
2answers
682 views

database connection fails, but only in cron

I moved a site - actually copied a production site to a development region. The site is working in the development region, including CiviCRM, but the CiviCRM cron job fails: Jun 29 16:33:02 [info] ...
2
votes
3answers
115 views

What's the best strategy for upgrading CiviCRM?

I use CiviCRM 4.5.8 with WordPress. I'd kinda like to try a newer version, but I don't want to mess up the production website. I used the WP plugin Duplicator to create a test site. I changed the ...
3
votes
1answer
91 views

Is it OK to drop database triggers in order to run a process?

I've spotted at least one process in CiviCRM that drop triggers on certain tables in order to run a process. For example: https://github.com/civicrm/civicrm-core/blob/...
1
vote
1answer
179 views

regen.sh - Call to undefined function db_query()

So I was following this doc to add a new setting which asked me to run bin/regen.sh script. But running the script failed with the following error: PHP Fatal error: Call to undefined function ...
5
votes
2answers
100 views

When upgrading from 4.7.7 to 4.7.8 I get error “Specified key was too long”

I tried to upgrade my Joomla CiviCRM 4.7.7 to 4.7.8 and got the following error in the database upgrade: ALTER TABLE `civicrm_contact` CHANGE `image_URL` `image_URL` VARCHAR(512) CHARACTER SET utf8 ...
2
votes
3answers
204 views

Storing Personally Identifiable Information

Is anyone storing Personally Identifiable Information (PII), such as Social Security Numbers (SSN), in their database? How would I encrypt such a field in the database? I'm expecting that it would ...
1
vote
2answers
558 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
255 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
63 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
54 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
247 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
167 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
57 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
137 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
106 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
106 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
484 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
514 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
85 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
89 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
179 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
418 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
111 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
161 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
49 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
52 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
380 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
37 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
75 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
58 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" ...