We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

19

A white screen (WSoD or "white screen of death") indicates that PHP is configured not to display errors, and has hit an error which it can't recover from. The result is an empty page. Your next step is not to fix the error, but to first give yourself enough information to identify the source of the error. (Diagnose, then treat.) Viewing errors in logfiles ...


10

This may be related to Status page angular load error. Make sure that the following two items point to the same place: Image Upload URL at Administer > System Settings > Resource URLS Image Directory at Administer > System Settings > Directories If this doesn't work, try disabling Asset Caching at Administer > System Settings > Debugging and Error Handling ...


7

Thanks to eug for finding the problem (see comments). Eug's solution worked for me: Edit the file administrator/components/com_civicrm/civicrm/templates/CRM/Admin/Form/Setting/Pa‌​th.hlp to replace the first crmResPath with crmResURL Update: problem persists in 4.7.3. Have upgraded the bug report priority to Major. Update: problem persists in 4.7.4. ...


7

Summarising the above conversation: The upgrade of PHP to version made the PEAR DB extension unavailable. So the exception "DB Error: extension not found" was thrown. Changing to the database connection URL in the civicrm.settings.php using the prefix mysqli solves the problem.


7

The problem isn't WordPress, but Hostmonster. Shared hosting makes its money on sites that don't need any CPU or memory - simple WordPress sites, for instance. CiviCRM is a much more resource-intensive program than your typical CMS (like WordPress). If you have good shared hosting - which is hard to come by! - then you can sometimes run a very small ...


6

The warning is because the timezone of the server does not match with the timezone set in MySQL. We had similar warning and after setting the timezone in both Centos & MySQL, the warning is not displayed anymore. Additional Info: This is how we corrected/fixed the timezones, if it helps. The below instructions are for setting timezone to GMT, you need ...


6

You can configure CiviCRM to use a customized "fatal error" screen by following the steps below. You may want to include specific site administrator contact information or other problem resolution instructions on the screen, as well as "theme" it for a more professional or consistent look. Save a copy of civicrm/templates/CRM/error.tpl Edit the text and ...


6

Looks like you had already installed the extension on your instance (and removed it without properly uninstalling it*). The table 'civicrm_iats_customer_codes' already exists in your database. You can delete the table from if it doesn't have any data in it or change the sql statement in extension code to use 'CREATE IF NOT EXISTS' HTH Pradeep KarinG: *if ...


5

I'd recommend approaching the problem the other way round: find a hoster that works with the latest versions of Civi rather than find a version of Civi that works with your current hoster. You will be missing out on many new features and security fixes if you choose to run an old version. It will only bite you later. Is there any reason not to move hoster?...


5

This line reads the data from the table civicrm_setting and specifically the column value. You could use a SQL client to run the query: SELECT id, name, value FROM civicrm_setting; Typical values would look these: NULL i:0; (an integer) b:1; (a boolean?) s:20:"CRM/common/fatal.tpl"; (a string) a:1:{s:3:"key";s:5:"value";} (an array or dictionary) Skim ...


5

-An error with no error message: The error looks like the user is not logged in. Did you faced the problem after logging out and logging in? Could not find valid value for ct code: This happens when 'ct' (contact type) param is missing is url. Usually happens when you try to visit the New Contact form and you are log out and then after logging in you might ...


5

It turns out that if you are using Wordpress you need to set the timezone to specific location, e.g. London, rather than using the default UTC offset. When I used the London timezone the problem went away. Configure this in WordPress at Settings > General /wp-admin/options-general.php


5

This is a core bug and Eileen has send a PR for the fix. Will you be able to try by applying the patch from here? If the patch works for you than please comment your test result on PR so that it will speed up process of merging into core and having it available in next release. Cheers Pradeep


5

I experienced this problem when I was running different versions of PHP in the website and my command line interface (CLI). You can check your PHP version for the web at Administer menu » Administration Console » System Status. You can find your CLI PHP version by running php -v. I was running 7.0 and 7.2 respectively. Since PHP 7.2 has deprecated the ...


4

being able to set a length make sense. As you describe, you might want to have the length limited, because it's a zip code, a country code, a whatever you know has a fixed length. The problem is not on the database definition, but on the user interface, that should prevent being able to put more chars that the field can accept. Where do you experience the ...


4

The CLI Contact import is meant to work on a per-entity basis, since it uses the API. So Contact is a separate entity from Address. The Contact entity API has a couple of hacks to accept certain parameters from other APIs - e.g. primary email address - but generally speaking, what you're doing is unsupported. If you'd like to do what you're doing via ...


4

You will need to add it to whatever profile your using for the event registration page. You can check what profiles your using by going to the online registration tab of event configuration. Once you know which one then go to administration -> custom data and screens -> profiles and edit the fields for the particular profile. The other thing you will need ...


4

It seems that you have the same setting that is set twice on your database, and the upgrade to 4.7 enforce it won't happen. You will need to list your settings as stored in the database, you should see more than one activity_tab_filter for the contact_id 571. Delete the duplicate(s) and keep only one and then run the upgrade again and you should be fine X+...


4

Similar issue is being filed here https://issues.civicrm.org/jira/browse/CRM-17831. This has been fixed in 4.7.2 at https://github.com/civicrm/civicrm-core/pull/7770/files. Update: As xml files are not included in the downloaded Civi. For the time being, can you please make the following changes at fields() function in CRM/Contact/DAO/Contact.php. '...


4

The best source for finding partners is https://civicrm.org/partners-contributors There you can search on country and the services they provide.


4

Answer was patience - upgrade took 45 minutes.


4

To do so, you need to add this following line on your civicrm.settings.php global $civicrm_setting; $civicrm_setting['Extension Preferences']['ext_repo_url'] = false; https://wiki.civicrm.org/confluence/display/CRMDOC/Extensions#Extensions-Disableautomaticinstallationsofextension


4

I think earlier than CiviCRM 4.3 does not require trigger priviliges but I do expect you to run into other issues with your hosting service. I recommend you go to a experienced CiviCRM hosting service like CiviHosting?


4

I was just dealing with this and found your question.. Since you used C:\, i'll assume you're in windows. TLDR; Try checking your PHP environment variable for 'HOMEPATH' vs 'HOME' and editing the file I mention below. The first thing I will say is that you can increase verbosity of errors in civix by using -v, -vv, or -vvv options for most verbose. It ...


4

I'm embarassed to say, but though drush cc all (clear all caches) didn't work, once I ran drush cc civicrm the errors went away.


4

A look at the only code which references PEAR_ERROR_CALLBACK in CiviCRM core is telling - the file comment starts with This is an evil, evil workaround .... So you've probably uncovered a legit unexpected bug or misbehaviour here. Something about the site setup or the volunteers extension seems to be upsetting things, but in a way that might not be ...


4

Jim, This is a php notice, you can ignore. However this has been fixed in latest version of Civi. To fix this you can either Apply fix from https://github.com/civicrm/civicrm-core/pull/12090 or wait for next release. Turn off php notices by navigating to Configurations >> Logging and errors. Set 'Error messages to display' to None. HTH Pradeep


4

It depends on your hosting server. It is usually possible to specify different PHP versions for command line (eg. php -v) and php that is used by your web server. If you have no need for PHP 5.6 then I suggest you remove it and that trigger everything to use PHP 7.0. Otherwise you'll need to look at your webserver/php configuration to make sure PHP 7.0 is ...


4

Quick Note The issue/solution I describe below only addresses broken Groups/Searches using the "on hold" email field. It's possible the Group/Search is broken through another field/value and the below info will only help specific cases. Another Quick Note I solved a different Smart Group/Saved Search issue by switching "Empty" operators to "Null" operators ...


3

The failure you're seeing is because the MySQL credentials are no good. These are set in the civicrm.settings.php file. Did you possibly restore a backup that didn't include the civicrm.settings.php file that was in place when it was working?


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