Questions tagged [database]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
14 views

Civicrm on Wordpress installer table doesnt exist

Using Ampp version 4.3 with Apache v2.4.54, MySQL v8.0.31, php version 7.4.32, Windows Every time I run the CiviCrm installer I get an error "Table 'civicrm.civicrm_worldregion' doesn't exist in ....
  • 1
0 votes
1 answer
18 views

Database security

I'm a CS grad student and curious about the security of the database beyond what is provided by the CiviCRM application. For example, the ACL can be used for more detailed access through the ...
  • 1
2 votes
2 answers
21 views

Upgrading, received database error

On a (copy of a) Drupal 7.92 site, I'm attempting to upgrade CiviCRM from version 5.42.1 to 5.55.2. I did this by executing the following steps: cd /bitnami/drupal/modules/contrib rm -rf civicrm curl ...
2 votes
1 answer
28 views

Extensions require database update, Not able to use Mailing,

I'm on the latest versions of Drupal (9.4.8) and CiviCRM (5.55.1) and I'm using Composer to install/update. Although consulting data from CiviCRM is working fine, I do have a couple of issues: ...
0 votes
0 answers
17 views

5.51.3 to 5.54.0 - "DB_Error: DB Error: no such field in unknown on line unknown" for non-admins when running reports

We recently upgraded our CiviCRM instance from 5.51.3 to 5.54.0 to resolve some of the bugs that 5.54.0 resolves. Since then, non administrator users are not able to run any reports, and they get a ...
0 votes
1 answer
29 views

Resolving db error for unknown column in 'field list'"

Error: "Unknown column 'a_to_civicrm_value_reporting_doc_10.resource_2_67' in 'field list'" This is a follow-up question to one that started over here. From that thread, I am clear that this ...
  • 659
2 votes
0 answers
23 views

reduce size civicrm_job_log?

I've read various articles about reducing the size of civicrm_job_log, but couldn't come to a conclusion. In This post : Truncate civicrm_job_log as often as you like - the data is only of very very ...
0 votes
2 answers
36 views

Upgrade to 5.52.0 - database won't reset

I upgraded to 5.52.0. The last step was to reset the database. I got an error message - " Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your ...
1 vote
1 answer
26 views

Cannot add new contributions anymore - DB Error: no such field

We are running CiviCRM 5.42.1 on Wordpress. We had no issues with adding contributions up until a week ago. We've not updated Civi recently - last update was more than 5 or 6 months ago. I get an ...
  • 707
0 votes
1 answer
29 views

Upgrade issue moving from 5.49+ to 5.50*

In moving from 5.49 to 5.50 we seem to lose a table. All civimails generate a "DB missing table error" and the logs show the following. We get this error with all of the new versions of 50+...
0 votes
1 answer
10 views

Trying to edit Agenda tab in Events gives a DB error

CiviCRM 5.50.1, WordPress 6.0.1, 8.0.28. Someone recently tried to add an Agenda to an Event in CiviCRM, and kept getting a network error. I took a look, and yeah, going to the Agenda tab seems to ...
0 votes
1 answer
31 views

Database Connection Only Works Some of the Time

I have a CiviCRM instance that has its database hosted in RDS Aurora. This has worked well for several years. Recently I needed to restore from a copy of the Aurora cluster and I changed the name of ...
  • 825
1 vote
0 answers
18 views

Database error when attempting to add a contribution to a constituent's record

I'm getting an error screen when I try to add a donation to a constituent's record. I've pasted the error below. I think it comes down to Field 'amount_level' doesn't have a default value for the ...
0 votes
1 answer
95 views

Error updating to civicrm 5.50.3 / Drupal 7.9

Attempting to update Civi to 5.50.3 [Drupal 7.9, updating from 5.47, PHP v7.3, Server version: 5.7.36-39-log - MySQL Community Server (GPL)] Run into PEAR related database update error. Any thoughts/...
0 votes
1 answer
32 views

Possible Deleted Contact - Trying to Restore Records - Possible SQL Solution?

So here is the issue - that I think was caused by a merger of contacts without transferring the related fields to the new contact. I have a contact, that seems to be missing a large number of ...
  • 3,229
4 votes
3 answers
69 views

Cleaning contacts

How do I identify the contacts who haven't opened any mailings in the last 3 years? I'm unsure which are the appropriate fields in the Advanced Search to make this process as easy as possible.
3 votes
1 answer
47 views

Attempt Upgrade from 4.7 to 5.48 and database upgrade fails

I'm new to CiviCRM and am working for a client who's 4.7.x CiviCRM has issues where I'm unable to access tabs and I get an error when switching to some tabs in the menu system, so I'm trying to ...
0 votes
0 answers
22 views

Getting Omnipay API error after Civicrm 5.47.3 upgrade (Wordpress)

I upgraded from Civicrm 5.46.x to 5.47.3 for Wordpress. When I ran Update, I got an error API error: DB Error: already exists on payment_processor_type.create( entity name ...
0 votes
2 answers
53 views

Is CiviCRM the best platform for a very small nonprofit for data management?

Good Day, I am working with a small nonprofit with the mission of capacity building at food pantries and creating more access to health care initiatives. We are expanding and want to be able to track ...
1 vote
1 answer
31 views

Minimum requirement: driver://host/database Error

My CiviCRM database cannot connect to my database server when it is loading a Drupal page that accesses CiviCRM through Views. We have been having all sorts of trouble with our Amazon Aurora instance ...
  • 825
0 votes
1 answer
36 views

Cannot Load Civi - Unknown column in civicrm_cache Select

After making configuration changes to the Parameter Group for both the database and cluster of my Amazon Aurora database I can no longer access CiviCRM. I get the following error: Error code 19, "...
  • 825
0 votes
0 answers
13 views

Error on "New Contact" after update to CiviCRM 5.45.1. System Status: OK (Joomla! 3.10.5)

The error is: Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were ...
  • 91
2 votes
1 answer
36 views

Is there a search index that needs to be updated so CiviCRM Advanced search can find custom field data that was added directly to the database?

Is there a search index that needs to be updated so CiviCRM Advanced search can find custom field data that was added directly to the database? I created a custom field for Individuals (which is set ...
  • 459
2 votes
1 answer
34 views

Do I need to change our database collations?

I just stumbled upon this problem, which was due to fields in some tables having conflicting collations. Thanks to the answer to that question I solved our immediate problem. But looking around I see ...
  • 980
2 votes
2 answers
46 views

Move data from field to another field as a batch

I recently have taken over managing CiviCRM for an orchestra in Holland. Some fields have been used inconsistently, for example Nickname and First Name. I now need to copy all data in Nickname to ...
0 votes
1 answer
40 views

Unable to import database dump - triggers

I had a problem importing a database dump because of some trigger errors. I'm not sure exactly what caused these errors (may have had something to do with custom case activities, which we use quite a ...
  • 1,236
2 votes
0 answers
37 views

Database Errors When Recording Membership Contributions

I have an error happening in both my dev and production sites. I have attempted everything I can think of such as clearing the cache, rebuilding the menus, deleted and recreated triggers, upgradded to ...
  • 825
0 votes
1 answer
28 views

WordPress Version 5.8.1, CiviCRM 5.18 plugin installed, but DB upgrade fails from civi 5.17.5 -> 5.18

I saved a backup and I can revert, but I'd like to go forward with this upgrade. Can anyone please tell me how to fix this? Thanks in advance. I am upgrading from 5.17.5 (the last patch of 5.17) to 5....
1 vote
2 answers
66 views

How to split CiviCRM multiple database values with SQL?

The CiviCRM database stores multiple values as a varchar field (a string with separator characters). For example, the IDs 3, 9 and 15 are internally saved as #3#9#15# (where # is in fact the character ...
  • 431
1 vote
1 answer
98 views

How to write update script

What I am trying to achieve - is to write a custom module(CiviCRM extension)/script, which should update( Run small SQL query to update about a missing "Module" ) Basically - what the script ...
2 votes
1 answer
97 views

Where are checksums stored in the database?

Where are checksums stored in the database? Is there any considerations to the limitations of how many checksums can be created at once in a mailing? If I send a checksum email to ~250,000 will that ...
  • 2,974
1 vote
0 answers
31 views

Can't connect to separate database

Trying a new install of CiviCRM 5.3.9 using a separate Wordpress database. Wordpress, MySQL and PHP are confirmed required versions. Path is definitely correct using mysql://USER:PASSWORD@localhost:...
4 votes
1 answer
62 views

Event Calendar database error

I installed the Event Calendar extension on a Wordpress (5.7.2) site with CIVICRM 5.37.2. I followed the installation instructions and added the [event_calendar component="event-calendar" ...
  • 41
3 votes
1 answer
56 views

Will this solution safely reduce the disk size of my database

I need to reduce the size of my Civi database. I've done a bunch of reading and have found what looks like a solution. Please will someone step in to advise if this solution (below) is the way to go, ...
  • 1,114
3 votes
1 answer
75 views

Drupal 9 View Shows Permission Denied For CiviCRM Tables

I have my Drupal 9 database and my CiviCRM database in two separate databases on the same Amazon MySQL Aurora instance. The setup in our dev environment is identical and is working perfectly. However, ...
  • 825
0 votes
1 answer
13 views

Including contacts that have done multiple activities in one search

I'm trying to build a list of people who did one specific activity (which was send an email) that have done other activities as well (trying to find activists). How do I build this list? Trying to ...
1 vote
1 answer
52 views

Add a custom field as a column in relationship tab

I added a column in relationship tab, to do that I edited the civicrm/CRM/Contact/BAO/Relationship.php I already added columns with fields existing in the base of civicrm but now I'm trying to add a ...
0 votes
1 answer
69 views

Corrupt installation during upgrade to 5.37.2 on Joomla 3.9.26

I have run into some trouble trying to upgrade from and old version of Civi to version 5.37.2 on Joomla 3.9.26 running on PHP 7.3.27 and MySql 5.7.32-35. The initial problem was that I could not get ...
4 votes
7 answers
363 views

database upgrade script failing: Call to undefined method CRM_Upgrade_Incremental_php_FourOne::getMajorMinor()

I'm trying to upgrade CiviCRM in a Joomla 3.9.26 environment from 5.25.0 to 5.37.0. I ran the file installation, cleared the media/template_c folder, then tried to run the database upgrade script. I ...
  • 579
1 vote
1 answer
47 views

Upgrade to version 5.37 - Database error

I have avoided upgrading for quite a while, but went ahead finally. Here is the error received below, and am completely unsure where to go to edit the field length. Or is the solution to rollback and ...
  • 11
1 vote
1 answer
42 views

Change Log Tab Excrutiatingly Slow - Poorly Performing Query and Fix (from 8 minutes down to 4 seconds)

The page takes about 8 minutes to return which is absurdly slow for anything expected to be remotely interactive. It is so slow that my client is referring to it as the "Triangle of Doom". I ...
1 vote
0 answers
52 views

Poorly performing unindexed query on log tables

While investigating a CiviCRM performance issue, I came across this query: SELECT * FROM `civicrm`.`log_civicrm_activity_contact` WHERE log_conn_id = ? AND id = ? ORDER BY log_date DESC limit ...
4 votes
1 answer
55 views

Redundant Indexes

It looks like there are several redundant or partly redundant indexes that civicrm creates on the database. Some of this may be storage engine specific (e.g. InnoDB), but some isn't. civicrm_contact: ...
1 vote
1 answer
52 views

One database table very large

Database table Table: civicrm_contact_push_notification_messages Is huge. 51GB to be precise. The main field is %display_name has created activity. Is this the table that shows up what emails have ...
0 votes
1 answer
32 views

missing config_backend in civicrm_domain table, templates_c directory and Config.IDS.ini after migration

I didn't do the database dumps or file backups for this migration of CiviCRM on wordpress, so could it be a problem I can solve without going back to the old host?
1 vote
1 answer
40 views

CiviCRM WordPress uninstall - db issue

Uninstall CiviCRM from WordPress, is creating me a big issue. I needed to uninstall CiviCRM (5.31.1) from a production site, saving all theme and others settings. CiviCRM went away without uninstall ...
1 vote
0 answers
29 views

Merging much of a large well-used database to a new install... even possible?

Is it totally crazy to think of creating a new Civi install (have one set up in Drupal 9 already) and merging a well-used Civi database into it, table by table? We've had our Civi install since around ...
  • 353
1 vote
1 answer
89 views

How can I delete a custom field (other than GUI)?

I had a custom field group with a disabled field. When I tried to delete the field (ID=59), the Warning window froze with CRM logo rotating. When I tried to enable the field, it gave Error about DB ...
  • 1,012
0 votes
1 answer
35 views

Upgrade database URL loops to WP login screen but works on a cloned staging site

Experiencing a strange situation where the database upgrade url worked perfectly for a testing site but not for the live site. I successfully tested the upgrade with a cloned staging site without a ...
1 vote
0 answers
65 views

What are your typical mail size batches and delviery times?

What are your typical mail sizes and time to complete mail job? Looking for comparisons... We are having lots of mail delivery problems on a new highly customised install of Civi v5.27.1 (MariaDB v10....
  • 634

1
2 3 4 5
8