When confirming donation I'm receiving the following error message "Sorry, can not load CMS user account." How can I track down which file this message is generated in?

Other details: I'm working through the vanco payment processor 4.1 code to make it work with 4.4 CiviCRM. The URL is similar to: www.domain.org/civicrm/contribute/transact


This particular phrase appears to be in these files:


Here are two ways you can search for specific phrases within the codebase:


Using this command from the base civicrm directory:

> grep -R "Sorry, can not load CMS user account." ./


And if you don't have a command line handy, you can do the same on the CiviCRM GitHub page with the "Search this repository" function at the top (using the quotation marks to search for the exact phrase):

Github search repository

  • Thank you, verified it as CRM_Utils_System_Drupal, line 726 – mike_kc Jun 15 '15 at 18:26
  • Lesson learned, look beyond CiviCRM code base when CMS user is noted. – mike_kc Jun 15 '15 at 19:03
  • Glad to help. Technically it is still in the CiviCRM codebase, just in a portion of it that only applies to Drupal in this case. I find grep saves me a lot of time in a situation like this. – Laryn - CEDC.org Jun 15 '15 at 19:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.