Skip to main content
Share Your Experience: Take the 2024 Developer Survey
8 votes
Accepted

Change domain name (wordpress)

Below are the simplified instructions taken from Moving an Existing Installation to a New Server or Location, but specific to answer your question. Open the file wp-content/plugins/civicrm/civicrm....
Ghost's user avatar
  • 614
7 votes
Accepted

Where is the link between a CiviCRM contact and Wordpress user stored in the database?

Great question! The matching between the CMS user and the CiviCRM contacts relies, like most "relationships" between entities in CiviCRM, on an additional table that maps the IDs between the ...
HomoTechsual's user avatar
  • 1,138
6 votes

Implementations Basics (Costs, Timescales, etc)

Honestly without a significant amount of detail regarding your current database, how you're going to use CiviCRM, what kind of site it is being connected to, etc, no one can give you anything but a ...
Jenni Simonis's user avatar
6 votes

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

Maybe you do not have ssh access and MySQL access. But this can also done from the user interface. To rebuild the triggers use the url: http://<<servername>/civicrm/menu/rebuild?reset=1&...
Kainuk - CiviCooP's user avatar
6 votes
Accepted

Migrate All Data of CiviCRM

This page might help: https://docs.civicrm.org/sysadmin/en/latest/misc/switch-servers/ I am assuming you are migrating to a new version of CiviCRM. What I would do: upgrade CiviCRM on the old site to ...
ErikH - CiviCooP's user avatar
5 votes

Where is the link between a CiviCRM contact and Wordpress user stored in the database?

In the civicrm_uf_match mysql table
eileen's user avatar
  • 2,334
4 votes
Accepted

Copy a Sites Customizations (Custom Fields, report instances, etc)

The API approach you're using is the "best" approach - but agreed it can be slow. There are alternative approaches though: Delete all the records in civicrm_contact with a direct SQL call - except ...
Jon G - Megaphone Tech's user avatar
4 votes
Accepted

Migrate from Drupal to WordPress - 'DB Error: no such table'

This is down to the fact that you probably have logging turned on in your Drupal environment. So the easiest thing to do would be to turn it off before you migrate and turn it back on in Wordpress (...
Parvez Saleh's user avatar
  • 2,396
3 votes

Http 500 Page not Found error when plugin clicked on backend - Wp-engine

You should double check your civicrm_settings.php file. Particularly the section on File System Paths. Make sure the setting $civicrm_root is the correct path to civicrm for the new server. Hope this ...
KilakwaBT's user avatar
  • 2,351
3 votes
Accepted

Issues with Migration - Cannot add foreign key constraint

It looks like your error message is truncated, which makes this a little hard to troubleshoot, so if you can find a way to generate a non-truncated version of this message, I think the solution should ...
Jon G - Megaphone Tech's user avatar
3 votes
Accepted

CiviCRM Wordpress Migration: Stumped by the Database

There is some documentation here that should help: https://docs.civicrm.org/sysadmin/en/latest/misc/switch-servers/ Are you copying the Wordpress database as well? You are trying to switch servers ...
Aidan's user avatar
  • 13.5k
3 votes

All Contribution pages result in "Your browser session has expired" "Could not find a valid session key"

Are you by any chance using a caching plugin or extension? We had this error on event registrations and had to exclude the event pages from being cached. That resolved the issue.
dik hoogmoed's user avatar
3 votes

Moved Wordpress and CivCRM to new server recently

Looks like you've a couple of hangovers! These are usually in the CiviCRM Administer > System Settings > Resource URLs, and Administer > System Settings > Directories pages. Update those, clear cache, ...
JohnFF's user avatar
  • 2,343
3 votes
Accepted

How to migrate database without logs

This can be done on the commandline. You can pass a list of tables to mysqldump and omit the tables starting with log_. (Below, testdb is the name of the DB we're using. You may want to add other ...
Chris Burgess's user avatar
3 votes

"Could not find a valid session key." when making a contribution

Many of these "lost session" issues (which stem mainly from redirect_canonical correcting CiviCRM's malformed URLs) are solved in more recent versions of CiviCRM. All I can really do is suggest you ...
Christian Wach's user avatar
3 votes

Trying to migrate data from Drupal 7 to new install on Drupal 9

This sounds a bit dicey, but fortunately I think there's a simpler solution. My answer on migrating CiviCRM to WordPress is generic for moving CiviCRM to ANY new CMS - even the same CMS on a different ...
Jon G - Megaphone Tech's user avatar
3 votes

Migration from CiviCRM (Drupal 7) to Salesforce

I would take a different approach to what your trying to do. If you want to extract data from CiviCRM you probably want to use something like the Data Processor extension and CSV out everything you ...
Parvez Saleh's user avatar
  • 2,396
3 votes
Accepted

Can't enable or disable extensions after migrating from Drupal to Wordpress

As per the comment, try disabling/enabling the extensions using cv. That might give you some other messages and clues about what is happening.
Aidan's user avatar
  • 13.5k
3 votes

Porting an old installation to a fresh CiviCRM

I have a few installs that are around 10 years since they started and I've run into a few problems similar to those you describe. But the problems were all fixable and those installs are still ...
Andy Clark's user avatar
  • 4,845
2 votes

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

Similar to the accepted answer, in my case there were two case views which contained the incorrect definer information. Performed the alter query on the view and it was fixed. Those view names were - ...
jitendra - fuzion's user avatar
2 votes
Accepted

Javascript MIME type mismatch error after server move

The X-Content-Type-Options: nosniff header is a security measure that prevents the browser from attempting to detect the MIME type of a download automatically, as this behavior can be exploited for ...
choster's user avatar
  • 1,900
2 votes

Site transfer from Joomla

I wouldn't say that it is easy, but it might be possible. You could even look at something like a multi-site setup (https://wiki.civicrm.org/confluence/display/CRMDOC/Multi+Site+Installation) for some ...
Randy Tobias's user avatar
2 votes

Site transfer from Joomla

You mean with your own CMS? you will mostly have to deal with the authentication and permission system. look at what is done in civi for WP, J+, Drupal to give you a sense of the scope. I personally ...
Xavier's user avatar
  • 10.2k
2 votes

New to CiviCRM: Hosting (VPS) requirements and migration from NationBuilder

Q2 JMA Consulting and Fuzion recently migrated a large db from NB to CiviCRM + Drupal. JMA built the migration mapping. Fuzion worked on a Drupal-side interface that replicated some of the common NB ...
petednz - fuzion's user avatar
  • 28.3k
2 votes

Issues with Migration - Cannot add foreign key constraint

You'll likely need to make some temporary changes to your files to avoid the foreign key error. I do the same when I have to do an import to fix schema integrity. Here's the page I am referencing: ...
Jenni Simonis's user avatar
2 votes

Cannot redeclare civicrm_enable()

As answered by @davejenx here ("Cannot redeclare class CRM_Core_ClassLoader" in backup site) this could be your issue. It sounds as though there is either a cached path to ClassLoader....
Chamil Wijesooriya's user avatar
2 votes

Copy a Sites Customizations (Custom Fields, report instances, etc)

If the reason you want to delete the data is because of privacy issues, you could just scramble it. There are a few ways to do that, e.g. this extension: https://github.com/adixon/ca.civicrm.testsite
Alan Dixon's user avatar
  • 6,851
2 votes

Http 500 Page not Found error when plugin clicked on backend - Wp-engine

WP Engine is a quirky host--it makes lots of configuration decisions for you with the goal of optimizing for WordPress sites, but that often makes things more difficult for CiviCRM. This is in stark ...
Andie Hunt's user avatar
  • 7,462
2 votes

"Could not find a valid session key." when making a contribution

I was getting similar errors on a Drupal site - turned out it was timing out during PDF creation for the email receipts, disabling PDF generation resolved the issue for now.
freeform.steph's user avatar
2 votes
Accepted

"Could not find a valid session key." when making a contribution

Checked the server logs. .htaccess had file permissions set to 0664. Changed those permissions to 0644, and this problem went away.
Dragonfly's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible