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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrading from 1.6 to 1.7
Pages: [1]

Author Topic: Upgrading from 1.6 to 1.7  (Read 3312 times)

Carlo Landmeter

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 3
Upgrading from 1.6 to 1.7
April 25, 2007, 08:32:38 am
We just upgraded civicrm on drupal 5.1 to version 1.7.beta.9239.
Everything seems to work except the register screen.
When i register as admin from within drupal it doesnt have a problem. But when I logout and try to register an accout i receive this error:
(When i disable Civicrm profile the register screen does work)

unrecoverable error
    Sorry. A non-recoverable error has occurred.

    Could not find valid Key

    Return to CiviCRM menu.

I have enabled Debug and backtrace and this is the output i get from screen (not sure if this helps):

backTrace

/var/www/web9/web/sites/default/modules/civicrm/CRM/Core/Error.php, backtrace, 230
/var/www/web9/web/sites/default/modules/civicrm/CRM/Core/Controller.php, fatal, 175
/var/www/web9/web/sites/default/modules/civicrm/CRM/Core/Controller.php, key, 129
/var/www/web9/web/sites/default/modules/civicrm/CRM/Core/Controller/Simple.php, __construct, 59
/var/www/web9/web/sites/default/modules/civicrm/CRM/Core/BAO/UFGroup.php, __construct, 462
/var/www/web9/web/sites/default/modules/civicrm/drupal/civicrm.module, getEditHTML, 439
/var/www/web9/web/sites/default/modules/civicrm/drupal/civicrm.module, civicrm_register_data, 351
, civicrm_user,
/var/www/web9/web/includes/module.inc, call_user_func_array, 386
/var/www/web9/web/modules/user/user.module, module_invoke, 2437
/var/www/web9/web/modules/user/user.module, _user_forms, 1182
, user_register,
/var/www/web9/web/includes/form.inc, call_user_func_array, 218
, drupal_retrieve_form,
/var/www/web9/web/includes/form.inc, call_user_func_array, 69
, drupal_get_form,
/var/www/web9/web/includes/menu.inc, call_user_func_array, 418
/var/www/web9/web/index.php, menu_execute_active_handler, 15



TIA,

Carlo

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: Upgrading from 1.6 to 1.7
April 25, 2007, 11:56:44 am

1. Can u make sure you have emptied the session table and cleared out the templates

2. If the above does not work, can u get on IRC. The error is in new code and i'd like to figure out whats happening and why

thanx

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

Carlo Landmeter

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 3
Re: Upgrading from 1.6 to 1.7
April 25, 2007, 03:18:17 pm
Thanks to Donald i was able to solve this issue (damn this guy is fast :) ).

It seems that Drupal's user_import module deleted the anonymous user id (uid 0).
Because this user does not exists anymore the session is messed up and civicrm and drupal don't like this.

By adding a new uid 0 to the users table in drupal the issue is fixed.

Example:

INSERT INTO `users` VALUES (0, '', '', '', 0, 0, 0, '', '', 0, 0, 0, 0, NULL, '', '', '', NULL);

Thanks again Donald.

Carlo
« Last Edit: April 25, 2007, 11:26:13 pm by clandmeter »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrading from 1.6 to 1.7

This forum was archived on 2017-11-26.