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 CiviEvent (Moderator: Yashodha Chaku) »
  • Event registration, Could not find valid Key
Pages: [1]

Author Topic: Event registration, Could not find valid Key  (Read 2121 times)

mr_westie

  • Guest
Event registration, Could not find valid Key
November 24, 2008, 11:22:34 am
Drupal 6.6
CiviCRM 2.1.1
Smfforum 6.x-1.2

PHP version   5.2.6
MySQL version   5.0.67-community


Everything was working fine.
My problems started when host moved servers and we got a new dedicated IP.
Of course it may be unrelated.
That was 48 hours ago.

The first sign of trouble was php memory error.
[img=http://img229.imageshack.us/img229/3341/errorkt4.th.jpg][img=http://img229.imageshack.us/images/thpix.gif]
Sorted with upping the memory limit.
But I suspect it was a sympton of the main problem.

When a user submits an event registration (clicks continue) they get this
Code: [Select]
xxx/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 260
xxx/sites/all/modules/civicrm/CRM/Core/Controller.php, fatal, 194
xxx/sites/all/modules/civicrm/CRM/Core/Controller.php, key, 138
xxx/sites/all/modules/civicrm/CRM/Event/Controller/Registration.php, __construct, 44
xxx/sites/all/modules/civicrm/CRM/Core/Invoke.php(193) : eval()'d code, __construct, 1
xxx/sites/all/modules/civicrm/CRM/Core/Invoke.php, eval, 193
xxx/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 315
, civicrm_invoke,
xxx/includes/menu.inc, call_user_func_array, 348
xxx/index.php, menu_execute_active_handler, 18

Sorry. A non-recoverable error has occurred.
Could not find valid Key

Things I have tried,

Check UID 0 exists.
Clear the cache tables in Drupal and CiviCRM Databases
Clear Drupal sessions table
Clear local cookies
Tried multiple browsers, IE/Firefox/Opera/Chrome
Check BASEURL in both settings are the same. (CiviCRM had a slash, removed)
Disabled Drupal caching. (was never enabled)
remove files from templates_c

Threads I have read
http://forum.civicrm.org/index.php/topic,5478.0.html
http://forum.civicrm.org/index.php/topic,3826.0.html
http://forum.civicrm.org/index.php/topic,2075.0.html
http://forum.civicrm.org/index.php/topic,173.0.html
http://forum.civicrm.org/index.php/topic,1936.0.html
http://forum.civicrm.org/index.php/topic,50.0.html
http://forum.civicrm.org/index.php/topic,1221.0.html


What I am hoping is this is just a dns propagation issue and will sort itself out soon.
Wishful thinking :)


------
Was still reading stuff when I started this thread.
Looks like we have a wiener

http://forum.civicrm.org/index.php/topic,4766.0.html

Was latin1_swedish_ci
changed to utf8_general_ci
Mine was also installed with Fantastico

it only took 6 hrs to find solution :p

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Event registration, Could not find valid Key
November 25, 2008, 01:48:28 am
Thanx for sharing this solution.

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Event registration, Could not find valid Key

This forum was archived on 2017-11-26.