Web Design in Toronto by Elehost Web DesignElehost Web Design Inc.

Toronto Web Design by ElehostCompassionate Web Design

Web Design That Works!
 

Welcome to a Toronto web design and web hosting firm focused on outstanding design and customer support.  We offer a wide range of high quality Internet services including custom web page design, e-commerce programming and web hosting. Please call to see how Elehost can work for you.

Call Us Today

Please E-mail all questions and comments to support@elehost.com

Call us today at (877) ELE - HOST
(877) 353-4678 or (416) 203-6798

Let us be your helping hand to design a working web design. We are here to help.

Elehost is a Toronto web design and hosting company.

Home FAQ Web Tool Tips and Fixes CiviCRM Fix for CiviCRM “Could not find valid key” error
Fix for CiviCRM “Could not find valid key” error PDF Print E-mail
Written by Paul MacKenzie   
Wednesday, 07 October 2009 09:24


In the process of implemting CiviCRM within Citizen's For Clean Air's Joomla website I ran into the following problem.

 

Sorry. A non-recoverable error has occurred.

Could not find valid Key


 

I searched on-line and saw a bit of information dealing with a few unrelated topics.

After some searching I was able to reproduce the problem with cookies disabled on the browser but not any other way.

I then saw a few posts that the url migt be realted to this problem and the site was configured for both www and without www in the url. With a little more testing this indeed turns out to be the case.

If you load up the site without www, and then submit the CiviCRM form it appends the www to the form submission location and brings up the error.

To fix this I added an entry into the .htaccess file as follows:

 

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


 

This solved my problem by forcing all access to http://c4ca.org to be redirected to http://www.c4ca.org. I hope this help to solve other people's issues when working with CiviCRM.

Last Updated on Monday, 18 January 2010 18:28
 

Opening the Mind

"When we deny that other animals show compassion, it's easier not to show it ourselves. The question is not whether nonhumans can be altruistic, but the extent to which humans can. Believing themselves morally superior to nonhuman animas, speciests are particularly immoral; they selfishly seek to preserve massive injustice and abuse."

Animal Equality by Joan Dunayer