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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Error accessing form/profile via link/checksum if multi-value field is included
Pages: [1]

Author Topic: Error accessing form/profile via link/checksum if multi-value field is included  (Read 737 times)

jltorres

  • I’m new here
  • *
  • Posts: 7
  • Karma: 4
  • CiviCRM version: 4.6
  • CMS version: Drupal 7
Error accessing form/profile via link/checksum if multi-value field is included
July 30, 2013, 06:11:31 pm
http://mydomain.org/civicrm/profile/edit?reset=1&gid=13&id={###}&cs={####}

I have a profile that I intend to link to from a civimail email blast with a link to the profile and checksum token. The profile includes a custom data field that can have multiple records.  If i click on the link and I am logged in.  The page loads just fine. If i am not logged in and I follow the link i get this:

Code: [Select]
Fatal error: Only variables can be passed by reference in XXXXX/sites/all/modules/civicrm/CRM/Core/Action.php on line 230
The contacts that will be reciving this email do not have logins and we don't intend to create logins. We do however want to give them access to changing some basic information we have by clicking an "update your profile" link. Additionally, I think the reason it works when I am logged in, is because I have the edit all contacts permission. Any other user still gets the error. I tested with a "guest" account with the edit all contacts persmission, and it worked. I however cannot keep it that way. Its a simple matter of changing the ID in the url to get a lot more data that can be edited.

CiviCRM 4.3.5
Drupal 7.22


Any help would be great.



« Last Edit: July 30, 2013, 06:17:50 pm by jltorres »

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: Error accessing form/profile via link/checksum if multi-value field is included
July 30, 2013, 08:50:33 pm

i took a look at the code and cannot figure out why u r getting the above error

can u edit that file and line and see if you can narrow down the reason for that fatal error

thx

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Error accessing form/profile via link/checksum if multi-value field is included

This forum was archived on 2017-11-26.