12 votes
Accepted

Set [civicrm.files]

You can specifically set the value of [civicrm.files] in civicrm.settings.php with code like this: global $civicrm_paths; $civicrm_paths['civicrm.files'] = array( 'url' => 'https://example.com/...
Tim Otten's user avatar
  • 5,684
9 votes
Accepted

Mail not sent from CiviCRM via SMTP or mail()

I think I found the issue. If your CiviCRM is installed via buildkit there is a file ~/buildkit/app/civicrm.settings.d/100-mail.php which sets the CIVICRM_MAIL_LOG to /dev/null. This doesn't allow ...
Siddharth Gupta's user avatar
6 votes

How to remove notice at login

This is a preference you can set, but it's not exposed in the web interface. There's a section of civicrm.settings.php that documents it. In case you've upgraded from an older version of CiviCRM ...
Jon G - Megaphone Tech's user avatar
6 votes
Accepted

Can not find Civicrm.settings.php

Normally you don't install from github you would get it from https://civicrm.org/download and then follow the instructions at https://docs.civicrm.org/sysadmin/en/latest/install/drupal7 If you are ...
Demerit's user avatar
  • 22.9k
6 votes

How can I find out our civicrm sitekey?

It's found in civicrm.settings.php and will be generated by the installer (or set manually depending on how your CiviCRM instance was configured). You're looking for a line that looks like this: ...
HomoTechsual's user avatar
  • 1,138
5 votes

Word Press Install Missing civicrm.settings.php; dashboard unavailable; no menus

I dug further into the changes that WPE does to the file structure. It looks like the new magic method of determining the file location using [civicrm.files] is failing. See https://github.com/...
Kevin Cristiano's user avatar
4 votes

Fix For "Incorrect Resource URL" Not Working

We've had basic authentication active on the installation which broke the check. After adding the server IP to the whitelist the error disappeared.
George Moses's user avatar
4 votes
Accepted

CiviCRM running very slow on local network

And once again I had found out the answer on my own, took a lot of time though... it is in components and administrator's civicrm.setting.php (both php file!) just simply change both localhost (see ...
Jennifer Lee's user avatar
4 votes
Accepted

Where is the civicrm.settings.php file on Wordpress 4.95 with CiviCRM 5.1.x

The /wp-content/plugins/civicrm/civicrm path is for CiviCRM versions older than 4.7. For a new install you should find it under /wp-content/uploads/civicrm
Matthew Wire's user avatar
4 votes
Accepted

CiviCRM Database Upgrade White Screen

After hours of trying to figure out the issue, i have been able to fix this by changing the Theme in Drupal. When i made the Theme into a default theme the upgrade page showed with no issues.
Moe's user avatar
  • 521
4 votes
Accepted

Can I store local dev SMTP settings in civicrm.settings.php?

Use something like: $civicrm_setting['Mailing Preferences']['mailing_backend']['smtpPort'] = '587'; I think the group name 'Mailing Preferences' is obsolete and could be 'domain', but the above works. ...
Demerit's user avatar
  • 22.9k
4 votes

Add new custom field column

If you're talking about the contact basic and advanced search results, you can add the field to a profile and set that to be used at Administer > Customise Data and Screens > Search Preferences &...
Aidan's user avatar
  • 13.5k
3 votes
Accepted

“MySQL support not included in PHP”

Your drupal may be using a different mysql driver. CiviCRM recently migrated to requiring mysqli. See https://civicrm.org/blog/totten/psa-please-verify-php-extension-mysqli for more details.
Thomas Schüttler's user avatar
3 votes

timezone in PHP is incorrect

Try setting your preferred timezone in civicrm.settings.php and/or wp-config.php? ini_set('date.timezone', 'Asia/Calcutta'); You might want to adapt the timezone you set as appropriate to your MySQL ...
Chris Burgess's user avatar
3 votes
Accepted

Correct location of civicrm.settings.php in CiviCRM 4.7 for WordPress

The recommended location is wp-content/uploads/civicrm/civicrm.settings.php. The deprecated location, still supported as of April 2017, was wp-content/plugins/civicrm/civicrm.settings.php, but this ...
Chris Burgess's user avatar
3 votes

How to change DB user password for CiviCRM 4.7.3?

Supplementing Jason's answer for a Drupal installation: the file civicrm.settings.php will be found in your site's directory, e.g. drupal/sites/default/ or drupal/sites/mysite.com/ . Look for ...
davejenx's user avatar
  • 2,365
3 votes

Copying the CiviCRM installation in a different machine

See documentation on moving an existing installation to a new server or location on this link: https://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+...
Kboy's user avatar
  • 1,116
3 votes
Accepted

How can I fix [civicrm.root] variable on an addon domain?

tl;dr: Uncomment and fill in the define('CIVICRM_CMSDIR', '/path/to/install/root/'); in civicrm.settings.php. I traced through the functions that go toward building the URL for loadins crm.ckeditor....
Jon G - Megaphone Tech's user avatar
3 votes

How to remove notice at login

Thanks Jon G for providing the solution to turn off the community messages. However, as one of the organizers of CiviCamp Brussels 2018, I am very happy with this feature. It's an effective way to ...
AlainB's user avatar
  • 542
3 votes

Civi Error loading homepage

I changed my cache plugin and that seemed to fix the problem.
user3705's user avatar
3 votes
Accepted

How will I maintain versioning of civicrm in github?

It's really bad idea to customize CiviCRM core files when you can do thing using extensions. If you feel your customization fixes core issues than you should try to submit pull request against civicrm-...
Pradeep Nayak's user avatar
3 votes

How to install civix and build an extension in drupal

Have a look at the Developer Guide here: https://docs.civicrm.org/dev/en/latest/ as a start. If at all possible I would recommend trying to find an expert near you who would be able to give you a ...
ErikH - CiviCooP's user avatar
3 votes
Accepted

Resource URL problem

In your civicrm.setting.php update the $civicrm_root and template_c path to use /var/sites/j/example.net/public_html instead of /var/sites/c/beta.example.net/public_html/ Thanks Pradeep
Pradeep Nayak's user avatar
3 votes

Menu problem when web host upgraded from CPanel to Site Tools

I replaced the full URLs in the civicrm.settings.php file with relative URLs as shown below: FROM global $civicrm_root; $civicrm_root = '/home/customer/www/example.org/public_html/sites/all/modules/...
timindaburgh's user avatar
2 votes

Word Press Install Missing civicrm.settings.php; dashboard unavailable; no menus

Looks like the menus did not build correctly. I would install this plugin https://wordpress.org/plugins/civicrm-admin-utilities/ You can activate and it allows for a menu rebuild and a cache flush. ...
Kevin Cristiano's user avatar
2 votes

How to change DB user password for CiviCRM 4.7.3?

Ok, I figured it out and for the benefit of anyone who might Google search this same question, here's the answer. 1. Go to your webhost's file browser. 2. The file should be located in /public_html/...
Jason Correia's user avatar
2 votes

Mail not sent from CiviCRM via SMTP or mail()

so using google smtp is fine for tests, but as bgm mentioned, it won't scale for production, as google doesn't allow you to send a lot of emails that way. if you have the popup, it means that civi ...
Xavier's user avatar
  • 10.2k
2 votes

Changed Resource URL setting, now can't access Civi on Wordpress

If I understand your question correctly, you are asking how to return the settings back to default. I believe that the default settings for WordPress (in Administer >> System Settings >> Resource ...
William Mortada's user avatar
2 votes

How do I stop the new "Security Notifications" that civi pops up for upgrades

Marsh's answer is correct for Civi 4.6. For versions 4.7+, go to Administer menu » Administration Console » System Status and press "Hide" next to the version check message. You can choose to hide ...
Jon G - Megaphone Tech's user avatar
2 votes

What's the best strategy for upgrading CiviCRM?

I got it to work! Finally! Specifically, I was able to create a second civicrm database. I tried a variety of options using phpMyAdmin and got a variety of errors. Then I downloaded PuTTY http://www....
jimcrist's user avatar
  • 763

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