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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • [solved] Edit Profile form action not being set correctly
Pages: [1]

Author Topic: [solved] Edit Profile form action not being set correctly  (Read 1313 times)

ClayWhipkey

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
[solved] Edit Profile form action not being set correctly
March 25, 2008, 03:04:35 pm
I got this error and found many topics on this forum mentioning it, but none of the advised steps seem to fix it.  I believe I have discovered the issue. [Joomla 1.13 - CiviCRM 1.9]

I have created a profile for individuals for them to be able to update their own contact information.  I have checked both "Profile" and "Search Results" in the profile settings, and the profile itself is active.  All the fields in the profile are searchable and in the selector, and are set to Public User Pages and Listings.  I followed the steps listed in the wiki, and I am able to login with a normal registered user and see my information in the edit profile form.  However, when I submit the form with changes, I get the famous This profile is not configured for the requested action. error.  Other topics suggested that this can happen if the use for Profile box is not checked, but it is here.  The other suggestion is that perhaps the gid for the profile is not getting carried through.

Sure enough, when I look at the action of the form, it ends with "option=com_civicrm&task=civicrm/profile/edit&".  It would seem to me that the URL should also contain the reset=1 and gid=N in that querystring or else when the form is submitted it will not know which profile you are using.  I am having a doozy of a time finding the place in the code where that action is even set.

Any ideas?
« Last Edit: March 25, 2008, 03:58:38 pm by ClayWhipkey »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Edit Profile form action not being set correctly
March 25, 2008, 03:50:05 pm
Have you modified your index.php to support CiviCRM sessions as described in step 3 on this page:

http://wiki.civicrm.org/confluence/display/CRMDOC/Configuring+Front-end+Profile+Listings+and+Forms+in+Joomla%21+Sites
Protect your investment in CiviCRM by  becoming a Member!

ClayWhipkey

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Re: Edit Profile form action not being set correctly
March 25, 2008, 03:58:10 pm
Haha.  You are the man.  I had done that step, but I forgot to promote that file to the server I was testing on.  Once I updated the index.php file, I was able to submit the form successfully.  Thanks so much!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • [solved] Edit Profile form action not being set correctly

This forum was archived on 2017-11-26.