Questions tagged [civicrm.settings.php]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
1answer
738 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
81 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
73 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
523 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
83 views

How can I find out our civicrm sitekey?

I need to find out the sitekey for our developers. Not sure where to find this. Any advice appreciated!
4
votes
1answer
504 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
2k 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
51 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
25 views

Menu problem when web host upgraded from CPanel to Site Tools

Recently, my host provider Siteground upgraded the back-end of my site from using a classic CPanel to the new and improved Site Tools. Upon the upgrade, the main CiviCRM 5.34.0 menu no longer appeared ...
3
votes
1answer
41 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
162 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
141 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
96 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
47 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
120 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
27 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
1k 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
109 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
2k 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
125 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
51 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
2answers
81 views

Can i used different Database on remote server for civicrm logging?

Is it possible? Used the different database on remote server for civicrm logging. Means: Currently i am using two databases one for drupal and second is using for Civicrm. Both are on different remote ...
2
votes
1answer
166 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
408 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
72 views

The "cmsBaseUrl" is not set according to the information in civicrm.settings.php

Error: When I check the installation requirements (cv core:check-req) I get an error message that says: The "cmsBaseUrl" (http://localhost/usr/local/bin/usr/local/bin/) is unavailable or ...
2
votes
2answers
93 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/...
2
votes
2answers
66 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
31 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
272 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
27 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
413 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
64 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
256 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
457 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
3k views

Mixed content error on SSL site

I'm trying to sort out an AJAX bug (edits to contacts not being saved) and the console error says: Mixed Content: The page at 'https://studentleadership.ca/wp-admin/admin.php?page=CiviCRM&q=...
1
vote
1answer
135 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
50 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
606 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
54 views

CiviCRM URL issue: CiviCRM theme is not loading after CiviCRM update to 5.26.1 version

After upgrading the CiviCRM to the latest version 5.26.1, the CiviCRM theme is not loading. I have checked on the Browser Console and I saw a CSS and JS file errors. Some of the errors are given below ...
1
vote
2answers
245 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
84 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
20 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
26 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
40 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
99 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
77 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
48 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 ...