Questions tagged [civicrm.settings.php]
The civicrm.settings.php tag has no usage guidance.
96
questions
0
votes
1
answer
34
views
In drupal 9 i have try to install Civicrm. But it asking "CiviCRM: Database: Database does not support creation of triggers" how to fix this error?
i am using Drupal 9, Cent os, php 8, Mysql 8. i am try to install the civicrm it's asking "CiviCRM: Database: Database does not support creation of triggers" how to solve this?
0
votes
0
answers
18
views
civicrm_root in civicrm.settings.php - Drupal 7 CiviCRM 5.42.1
I've updated Civicrm to version 5.42.1 and something is different about the civicrm_root variable.
I used to have it in this format
/var/www/html/site_name/docroot/sites/all/modules/contrib/civicrm/
...
3
votes
1
answer
42
views
Can I store local dev SMTP settings in civicrm.settings.php?
For local development, so that I can test outgoing email safely, I use the Drupal settings.php file to store my MailHog email server settings e.g.
$conf['smtp_host'] = 'mail'; //Docker container
$conf[...
0
votes
0
answers
34
views
civicrm-5.45.0-joomla install fails
The site is currently at 5.41.1. I have tried both civicrm-5.45.0-joomla and civicrm-5.45.0-joomla-alt install packages. When I run the install multiple times, each one fails on writing a different ...
1
vote
1
answer
37
views
The system has data from both old+new conventions. Please use civicrm.settings.php to set civicrm.files explicitly
trying to debug some other issues post-upgrade i happened to find this warning in the log repeatedly:
[warning] The system has data from both old+new conventions. Please use civicrm.settings.php to ...
1
vote
1
answer
30
views
cURL error 6: Could not resolve host when importing contacts
I recently updated CiviCRM in Drupal 7 from version 5.17.3 to 5.42.1
Now when I try to import contacts, I get to final step and click "import now". After a few seconds that I see the popup ...
0
votes
1
answer
31
views
Fields loaded as read only in civicrm.settings.php
The database was upgraded from 5.37.1 to 5.39.0 by Civihosting. When I went to check the resource urls as suggested I am receiving "Some fields are loaded as 'readonly' as they have been set (...
0
votes
1
answer
113
views
Cannot Require Once When Loading CiviCRM After Drupal Upgrade
I am trying to upgrade to the newest security release of Drupal 8 (8.9.14). After completing the update (Drupal is bootstrapping because the login page works) but CiviCRM stops being able to require ...
2
votes
1
answer
126
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 ...
0
votes
3
answers
58
views
Upgrade or Replace CiviCRM 4.7.31
We are using Wordpress 5.7. Our current CiviCRM version is 4.7.31. As of August 2020, CiviCRM event registration stopped working due to the Wordpress update. Now, we can not seem to process ...
3
votes
1
answer
27
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 ...
0
votes
1
answer
154
views
Mandatory Key(s) missing params array:one of (first_name, last_name, email, display_name)
Hi I spent a long time testing my code and checking it worked on our test CIVI. On the test version of the CIVI CRM the requests work no problems. As soon as I switch to live and connect to the real ...
0
votes
1
answer
37
views
Where is the Detailed Logging setting stored?
I am attempting to turn on detailed logging for a site (Administer -> System Settings -> Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.), the Logging option. When I save the change, I'm ...
1
vote
0
answers
35
views
File permissions for installng and enabling Civi Drupal
The setting of file/directory permissions for standard drupal is pretty well known and the kinks are worked out.
On the other hand, I have never been able to figure out the golden steps to take to ...
2
votes
2
answers
97
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 ...
0
votes
1
answer
72
views
How can I resolve an issue with [civicrm.files] following an update to 5.29
Just updated my Civi 5.25 install running with Wordpress on a Cloudron LAMP stack to 5.29. Now Civi is generating lots of alerts about unknown extensions - it looks like it can't find my extension ...
1
vote
0
answers
41
views
moving DB to a new server - PHP errors
I have been attempting to move a civi install to a new site with little success. I know I have managed this before with another site, so I am especially mystified.
I have reviewed the the guide at ...
4
votes
1
answer
103
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!
0
votes
1
answer
13
views
Drupal 8 / CiviCRM ; Directories that need to be manually created?
I've created a d8/civi site on all three of bionic/eoam/focal and now have worked out the variances between them to the state that I now have an operational
0
votes
0
answers
45
views
CKEditor is not working while editing CiviCRM
While I am trying to add/edit the CiviCRM events, instead of CKEditor, the default textarea is displaying and also the HTML tags are display. But the CKEditor is working as expected for the Drupal ...
1
vote
1
answer
60
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 ...
0
votes
0
answers
70
views
CiviCRM under Drupal 7: the CiviCRM settings file (civicrm.settings.php) was not found in the expected location
After upgrading Drupal to 7.71 trying to follow strictly the instructions found at https://www.drupal.org/docs/7/update, the module CiviCRM was no longer visble.
Several error messages appeared in ...
3
votes
0
answers
30
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 ...
1
vote
0
answers
17
views
How can I commit civicrm configs to git? [duplicate]
I am exploring civicrm and am trying to set up a prod, staging, dev environment where by I create and test custom fields in dev and deploy them to prod. What is the best way to do this?
I cam using ...
1
vote
1
answer
155
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 ...
3
votes
1
answer
54
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 ...
1
vote
1
answer
27
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
0
answers
37
views
Setting CiviCRM to NoCache doesn't work
I'm having an issue whereby clearing Civi cache is the only way to make some fields visible on a Drupal 7 user profile. I've tried to debug the issue and it seems to be caused by anonymous users ...
0
votes
1
answer
53
views
How can I get the WYSIWYG editor to appear when using CiviCRM with Wordpress on Cloudron?
I have CiviCRM 5.18 running with Wordpress on a server where the Wordpress instance is managed by Cloudron (https://cloudron.io). Several other web applications being used as well on the same server, ...
0
votes
0
answers
43
views
Having issues with CiviCRM menu not showing up after install - Wordpress 5.3 civiCRM 5.12.2
I'm looking for some advice with civiCRM and wordpress
The install works and the Database is there, but there is no sign of the menu apart from the plugin civiCRM admin.
I have tried to look at the ...
1
vote
2
answers
139
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 ...
2
votes
1
answer
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
1
answer
142
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
2
answers
119
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
2
answers
53
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
1
answer
34
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
1
answer
73
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
1
answer
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
0
answers
25
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.
0
votes
2
answers
145
views
"System Status: Error" I updated to CiviCRM 5.12.0 hosted on WordPress internally on a QNAP TS-251+ Server. Where do I go from here?
System Status: Error
Cron Not Running (CiviCRM Homepage says "Loading...)
Configure Default Mailbox (CiviCRM Homepage says "Loading...)
Complete Setup (CiviCRM Homepage says "Loading...)
MySQL utf8mb4 ...
1
vote
0
answers
251
views
cv fails to locate civicrm.settings.php
I have an error on CivicCRM v 5.11 "Cron Not Running" (WordPress)
The crontab entry reads
*/5 * * * * /usr/local/bin/cv api --user=www-data job.execute
The cron job fails with:
[Exception] ...
1
vote
1
answer
111
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
1
answer
93
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
0
answers
49
views
2 domain to the same site
I have 2 domains example.com and example.org and both point to the same site on Wordpress.
Generally we use only .org but i would like that if someone goes to example.com/donate (where I have my ...
1
vote
1
answer
53
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 ...
2
votes
2
answers
70
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. ...
0
votes
1
answer
39
views
How will I maintain versioning of civicrm in github?
I customized a civicrm. I want to put on github.I cannot maintain a mysql database versioning. How can I do that?
3
votes
1
answer
42
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!
0
votes
1
answer
13
views
strange issue(permission error with 'civicrm_contact') while installing civicrm
while installing civicrm , there is a weird permission error with table 'civicrm_contact'.
i have same setup on localhost with the same wordpress version and civicrm version.
on localhost it runs fine ...
1
vote
0
answers
30
views
Why Dashboard shows incorrect checklist URL
There is an incorrect checklist URL on our CiviCRM Home Dashboard under "Configure and Extend".
The correct URL is available at Administer -> Administration Console -> Configuration Checklist.
Any ...