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 »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • ***Solved*** Sorry. A non-recoverable error has occurred.
Pages: [1]

Author Topic: ***Solved*** Sorry. A non-recoverable error has occurred.  (Read 3034 times)

brandenallmon

  • Guest
***Solved*** Sorry. A non-recoverable error has occurred.
March 09, 2010, 12:38:00 pm
I get this error on a Joomla installation of CiviCRM for an event registration. It is intermittent and does not occur all the time for everyone.



Sorry. A non-recoverable error has occurred.

We can't load the requested web page. This page requires cookies to be enabled in your browser settings. Please check this setting and enable cookies (if they are not enabled). Then try again. If this error persists, contact the site adminstrator for assistance.

Error type: Could not find a valid key.

Return to home page.



*** This was problems between having http://www and just http://, I have setup a redirect on my site so only anytime the www is left off it will be redirected to use the www and this has solved the problem.***
« Last Edit: April 09, 2010, 08:33:02 am by brandenallmon »

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Sorry. A non-recoverable error has occurred.
March 09, 2010, 01:05:45 pm
the valid key error generally suggests that your session is timing out. the default session length in joomla is 15 min, which is rather short. it means if you visit a page like this in which it's interacting with the session, then return 20 min. later to complete the form, you'll get this error (it happens with drupal too, but less frequently as drupal has longer default session times).

try going into the joomla global config and change your session to something longer (e.g. 300 min.) and see if the error reoccurs.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

redgar

  • I’m new here
  • *
  • Posts: 26
  • Karma: 2
    • NJ Libertarian Party
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 2.5.27
Re: Sorry. A non-recoverable error has occurred.
March 30, 2010, 02:08:33 pm
I found that some users were having this problem and some were not. It turns out that those people who would include the www. in front of the web page were the ones having the problem. What happens is that when they first go to the website a cookie is stored on their computer that is assigned to www.xyz.org. Then when they are using civicrm a link takes them to a page that doesn't have the www.  I fixed this problem my configuring .htaccess to automatically forward to the page without the www. extension.

I added to the beginning of .htaccess (replace xyz.org with your website):

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.xyz.org$ [NC]
RewriteRule ^(.*) http://xyz.org/$1 [R,L]

My guess is that you should also check the global settings -> resource URL's to see if you should redirect to without the www or with the www. (i.e. if your resource URL's don't have the www redirect the page to without, as above. If they do either change the resource URL's or redirect the other way around).

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • ***Solved*** Sorry. A non-recoverable error has occurred.

This forum was archived on 2017-11-26.