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) »
  • Profile editing using Civimail checksum gives "Component not found" error
Pages: [1]

Author Topic: Profile editing using Civimail checksum gives "Component not found" error  (Read 4337 times)

lsmithgo

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 2
    • Soirees at Breinton
  • CiviCRM version: 4.5 beta 7
  • CMS version: Joomla 3.3.3
  • MySQL version: MySQLi 5.5.37-percona-sure1-log
  • PHP version: PHP 5.3.28
Profile editing using Civimail checksum gives "Component not found" error
October 07, 2009, 04:01:31 pm
I have successfully sent an email from Civimail which changes my tokenised text:
  Dear {contact.addressee}
  this is a test
  please visit http://[site]/civicrm/profile/edit?reset=1&gid=15&id={contact.contact_id}&{contact.checksum}

to:
  Dear test
  this is a test
  please visit http://[site]/civicrm/profile/edit?reset=1&gid=15&id=1&cs=d3e0aaadeefece7402ca10955746ec90_1254955436_168

However, the link doesn't work, I get the following message from my site:

404 - Component not found

You may not be able to visit this page because of:

   1. an out-of-date bookmark/favourite
   2. a search engine that has an out-of-date listing for this site
   3. a mistyped address
   4. you have no access to this page
   5. The requested resource was not found.
   6. An error has occurred while processing your request.[/flash]


(etc)

Am I doing something wrong?


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: Profile editing using Civimail checksum gives "Component not found" error
October 07, 2009, 07:39:22 pm

you'll need to fix the url for joomla, should be more like:

http://joomla.demo.civicrm.org/index.php?option=com_civicrm&task=civicrm/profile/create&reset=1&gid=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

lsmithgo

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 2
    • Soirees at Breinton
  • CiviCRM version: 4.5 beta 7
  • CMS version: Joomla 3.3.3
  • MySQL version: MySQLi 5.5.37-percona-sure1-log
  • PHP version: PHP 5.3.28
Re: Profile editing using Civimail checksum gives "Component not found" error
October 08, 2009, 03:54:01 am
Thanks... but now I am confused between profile/edit, profile/create and profile/view

I have a CiviCRM user that is not set up as a Joomla user.

If I use

  • profile/view :  their information is correctly displayed from CiviCRM though of course they cannot change it
  • profile/create :  a blank form is displayed and their current information is not shown
  • profile/edit :  doesn't work, just displays the site home page.  If I then click 'back', I get the error message "You do not have permission to edit this contact record. Contact the site administrator if you need assistance"

What I am trying to do is:
  • Send a link to a user who is a CiviCRM contact, but no Joomla user account
  • Display their contact information, allow them to correct it
  • Force them to enter a Joomla user id/password
  • Take them on to an Event Registration screen

Is this possible?

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: Profile editing using Civimail checksum gives "Component not found" error
October 08, 2009, 07:23:11 am

Do u include 'cs=LONG_32_char_md5_string' parameter in the profile/edit link? You definitely need to do that, to get the edit link to work

You might want to contact peter d from NZ and support this effort: http://forum.civicrm.org/index.php/topic,10204.msg43693.html#msg43693

You can set up a profile to redirect to an event registration page on completion. The joomla user/password can be collected on a profile (and also in event registration)

Once you get the below setup, can you post a recipe so other folks can use it

thanx
]
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

lsmithgo

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 2
    • Soirees at Breinton
  • CiviCRM version: 4.5 beta 7
  • CMS version: Joomla 3.3.3
  • MySQL version: MySQLi 5.5.37-percona-sure1-log
  • PHP version: PHP 5.3.28
Re: Profile editing using Civimail checksum gives "Component not found" error
October 08, 2009, 07:28:32 am
the full link is this:

http://www.breinton.com/index.php?option=com_civicrm&task=civicrm/profile/edit&reset=1&gid=15&id=428&cs=5705a790a8322fc9fecb364fed537d6f_1254996491_168

so, yes, includes the cs string

however the above is routed to my home page

Have reached out to peter

lsmithgo

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 2
    • Soirees at Breinton
  • CiviCRM version: 4.5 beta 7
  • CMS version: Joomla 3.3.3
  • MySQL version: MySQLi 5.5.37-percona-sure1-log
  • PHP version: PHP 5.3.28
Re: Profile editing using Civimail checksum gives "Component not found" error
October 08, 2009, 01:43:10 pm
So I have now tried the same thing on the demo site

the email generated by CiviMail contains a link to:

http://joomla.demo.civicrm.org/index.php?option=com_civicrm&task=civicrm/profile/edit&gid=1&reset=1&id=106&cs=0e4545e7c94bb5bc92c809103ddb3018_1255034250_168

Which is calling the "Name and Address" profile for the user.

The above URL generates the same error that I'm seeing on my site - that is, it doesn't do anything except display the root web page, ie http://joomla.demo.civicrm.org/

Changing it from "edit" to "create" gives the same issue I reported before:  "You do not have permission to edit this contact record. Contact the site administrator if you need assistance."

lsmithgo

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 2
    • Soirees at Breinton
  • CiviCRM version: 4.5 beta 7
  • CMS version: Joomla 3.3.3
  • MySQL version: MySQLi 5.5.37-percona-sure1-log
  • PHP version: PHP 5.3.28
Re: Profile editing using Civimail checksum gives "Component not found" error
October 14, 2009, 05:04:12 am
Logged an issue (#5228) as I can recreate in the demo environment

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Profile editing using Civimail checksum gives "Component not found" error
October 15, 2009, 11:11:04 am
We have fixed this issue. You can get the patch from: http://fisheye2.atlassian.com/changelog/CiviCRM?cs=24256

Can you please test this and let us know if it works for you.

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Profile editing using Civimail checksum gives "Component not found" error

This forum was archived on 2017-11-26.