10 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/...
user avatar
  • 5,589
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 ...
user avatar
8 votes

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

Disabling security notifications hides the notice from your users, but it won't hide your sites from attackers. Turning off the warning supports a scenario where those sites are at risk longer. Here'...
user avatar
6 votes
Accepted

How do I change the CiviCRM Database name

This is what works for me but not sure if it is necessary based on the following http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location : Edit ...
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 ...
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 ...
user avatar
  • 17.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: ...
user avatar
  • 1,048
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/...
user avatar
5 votes

What are the implications of changing the SITE_KEY?

Change all cron jobs and scripts that use the site key for authentication Reenter any passwords, specifically payment processors and mail/sms passwords All prior checksums sent in the last 7 days (if ...
user avatar
  • 3,803
4 votes

Generating a new SITE_KEY

Any source of unknown data should be fine - I'd use a command like this just because it's quicker: head -n 1000 /dev/urandom | md5sum
user avatar
4 votes
Accepted

Mixed content error on SSL site

Check your CIVICRM_UF_BASEURL value in civicrm.settings.php and check also the settings under Administer --> System Settings --> Resource URLs. In the latter you can force civicrm to load css/js ...
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.
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 ...
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
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.
user avatar
  • 521
4 votes

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. ...
user avatar
  • 17.9k
3 votes

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

Whilst this may not be a good idea if you don't have infrastructure to keep on top of upgrades & security issues, the setting can be found in: Administer > System Settings > Misc. the ...
user avatar
  • 650
3 votes

Upgrade Civi 4.0 to secure version

Easiest thing to do is upgrade in stages, go from 4.0 to 4.1, then to 4.2 then you can try straight up to 4.6 This approach should mean you dont hit too many issues
user avatar
  • 2,396
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 ...
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 ...
user avatar
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.
user avatar
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+...
user avatar
  • 1,106
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....
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 ...
user avatar
  • 457
3 votes

Civi Error loading homepage

I changed my cache plugin and that seemed to fix the problem.
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-...
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 ...
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
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/...
user avatar
2 votes

Upgrade Civi 4.0 to secure version

At minimum you would need to upgrade to 4.4 - this is the current LTS version and is the oldest version which still receives security patches. As Parvez recommended, upgrading in stages is sometimes ...
user avatar
  • 16.2k

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