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 CiviContribute (Moderator: Donald Lobo) »
  • Error with CiviContribute page: Error Type: Cannot find a valid key
Pages: [1] 2

Author Topic: Error with CiviContribute page: Error Type: Cannot find a valid key  (Read 2780 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Error with CiviContribute page: Error Type: Cannot find a valid key
June 17, 2010, 03:53:01 pm
 When a user tries to make a membership payment on a CiviContribute page, they get the error in the attached screen print. Some people always get this error, other people never get it. ( Cookies are not disabled, they are using IE 8 on Windows XP )

The URL of the page with the error: http://www.hostname.org/index.php?option=com_civicrm&task=civicrm/contribute/transact&

This is under Joomla + CiviCRM 3.1.3

Any ideas of what I can investigate?
« Last Edit: June 17, 2010, 03:55:51 pm by sgladstone »
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

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: Error with CiviContribute page: Error Type: Cannot find a valid key
June 22, 2010, 01:08:18 am
Can you check if your UF base url is

http://www.hostname.org instead of http://hostname.org

Can you also check if
http://hostname.org/index.php?option=com_civicrm&task=civicrm/contribute/transact&id=1&reset=1 works

Kurund

Found this reply helpful? Support CiviCRM

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Error with CiviContribute page: Error Type: Cannot find a valid key
June 22, 2010, 09:03:42 pm
I checked the civi settings file for both Joomla front end and back end:

public front end:  define( 'CIVICRM_UF_BASEURL'      , 'http://www.mygroup.org/' );
backend:           define( 'CIVICRM_UF_BASEURL'      , 'http://www.mygroup.org/administrator/' );


The url: http://mynertamid.org/index.php?option=com_civicrm&task=civicrm/contribute/transact&id=1&reset=1 works for me.

However, this issue has been frustrating in that some people have the error, and some do not.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Error with CiviContribute page: Error Type: Cannot find a valid key
June 24, 2010, 06:22:54 pm
I took out the "www" out of the settings for CIVICRM_UF_BASEURL, and the problem is fixed.

Thanks
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Error with CiviContribute page: Error Type: Cannot find a valid key
July 02, 2010, 08:36:27 pm
Problem wasn't fixed for everyone, however I found the real problem:

The organization had registered 3 extra domains ( without letting me know ) and had them all "parked" at the main website with CiviCRM.   So people would use one of the parked domain names, which allowed them to navigate and use most of the website. But due to the domain mismatch on the cookies, donation and event signup form submits failed.

I changed all the "parked" domains to be redirected to the primary domain, and now the problem is 100% gone.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Error with CiviContribute page: Error Type: Cannot find a valid key
July 06, 2010, 03:09:50 pm
Sarah - thx for reporting back on this. Since it seems that this error is often caused by issues w/ multiple domains or URLs / machine names - I've updated the fatal error msg to include some info on this. Hopefully it helps others.
Protect your investment in CiviCRM by  becoming a Member!

Yoda_Oz

  • I post occasionally
  • **
  • Posts: 107
  • Karma: 2
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.22
Re: Error with CiviContribute page: Error Type: Cannot find a valid key
July 12, 2010, 08:46:15 pm
i have an apache redirect and i had a person complain about this error today. admittedly they said they are not tech savvy so could it just be they have an old version of IE or perhaps they dont actually have cookies enabled?

civi version 3.1.5.

pd

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
    • Cherubini Designs
Re: Error with CiviContribute page: Error Type: Cannot find a valid key
July 15, 2010, 02:22:03 pm
Quote from: sgladstone on June 24, 2010, 06:22:54 pm
I took out the "www" out of the settings for CIVICRM_UF_BASEURL, and the problem is fixed.

I've tried this and it didn't work, took it out no luck, added it, I've even added a redirect to .htacces and still no luck.

RewriteCond %{HTTP_HOST} ^site\.org [NC]
RewriteRule ^(.*) http://www.site.org/$1 [R=301,L]

Any other ideas.  I'm ready to go but no one can make payments.  I'll keep looking.

Thanks.

pd

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
    • Cherubini Designs
Re: Error with CiviContribute page: Error Type: Cannot find a valid key
July 20, 2010, 02:55:15 pm
Any other ideas?  I've tried everything mentioned here but can't get anything to go to the payment page. 

Thanks.

Yoda_Oz

  • I post occasionally
  • **
  • Posts: 107
  • Karma: 2
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.22
Re: Error with CiviContribute page: Error Type: Cannot find a valid key
July 20, 2010, 03:00:50 pm
im getting this now intermittently. ive done the htaccess redirect. but nothing changes from when it works to when it doesn't. anyone have any ideas as to why it might happen only occasionally?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Error with CiviContribute page: Error Type: Cannot find a valid key
July 22, 2010, 09:32:40 am
Quote from: pd on July 20, 2010, 02:55:15 pm
Any other ideas?  I've tried everything mentioned here but can't get anything to go to the payment page. 

Thanks.

If the error happens "all the time" - then might help to share the URL here so others can eyeball it and the results and see if that turns up some more ideas.
Protect your investment in CiviCRM by  becoming a Member!

pd

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
    • Cherubini Designs
Re: Error with CiviContribute page: Error Type: Cannot find a valid key
July 24, 2010, 09:56:15 am
Yes it happens all the time.

http://www.comm-dev.org/index2.php?option=com_civicrm&task=civicrm/contribute/transact&reset=1&id=6

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: Error with CiviContribute page: Error Type: Cannot find a valid key
July 24, 2010, 01:50:20 pm
When the form is submitted url changes from

http://www.comm-dev.org/index2.php?....

to

http://www.comm-dev.org/index.php?......

So can you check your joomla settings for this behavior..

Kurund
Found this reply helpful? Support CiviCRM

pd

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
    • Cherubini Designs
Re: Error with CiviContribute page: Error Type: Cannot find a valid key
July 25, 2010, 08:17:15 am
I don't see that.  Is that just the url where the error page is for you? 

This is what I get http://www.comm-dev.org/index.php?option=com_civicrm&task=civicrm/contribute/transact&

Thanks for your help.

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: Error with CiviContribute page: Error Type: Cannot find a valid key
July 25, 2010, 09:58:37 pm
Can you try creating an menu item instead of using below url.
Quote
http://www.comm-dev.org/index.php?option=com_civicrm&task=civicrm/contribute/transact&reset=1&id=6

Check http://wiki.civicrm.org/confluence/display/CRMDOC/Displaying+Online+Contribution+Pages+in+Joomla!+Frontend+Sites

HTh
Kurund
Found this reply helpful? Support CiviCRM

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Error with CiviContribute page: Error Type: Cannot find a valid key

This forum was archived on 2017-11-26.