Questions tagged [civicrm.settings.php]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
1answer
460 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
69 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
53 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
440 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
298 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
957 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
32 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
146 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
124 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
93 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
99 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 ...
2
votes
3answers
845 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
35 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
113 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
41 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
3answers
921 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
1answer
121 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
276 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
1answer
83 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
2answers
51 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
925 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
243 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
21 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
347 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
39 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
143 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
365 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
19 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
503 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
2answers
141 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
69 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
16 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
26 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
50 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
18 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
33 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
87 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
99 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
360 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
27 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
90 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
99 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 ...
1
vote
2answers
30 views

Civicrm Integration: Error while adding api function

I have CiviCRM 4.7 installed on drupal 7.38. I Found it necessary to modify the url in civicrm.settings.php file as suggested here:https://forum.civicrm.org/index.php?topic=33303.0After this ...
1
vote
0answers
16 views

Guidance Request : SSO between CIviCRM & WordPress!

We've been using CiviCRM for a number of years and also running a blog on WordPress. I can't find much information on setting up SSO / OAUTH / SAML / or even just custom CiviCRM | WP API to handshake ...
1
vote
0answers
22 views

Error on CiviCRM Activation. Can't Install CiviCRM

I’m trying to install a new copy of CiviCRM for Wordpress on Plesk Onyx. I get the following error when I try to activate CiviCRM after uploading the files to my server: Warning: require_once(CRM/...
1
vote
0answers
22 views

One of our admin users is replicating multiple times a day CiviCRM 4.6.38 Wordpress

We are using CiviCRM 4.6.38 Wordpress. One of our admin users is replicating multiple times a day and I don't know why or how to resolve this issue.