Questions tagged [database]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
107 views

Could not create database trigger (AWS, RDS)

How can I fix this issue about database trigger. I attached the screenshot for the info. Thanks so much for the help]1
1
vote
1answer
40 views

Error Upgrading DB to 4.7.18: SQL

[Error: Upgrade DB to 4.7.18: SQL] [nativecode=1062 ** Duplicate entry 'Chandigarh-1101' for key 'UI_name_country_id'] How can I fix the error as given below: INSERT INTO `civicrm_state_province` (...
1
vote
1answer
36 views

Running 2 civicrm instances on 1 database

I have one mySQL database and one Apache webserver. Can I still run 2 separate wordpress/Civicrm environments (like staging and production)?
0
votes
1answer
48 views

Database in unexpected version (and we have no backup DB)

Applied the 5.3.2 patch to our WP site yesterday, and in so doing upgraded the database to 5.6.alpha1. After doing this, multiple components (Contributions, Events, Mailing) became unusable. Trying to ...
3
votes
5answers
1k views

Migration error: “The user specified as a definer does not exist”

I recently moved the site to a new server and changed from a remote to a local MySQL server with different credentials. Most things seem to be working fine, but even though I've flushed caches, ...
1
vote
1answer
35 views

Delete contacts from group

I'm tried to delete contacts group (basically entire contacts from the particular group), getting Gateway timed out error and only few contacts are getting deleted. So I'm planning to delete ...
0
votes
1answer
41 views

Database update failing for CiviCRM upgrade in Joomla 2.5

I have installed Civi 4.2.19 in Joomla 2.5, to upgrade the 4.1.1 version. I cleared all cache and then tried to run the database update. I got this fatal error: Fatal error: require_once(): Failed ...
0
votes
2answers
260 views

Who is 'backup_Mk047aB'@'%' from the error 'The user specified as a definer ('backup_Mk047aB'@'%') does not exist'

While the back-end is working - e.g. I can add fields to profiles, etc. -, I see form data perfectly fine when calling pages, I cannot modify or add contacts resulting in Sorry but we are not able ...
5
votes
1answer
617 views

WordPress: Creating new WP Users from Civi Contacts

I've seen some example posts here for other CMS', but I haven't seen it explained for a WordPress environment. My situation is I have an Individual DB of 2,500 Contacts in Civi, and I want to turn ...
1
vote
5answers
104 views

Settings - Outbound Mail are not saved

please help, I have a Joomla 3.6.5 and CiviCRM 4.7.14 I just migrated from the dev site to the live site, and now when I check the Outbound Mail settings in CiviCRM, they are empty. Everytime I fill ...
0
votes
1answer
55 views

DB error missing field in contribution reports after upgrade to 5.4.0 (Drupal)

After upgrade to 5.4.0 (from 4.7) I'm seeing fatal DB errors ("no such field") when refreshing Contribution Detail & Summary reports. Debug log shows: $Fatal Error Details = Array ( [callback] =...
2
votes
1answer
104 views

db error reinstalling CiviCRM

I'm just getting started with CiviCRM and trying to install on our WordPress site. I completed the initial install once, but accidentally used the existing WordPress database - I would prefer to ...
2
votes
0answers
116 views

DB Error after upgrading 4.7.x to 5.1 (Drupal)

After upgrading CiviCRM from v4.7.14 to 5.1 (or v4.7.31) which went seemingly well, CiviCRM encounters the following problem. UPDATE: Issue does not appear until 4.7.29 (including), and comes up only ...
3
votes
1answer
39 views

saving mapping fields

I have just saved fields for exporting to a new saved mapping field, but it is not coming up as an option when I go back into the database and try to export the same details for another group. I'm ...
3
votes
3answers
76 views

Settings values not showing

I am experiencing a strange issue with my CiviCRM (4.7.3) installation on Joomla (3.4.8). If I change some of the settings in one of the administration pages, they are correctly updated on the ...
2
votes
4answers
261 views

After upgrade to 5.0.2 from 4.7.30 getting “DB Error: No such field” on queries

Since updating my CiviCRM 4.7.30 on WordPress 4.9.5, I am getting "DB Error: No such field" when doing queries through Advanced Search or Search Builder. Some of the problems where when I was trying ...
2
votes
2answers
29 views

How can I find members

I would like to know if it is possible to find a person on the database only with the CIVI number, and how can I do it?
0
votes
1answer
31 views

When removing a group from a contact I get: Error - DB Constraint Violation - GroupContact, get API

[copied from https://issues.civicrm.org/jira/browse/CRM-20711 noted on CiviCRM version 4.7.27] In the Contact record, when I try to remove or delete a contact from a group they've already been added ...
1
vote
2answers
185 views

CiviCRM Cannot add or update a child row: a foreign key constraint fails error after upgrading from 4.7.30 to 5.0.2

After running the command to upgrade the database I got a constraint violation error. ERROR USERINFO: ALTER TABLE civicrm_case ADD CONSTRAINT FK_civicrm_case_case_type_id FOREIGN KEY (case_type_id) ...
3
votes
2answers
629 views

Civix: Install error: API error: DB Error: already exists

According documentation I created a skeleton module with civix and answered yes to install it. It then gives an error response as in the Title. Afterwards is listed active in the extensions page. ...
0
votes
2answers
107 views

Can I export full database and import it in a fresh newer CiviCRM version?

I am experiencing difficulties during CiviCRM upgrade from 4.7.14 to 4.7.31 or 5.1, namely, fields like contact.birth_date get broken. (More: DB Error after upgrading 4.7.x to 5.1 (Drupal)) I have ...
1
vote
1answer
68 views

Sorry but we are not able

I have tried to append a new contact Contact saved When I tried to search this is the answer
1
vote
1answer
32 views

hook_civicrm_postSave_table_name not called on table update

In Drupal, I'm using hook_civicrm_postSave_table_name to listen for CiviEvent registrations. I've implemented hook_civicrm_postSave_civicrm_participant($dao) where I test for certain status_id values ...
-1
votes
1answer
27 views

duplicate database in civiCRM

Is it possible to duplicate the data base on Civi ? (contacts) Because i need to do it for my traineeship.I don't even know if it's possible but maybe does an alternativ way to do it. thanks and have ...
0
votes
3answers
191 views

How can I completely remove previous improperly uninstalled CiviVolunteer?

I'm trying to install the CiviVolunteer extension (Drupal 7, Civi 5), but am getting this error message in response: Field: name must be unique. An conflicting entity already exists - id: 186 It ...
1
vote
1answer
95 views

Error when installing civicrm-4.7.29-drupal on Drupal-7.56

when I install civicrm-4.7.29-drupal on Drupal-7.56 just using one database for drupal an civicrm the installation runs perfectly without any errors. If I use two databases for drupal and civicrm I ...
0
votes
1answer
25 views

Implementations Basics (Costs, Timescales, etc)

We're looking for indicative figures with regards to migrating across an Access Database to CiviCRM. Early stages (but we need to migrate soon as our Access config is grinding to a halt) so any ideas ...
1
vote
4answers
338 views

Can I create triggers in the database?

We are trying to setup CiviCRM in Wordpress. Our Database is on GoDaddy, but we are running into a problem: "Could not create a database trigger." The Database Settings appear to be correct. Any ...
2
votes
2answers
215 views

API error: DB Constraint Violation - domain_id should possibly be marked as mandatory for Dashboard,create API. If so, please raise a bug report

I am running CiviCRM 5.0.0 on WordPress 4.9.5 and got a DB Constraint Violation each time I try to active/deactivate an extension (after the validation screen) or when I validate the WordPress Access ...
1
vote
2answers
50 views

Fixing the CiviCRM db when someone deleted “phone” from system dropdown menu options

Got a problem with how someone (I suspect) has gone in to CiviCRM » Administer CiviCRM » Option Groups » Phone Type Options and thought "hey, we don't need a dropdown item of "phone" because that's ...
1
vote
1answer
69 views

Illegal mix of collations

Using Joomla 3.8.6, CiviCRM 4.7.31, php 7.0.28, mysql 5.6.39 What should the database collation be for the CiviCRM tables? Mine are all utf8_general_ci. None of the tables in the database are ...
2
votes
2answers
120 views

Error creating Custom Data - DB Error: already exists

When I try to create Custom Data ( Administer-->Customize Data and Screens-->Custom Fields ), I get the following message. The query info is different depending on the type of Custom Data I am trying ...
3
votes
2answers
177 views

DB Error: unknown error - [debug_info] => INSERT INTO civicrm_contact

it's fresh install of CiviCrm into my Joomla, run with UniserverZ (assume all Apps are in latest version) When I clicked CiviCRM, in Components, there was a DB Error: unknown error In the joomla/...
0
votes
2answers
59 views

Contacts not merged When creating Account on Event Page - DB Error: already exists

Running: CiviCRM 4.7.17, WordPress 4.9.4 When an anonymous visitor tries to register for an event, we have them required to sign in or create an account via Civi's profile settings to keep our ...
2
votes
0answers
36 views

Fix for column names breaking the 64-character limit

I'm trying to generate a report using custom fields and I am getting nativecode=1166 ** Incorrect column name This happens when the report is trying to generate temp tables using an alias as the ...
4
votes
2answers
49 views

civiVolunteer database table creation?

When are civiVolunteer database tables created? When I run a search on volunteer opportunities and when a donation is made to our organization, we get database errors saying that tables ...
2
votes
0answers
43 views

CiviMail cannot create ACL recipient table after upgrading to CiviCRM 4.7.31

After upgrading to CiviCRM 4.7.31 I began to get several errors while initially trying to send a test e-mail using an ACL-based user. I noticed that these errors were not happening with the ...
3
votes
2answers
235 views

Where is the civicrm database?

I recently took over a website and I have missing tables in the civicrm database (under wordpress). I want look at the civicrm database but I don't know where the database is stored. How can I find ...
5
votes
3answers
235 views

Add custom field and populated with array/data from a non-civicrm table

newby here with a quick question about custom fields. Is it possible to set up a custom field that queries a non-civicrm table? Hoping to create an autocomplete dropdown menu that does a SELECT on a ...
2
votes
1answer
49 views

How can a pull a report with notes includes

We are trying to export a list with notes included. We are creating a prospect list for Employment Engagement team. We will add names to the database, this list is obtained from events that we host. ...
3
votes
2answers
30 views

How did my import result in the State for a different country to the one intended

How could a CiviCRM database have 2 Marylands with 2 different state_province_codes but both be identified with the same country_code? 1019 = Maryland 3497 = Maryland 1228 = United States I only was ...
8
votes
2answers
293 views

Data Protection / GDPR - deleting from logging tables

With the new GDPR legislation taking effect in a matter on months, it dawns on me... how can we delete people permanently from the logging tables? My understanding is that the table types are a ...
0
votes
1answer
34 views

CiviCRM upgrade `civicrm`.log_civicrm_activity error

Upgrading a CiviCRM DB from 4.7.17 to 4.7.29 after moving from MySQL 5.1 (CentOS 6 install) to CentOS 7 with MariaDB 10.2. After the progress bar completes on the wp-admin/admin.php?page=CiviCRM&...
1
vote
2answers
1k views

How do I troubleshoot DB Error: connect failed on a new installation on Wordpress?

I am following the detailed instructions to install Civi under Wordpress. I am running a local development Wordpress site using MariaDB 10. I have downloaded and activated the CiviCRM plugin. The ...
4
votes
2answers
2k views

Database Trigger error message

Trying to install to WordPress and I get; "Could not create a database trigger." I have no idea how to resolve. Thank you!
1
vote
2answers
114 views

Database Schema check/fix

I am getting random errors when I first log into Civicrm on Wordpress. It seems to be related to the check of existing indexes versus required indexes. Warning: Invalid argument supplied for foreach(...
1
vote
1answer
87 views

Create new CiviCRM database…?

I just succesfully installed CiviCRM on our website (WordPress), I created a new DB but was not given the option to specify it during the installation process. It seems to have installed in a DB that ...
1
vote
1answer
18 views

How to change the date on an exported batch

I have exported a batch but the date in the title is not correct, so I need to change the date on the name of the batch, however I cannot seem to re-open the batch. Please can you help. Thanks in ...
0
votes
1answer
54 views

CiviCRM Database Upgrade from 4.7.16 to 4.7.28 is hanging

I am trying to upgrade my Joomla civiCRM database from 4.7.16 to 4.7.28. The component upgraded fine but when I try to upgrade the database after following all of the preparation steps, it hangs and ...
1
vote
1answer
72 views

Transferring Data Out of CiviCRM

Some time ago we transferred data from CiviCRM to a different CRM (YourMembership). However, it has become apparent that we have not collected all of the data. We have the web version CiviCRM 4.6.21. ...