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) »
  • "Could not find valid Key" when submitting profile form
Pages: [1]

Author Topic: "Could not find valid Key" when submitting profile form  (Read 1375 times)

subkult

  • Guest
"Could not find valid Key" when submitting profile form
January 18, 2010, 06:07:58 pm
I have created two profiles one for volunteer sign up and one for newsletter sign up. When either of them are filled out on my Joomla frontend and submitted I get the following error:
Quote
Sorry. A non-recoverable error has occurred.
Could not find valid Key

this only occures when the form is submitted thru the www.mydomain.com and not mydomain.com. I checked the civicrm.settings.php and changed the base URL to www.mydomain.com and changed the global settings in CiviCRM to reflect the same. I also did an "update directory and URL" from Administer CiviCRM. I have deleted one profile and recreated it hoping that would work, but to no avail. What am I missing here. I have done a search in this forum for "valid Key" and found no answer.

Please advise. Thank you in advance for assistance. I'm using Joomla 1.5.15 and CiviCRM 3.0.3

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: "Could not find valid Key" when submitting profile form
January 18, 2010, 06:39:03 pm
Did your rebuild menus?

http://<sitename>/administrator/index2.php?option=com_civicrm&task=civicrm/menu/rebuild?reset=1

Hth
Kurund
Found this reply helpful? Support CiviCRM

subkult

  • Guest
Re: "Could not find valid Key" when submitting profile form
January 18, 2010, 08:04:12 pm
I ran the script you posted with www.mydomain.com in place of the <sitename>. it took me to the CiviCRM start page with no errors so I am assuming things went correctly. I'm still getting the same error. When I mouse over the "save" and "cancel" buttons, the bottom bar on my browser shows the url to still be http://<mydomain.com>/index.php?option=com_civicrm&task=civicrm/profile/create&
Could this be the problem? Is there a way to rebuild the buttons?

Thank you in advance.

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: "Could not find valid Key" when submitting profile form
January 18, 2010, 08:26:39 pm
You should follow these steps:
1. Update Base url in civicrm.settings.php in front-end and also back-end
- components/com_civicrm/civicrm.settings.php
- administrator/components/com_civicrm/civicrm.settings.php

2. Update Resource Urls
    Global Settings >> Resource URLs

3. Rebuild menu
    http://<sitename>/administrator/index2.php?option=com_civicrm&task=civicrm/menu/rebuild?reset=1

If above does not solve, try deleting media/civicrm/templates_c folder.

HTh

Kurund
Found this reply helpful? Support CiviCRM

subkult

  • Guest
Re: "Could not find valid Key" when submitting profile form
January 18, 2010, 09:32:25 pm
Thank you, thank you, thank you. I did not realize that there were two civicrm.settings.php. That did the trick. Again, thank you for your help.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • "Could not find valid Key" when submitting profile form

This forum was archived on 2017-11-26.