CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Modifying Profile Error Messages
Pages: [1]

Author Topic: Modifying Profile Error Messages  (Read 744 times)

mauricem

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
Modifying Profile Error Messages
July 21, 2010, 05:05:47 am
Can anyone advise how to customize the Error message obtained when a user does not have permission to access a profile.. to replace the catch-all message below?
Sorry. A non-recoverable error has occurred.
The requested Profile (gid=20) is disabled OR it is not configured to be used for 'Profile' listings in its Settings OR there is no Profile with that ID OR you do not have permission to access this profile. Please contact the site administrator if you need assistance.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Modifying Profile Error Messages
July 21, 2010, 06:51:00 am

you should try implementing your own custom error handler:

http://drupal.demo.civicrm.org/civicrm/admin/setting/debug?reset=1

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mauricem

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
Re: Modifying Profile Error Messages
July 28, 2010, 12:36:32 am
Thank you.. that points us in the right direction...

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Modifying Profile Error Messages

This forum was archived on 2017-11-26.