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) »
  • Invalid Key in Contribute/Event Registration
Pages: [1]

Author Topic: Invalid Key in Contribute/Event Registration  (Read 1227 times)

leahb

  • Guest
Invalid Key in Contribute/Event Registration
May 27, 2009, 11:54:45 am
I enabled Search Engine Friendly URLS on my site a few weeks ago - not thinking that they would mess with CiviCRM.  Now when someone is trying to go through online contributions, they get a "Invalid Key" screen.

Does anyone know how to fix this?  Can civiCRM run with SEF Urls?  I really need it to if at all possible.  Everything worked fine before.

leahb

  • Guest
Re: Invalid Key in Contribute/Event Registration
May 27, 2009, 03:47:31 pm
I removed SEF, and I still am getting the error.  What gives?

Please help  - my site is live and I really need it to be working as we generate a decent amount of traffic.

leahb

  • Guest
Re: Invalid Key in Contribute/Event Registration
May 27, 2009, 05:05:05 pm
on further research - the issue is only in Firefox... not IE.

Any ideas?

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: Invalid Key in Contribute/Event Registration
May 27, 2009, 06:12:33 pm

someone will need to login and take a look at whats happening and why. if it was fine pre-sef modules, seems like there is still some remnants around causing an issue

your best bet might be to hire someone from http://civicrm.org/professional/

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

leahb

  • Guest
Re: Invalid Key in Contribute/Event Registration
June 03, 2009, 06:10:34 am
Thanks Donald -

Brian with Lighthouse Consulting (http://www.lcdservices.biz/) and Design assisted me - I recommend him to anyone - he works with Joomla.  He was very quick in responding and very helpful in resolving my issue- here is what the problem was (I had seen this before on forums, but for some reason couldn't fix myself, so he added codes to htaccess):

It wasn't *really* a Civi problem. The url you provided did not use the www. form. Because you're using SSL for the site, Civi treats the root domain and www. form as two different urls (this is a product of the nature of SSL, which is very specific in how it defines domains that are secured under a certificate). So what was happening is that you directed people to http://ncheroes.org... for the event registration, the Civi session key was defined, but after pressing continue, they were directed to http://www.ncheroes.org... and Civi no longer recognized the registered session key. The reason it redirects to www. once you click continue is that in your Civi configuration settings file, the resource url is defined as the www. form, so that is what Civi uses for any internal redirects.
 
I added a couple lines to your htaccess file so that any use of the root domain redirects to the www. form.


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Invalid Key in Contribute/Event Registration

This forum was archived on 2017-11-26.