Questions tagged [civicrm.settings.php]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
1answer
556 views

Set [civicrm.files]

I have a dev copy of CiviCRM that I upgraded to 4.7.21. The file paths have been removed and show [civicrm.files] instead. I cannot figure out how to set [civicrm.files] so that CiviCRM can see the ...
5
votes
2answers
71 views

How to remove notice at login

When users login right now (Jan 4, 2018) they get a notice publicising CiviCamp 2018. For 99% of users this notice is inappropriate. How do I remove it? I know it can be removed via some update to ...
5
votes
2answers
58 views

Generating a new SITE_KEY

One of my clients' webhosts posted the SITE_KEY of their site on a publicly accessible webpage. How do I generate a new SITE_KEY with the same random process that generated the original?
4
votes
4answers
476 views

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

As we keep an eye on these upgrade for clients, the last thing we need is for them to worry about it while we check out their customisations for compatability etc. How to get rid of them?
4
votes
1answer
382 views

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

I believe [civicrm.root] is being computed incorrectly. Entering the absolute URLs in Settings > Resource URLs has been sufficient to fix most problems, but some problems persist. For example, ...
3
votes
4answers
1k views

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

I have a problem that appears to be similar to this post: https://forum.civicrm.org/index.php?topic=34290.msg145436#msg145436 I'm in the middle of setting up an evaluation instance of CiviCRM within ...
3
votes
1answer
1k views

How do I change the CiviCRM Database name

When setting up a website with CiviCRM I named the database in a extremely generic format. How can I rename it with breaking Civi? I tried to export the date and import it to a new database with a ...
3
votes
2answers
50 views

Upgrade Civi 4.0 to secure version

What is the easiest way to get a 4.0 version of CiviCRM up to date or at least to a secure version? Is it possible to import a MySQL dump from 4.0 version into a new clean 4.7 version?
3
votes
1answer
36 views

How to grant SELECT access for Drupal user to all CiviCRM Tables

I have 2 databases for Drupal and CiviCRM. How can I grant SELECT access for Drupal user to all CiviCRM tables? I am using AWS RDS Databases. Thanks so much!
3
votes
1answer
155 views

Compatibility problem with Joomla 3.8.7 and Civicrm 5.0.1 that affects Cron

On my last question How to setup Cron in Civicrm- local server I found out Joomla.php is having problem. i used curl or cli to run cron both does not work, here are the errors: initial error require(...
3
votes
3answers
130 views

civix civicrm:ping not printing any output

I am running CiviCRM on Mac OSX 10.11.3, using the latest Bitnami CiviCRM/Drupal stack (bitnami-civicrm-4.6.11-0-osx-x86_64). I have civix-15.04.1 installed as instructed (under $HOME/civix), and ...
3
votes
1answer
95 views

Strange consistent log notices. Where do they come from?

I haven't tried asking on stackexchange before (only the old forums), so please excuse me if I do it in the wrong fashion... I did google this, but couldn't find anything that helped me remove these. ...
3
votes
1answer
33 views

Alternatives to editing civicrm.settings.php

The drupal hosting system that we are currently using prevents us from making any changes to civicrm.settings.php which I find is sometimes necessary or at least the most sensible solution in certain ...
3
votes
1answer
101 views

Why do we need new_link in the mysql DSN settings?

I see that in all civicrm settings.php examples the DSN is something like mysql://crm_db_username:crm_db_password@db_server/crm_database?new_link=true but why the new_link setting? Isn't it much ...
3
votes
0answers
22 views

Why is my cron run failing following a database move?

I've got a Civi/Wordpress install. Originally all of the codebase was in a directory called dev. When it was ready to go live I moved everything to a directory called default, and I went through all ...
2
votes
3answers
912 views

Mail not sent from CiviCRM via SMTP or mail()

I am trying to send email using SMTP settings in the outbound email settings. I have set all the fields according to this post which would be SMTP server address : ssl://smtp.gmail.com SMTP ...
2
votes
1answer
53 views

Can not find Civicrm.settings.php

Excuse me I am new to Civicrm and got stuck, I installed Civicrm-drupal from github, I wanted to check if the configurations are correct so I ran the command "civix civicrm:ping", but I got this ...
2
votes
3answers
1k views

Fix For “Incorrect Resource URL” Not Working

I am getting the error "Incorrect Resource URL" and seeing 404 for URLs that go to "undefinedjs/jquery/jquery.crmAjaxTable.js" and many instances of the error "Unable to reach the server. Please ...
2
votes
3answers
119 views

What's the best strategy for upgrading CiviCRM?

I use CiviCRM 4.5.8 with WordPress. I'd kinda like to try a newer version, but I don't want to mess up the production website. I used the WP plugin Duplicator to create a test site. I changed the ...
2
votes
1answer
45 views

What are the implications of changing the SITE_KEY?

See also Generating a new SITE_KEY If I change the SITE_KEY in civicrm.settings.php, what might stop working as a result? Eg: Will checksums emailed to contacts last week still be valid? (you're ...
2
votes
1answer
156 views

Wordpress Clean URL's not working on Civi 5.14.0

Edited my civicrm.settings.php file to enable clean URL's (as described in https://docs.civicrm.org/sysadmin/en/latest/install/wordpress/) It does not work and any time I try to go to a clean URL page ...
2
votes
1answer
139 views

“MySQL support not included in PHP”

I have drupal running perfectly; with mysql support. But CiviCRM still giving me this error - “MySQL support not included in PHP.” My PHP version is 5.6.31, as indicated in the screenshot below.
2
votes
1answer
315 views

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

I've got a WordPress site here (CiviCRM 4.7.17, upgraded recently from 4.7.15) which has two different civicrm.settings.php files: wp-content/plugins/civicrm/civicrm.settings.php wp-content/uploads/...
2
votes
2answers
57 views

How to install civix and build an extension in drupal

Please I don't know how to install civix and build an extension using civicrm. I already installed drupal and civicrm module. but I have no clue how to write an extension or how to run anything here. ...
2
votes
1answer
30 views

prompted for password too often

I am trying to run civicrm in my machine and access it through LAN from other machines. So I made a change in word press general settings like below: WordPress Address (URL) http://myipaddress/...
2
votes
1answer
1k views

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

I've been getting 404s on public pages due to my directory setup, so I changed the default Resource URL in Administer >> System Settings >> Resource URLs from the default ([civicrm.files]?) to the URL ...
2
votes
1answer
255 views

How to successfully install CiviCRM w/Wordpress on WPEngine hosting

I've seen other questions indicating CiviCRM will not install properly on WPEngine, at least not without some extra work, such as: Install problem civicrm with wordpress The installer says it was ...
2
votes
1answer
26 views

Civicrm upgrade from 4.2.9 to 4.7.23

I am upgrading 4.2.9 to 4.7.23. But while database upgrade i got error as "Found installation canary. This suggests that something went wrong with tracking installation process. Please post to forum ...
2
votes
1answer
374 views

404 css and js not found, wrong [civicrm.root]

a fresh install on Joomla 3.6.4 with CiviCRM 4.7.13 results in countless 404 errors All files of those locations are not found: css bower_components packages js It tries to find the files from ...
1
vote
1answer
46 views

CiviCRM Database Upgrade White Screen

I have followed the instructions located on the CiviCRM Website to a fault. https://docs.civicrm.org/sysadmin/en/latest/upgrade/drupal7/ The files are a fresh install and the Status Page tells me to ...
1
vote
1answer
192 views

CiviCRM running very slow on local network

CiviCRM running very slow on local network, but index.php ,phpmyadmin and joomla are fine. What could be the problem? I tried this solution (https://processwire.com/talk/topic/8320-local-dev-server-...
1
vote
2answers
396 views

How to change DB user password for CiviCRM 4.7.3?

For my own reasons, I needed to change the Civi database user password. After doing so in my hosts CP, this of course broke CiviCRM (WP). I'm a Civi newbie so I was expecting I might be able to easily ...
1
vote
2answers
31 views

How do i properly include civicrm.settings.php to use api calls?

Quite a long time ago I wrote an external script that does this at the top: require_once '/path/to/joomla/install/com_civicrm/civicrm.settings.php'; require_once '/path/to/joomla/install/civicrm/CRM/...
1
vote
1answer
24 views

Civi Error loading homepage

I am getting this message when I load my website. Is this a Civi Issue? Warning: Cannot modify header information - headers already sent by (output started at /home/aflbs/www/www/wp-content/plugins/...
1
vote
1answer
563 views

timezone in PHP is incorrect

Facing this warning Timestamps reported by MySQL (eg "2017-07-20 13:48") and PHP (eg "2017-07-20 08:18" ) are mismatched. While MySql time matches with my local time. PHP is running 5:30 hrs less. My ...
1
vote
1answer
69 views

Resource URL problem

I'm having some problems with the CiviCRM Resource URL setting that I can't get my head around. Set as [civicrm.root]/ the System Status screen displays the error 'The Resource URL is not set ...
1
vote
2answers
224 views

How do I use import and export php classes with aegir?

How do I use export.php and import.php to work with multiple sites run with Aegir. All of them share the same files (php classes) and when I specify the site with -s mysite.org I get nothing (...
1
vote
2answers
72 views

configuration variables: where is the documentation?

This is changing between 4.6 and 4.7. Where is the best place to see what each setting does?
1
vote
1answer
19 views

Setting USPS and recaptcha overrides breaks site

I've successfully set several overrides in civicrm.setting.php according to https://docs.civicrm.org/sysadmin/en/latest/customize/settings/. However, both Recatpcha and the USPS Address ...
1
vote
1answer
18 views

Personal contacts displaying in business members directory

A website for a client runs CiviCRM on Wordpress. Part of their membership site contains a membership directory so the public can see their registered/active members. The members are essentially ...
1
vote
1answer
31 views

CiviMail Deadlock Issue

I am facing deadlock on civicrm_acl_cache. I am sending email to 400,000 users. Many times, deadlock occur and due to system lock website goes down. Need help from team
1
vote
1answer
69 views

sql username and password

I have installed civicrm bitnami stack on google cloud. I need to connect sql database with tableau for data visualisation. How can i get the server, port, username and password for this connection.
1
vote
1answer
29 views

Define CIVICRM_LOGGING_DSN in PHP?

Is it possible to use PHP to define the CIVICRM_LOGGING_DSN setting located in civicrm.settings.php? We are using Drupal. I have successfully used the following to change some settings before: Civi:...
1
vote
1answer
42 views

Development - Custom Payment Gateway

Wordpress with CiviCRM 5.3.2 Good Day! we are developing custom payment gateway for civicrm. in Payment Processor Settings we need to create a login screen to get our gateway account details ...
1
vote
1answer
95 views

Why does setting my Directories or Resources not save?

On some sites Civi gives users a warning about 'Directory Paths: Make them portable' and the warning directs them to the Directories page to fix them. The user makes the changes and saves them, but ...
1
vote
1answer
124 views

What could $civicrm_root setting in civicrm.settings.php appears ignored?

I'm running 4.7.27 and regardless of what I set the $civicrm_root to, the hints in resource URL and file path setting pages give quite unrelated values for civicrm.root. I am also unable to set the ...
1
vote
1answer
418 views

Why is there private_html in my [cms.root] directory variable and is it trouble?

The Settings - Upload Directories screen (url civicrm/admin/setting/path?reset=1) makes it possible to examine the value of the [cms.root] variable. Just click the first help question mark. In my ...
1
vote
1answer
29 views

How to disable all scheduled jobs in civicrm.settings.php?

Similar to e.g.: $civicrm_setting['Directory Preferences']['extensionsDir'] = '/Applications/MAMP/htdocs/Louise/git-7/sites/semper-it.local/civicrm/extensions'; Can I do something that sets all ...
1
vote
1answer
98 views

Autodetecting variables for URL variables

I am having an issue in Settings - Resource URLs where the [civicrm.files] variable is detecting incorrectly. It's actually detecting as https://www.mydomain.org/usr/home/webhoster/mydomain.org/wp-...
1
vote
1answer
103 views

Civimail Urls don't load and show Could not load the settings file at:

We have setup CiviCRM to run as part of an installation profile. So instead of the default sites/all/modules folder, CiviCRM is installed in profiles/ourprofile/modules/contrib/civicrm. CiviCRM ...