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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Sorry. A non-recoverable error has occurred. Could not find valid Key
Pages: [1]

Author Topic: Sorry. A non-recoverable error has occurred. Could not find valid Key  (Read 16843 times)

Bumbaclaat

  • Guest
Sorry. A non-recoverable error has occurred. Could not find valid Key
May 01, 2007, 05:05:11 pm
When anonymous users try to sign up for an account, sometimes they get the following error:

Sorry. A non-recoverable error has occurred.
Could not find valid Key
Return to CiviCRM menu.


on occasion it works, but most of the time that error comes up..  This is with CiviCRM 1.7 under Drupal 5.1

It's been suggested that this might have something to do with the sessions table so I tried clearing out that table, but it didn't fix it

Bumbaclaat

  • Guest
I think I fixed it
May 01, 2007, 07:47:58 pm
I just re-loaded civicrm_41.mysql and civicrm_data.mysql into the civicrm db.

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Sorry. A non-recoverable error has occurred. Could not find valid Key
May 02, 2007, 01:14:14 am
And it helped?  :)
« Last Edit: May 03, 2007, 02:47:01 am by Michał Mach »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

Bumbaclaat

  • Guest
Re: Sorry. A non-recoverable error has occurred. Could not find valid Key
May 02, 2007, 07:46:48 pm
yes, I meant to say that reloading the DB files seems to have fixed it :)

cardell

  • Guest
Re: Sorry. A non-recoverable error has occurred. Could not find valid Key
May 05, 2007, 01:34:14 pm
I had the same problem, and tried everything listed in the forums. After getting SMTP working, I still was getting the error. With Lobo's help on IRC, I fot it fixed:

In my settings.php I had not entered the $base_url variable. I uncommented this line, put in my base url, and it started working. Also, (per Lobo) you should make sure your base url in settings, civicrm.settings, and resource url all match (i.e. www.aaa.org and not aaa.org).

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: Sorry. A non-recoverable error has occurred. Could not find valid Key
May 05, 2007, 02:06:03 pm
just a minor clarification, all the urls should be either

aaa.org

or

www.aaa.org

either is fine, but using both of them in urls is not and messes with cookies (in both drupal and joomla). Note that the CMS handles setting of the cookie etc and we cannot do much about it

lobo
« Last Edit: May 05, 2007, 02:46:54 pm by Donald 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

chaos21in

  • Guest
Re: Sorry. A non-recoverable error has occurred. Could not find valid Key
May 13, 2007, 11:45:35 pm
Hi,

Almost a month back i upgraded civicrm from 1.5 to 1.7 successfully. And everything was working fine till last night when at the time of user registration it started giving error:

Quote
Sorry. A non-recoverable error has occurred.

Could not find valid Key

Return to CiviCRM menu.

After backtraching it is giving error:
Quote
backTrace

/home/thinkind/public_html/den/modules/civicrm/CRM/Core/Error.php, backtrace, 236
/home/thinkind/public_html/den/modules/civicrm/CRM/Core/Controller.php, fatal, 178
/home/thinkind/public_html/den/modules/civicrm/CRM/Core/Controller.php, key, 132
/home/thinkind/public_html/den/modules/civicrm/CRM/Core/Controller/Simple.php, crm_core_controller, 60
/home/thinkind/public_html/den/modules/civicrm/CRM/Core/BAO/UFGroup.php, crm_core_controller_simple, 467
/home/thinkind/public_html/den/modules/civicrm/drupal/civicrm.module, getedithtml, 440
/home/thinkind/public_html/den/modules/civicrm/drupal/civicrm.module, civicrm_register_data, 352
, civicrm_user,
/home/thinkind/public_html/den/includes/module.inc, call_user_func_array, 386
/home/thinkind/public_html/den/modules/user/user.module, module_invoke, 2437
/home/thinkind/public_html/den/modules/user/user.module, _user_forms, 1182
, user_register,
/home/thinkind/public_html/den/includes/form.inc, call_user_func_array, 218
, drupal_retrieve_form,
/home/thinkind/public_html/den/includes/form.inc, call_user_func_array, 69
, drupal_get_form,
/home/thinkind/public_html/den/includes/menu.inc, call_user_func_array, 418
/home/thinkind/public_html/den/index.php, menu_execute_active_handler, 15

I deleted all session table data also emptied templates_c folder, i also have a user with userid=0 in drupal users table, let me know whats the problem.

I also tried creating whole civicrm database from scratch after importing civicrm_41.mysql . But when i tried to import my data sql (which doesnt have create table statement, and which i backed up just before recreating database) is giving lot of small small error messages while inserting data, e.g. is_opt_out field in civicrm_contact table cannt be NULL, weight in civicrm_custom_field table cannt be NULL etc. So i stopped as i cannt modify all data manually in sql file.

let me know how to fix it.

--rafi






chaos21in

  • Guest
Re: Sorry. A non-recoverable error has occurred. Could not find valid Key
May 14, 2007, 01:33:46 am
Hey i put back the old data with old table structure and after few hours it started working fine again.

I think it may be because of a profile, whose one data field i  changed manually in database earlier to solve another problem. when i put it back as original it worked after few hours.

--rafi

chaos21in

  • Guest
Re: Sorry. A non-recoverable error has occurred. Could not find valid Key
May 14, 2007, 05:04:08 am
hey , it came back to haunt me again after few hours, evenif i disabled that profile completely which i earlier thought was the culprit.

all help will be appreciated in this regard,

--rafi

chaos21in

  • Guest
Re: Sorry. A non-recoverable error has occurred. Could not find valid Key
May 14, 2007, 05:52:25 am
Hi,

i disbaled all the civicrm profile which were at the time of user registeration, i deleted all cache from the browser and also delete the content of cache and cache_content tables in drupal db, i am still getting all profiles at the time of registration and after trying to register it is still saying same error message:

Quote
Sorry. A non-recoverable error has occurred.

Could not find valid Key

Return to CiviCRM menu.

Whats going on?

--rafi

chaos21in

  • Guest
Re: Sorry. A non-recoverable error has occurred. Could not find valid Key
May 14, 2007, 06:13:04 am
Hi,

I disabled whole cache facility in drupal, and now things are working fine...

sorry for bothering you... :-)

--rafi

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Sorry. A non-recoverable error has occurred. Could not find valid Key

This forum was archived on 2017-11-26.