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) »
  • Valid Session Key Error with Event Registration or Edit Participant
Pages: [1]

Author Topic: Valid Session Key Error with Event Registration or Edit Participant  (Read 688 times)

libkuman

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
Valid Session Key Error with Event Registration or Edit Participant
May 21, 2014, 06:43:41 pm
Currently running Civicrm 4.4.4 and drupal 6.31.

So i have an event, and i have two fields that are in the included profiles that are file upload fields. All is fine if i only submit one of them, but if i happen to submit two files I get the error below. This happens whether I"m actually registering or going back and editing the Participant record.

I can upload and submit a file fine if i do either the first field or the second field, its just when i do both together that I get this error.

May 21 18:33:57  [info] $Fatal Error Details = Array
(
    [message] => 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.<br /><br />Site Administrators: This error may indicate that users are accessing this page using a domain or URL other than the configured Base URL. EXAMPLE: Base URL is http://example.org, but some users are accessing the page via http://www.example.org or a domain alias like http://myotherexample.org.<br /><br />Error type: Could not find a valid session key.
   
Code: [Select]
=>
)


May 21 18:33:57  [info] $backTrace = #0 /web/artspan.org/www/sites/all/modules/civicrm/CRM/Core/Error.php(322): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /web/artspan.org/www/sites/all/modules/civicrm/CRM/Core/Controller.php(826): CRM_Core_Error::fatal("We can't load the requested web page. This page requires cookies to be enable...")
#2 /web/artspan.org/www/sites/all/modules/civicrm/CRM/Core/Controller.php(821): CRM_Core_Controller->invalidKeyCommon()
#3 /web/artspan.org/www/sites/all/modules/civicrm/CRM/Core/Controller.php(307): CRM_Core_Controller->invalidKey()
#4 /web/artspan.org/www/sites/all/modules/civicrm/CRM/Core/Controller.php(206): CRM_Core_Controller->key("CRM_Event_Form_Participant", TRUE, FALSE)
#5 /web/artspan.org/www/sites/all/modules/civicrm/CRM/Core/Controller/Simple.php(63): CRM_Core_Controller->__construct("Create Participation", TRUE, 2, "CRM_Event_Form_Participant", FALSE, FALSE)
#6 /web/artspan.org/www/sites/all/modules/civicrm/CRM/Event/Page/Tab.php(109): CRM_Core_Controller_Simple->__construct("CRM_Event_Form_Participant", "Create Participation", 2)
#7 /web/artspan.org/www/sites/all/modules/civicrm/CRM/Event/Page/Tab.php(175): CRM_Event_Page_Tab->edit()
#8 /web/artspan.org/www/sites/all/modules/civicrm/CRM/Core/Invoke.php(323): CRM_Event_Page_Tab->run((Array:4), NULL)
#9 /web/artspan.org/www/sites/all/modules/civicrm/CRM/Core/Invoke.php(72): CRM_Core_Invoke::runItem((Array:12))
#10 /web/artspan.org/www/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))
#11 /web/artspan.org/www/sites/all/modules/civicrm/drupal/civicrm.module(405): CRM_Core_Invoke::invoke((Array:4))
#12 [internal function](): civicrm_invoke("contact", "view", "participant")
#13 /web/artspan.org/www/includes/menu.inc(350): call_user_func_array("civicrm_invoke", (Array:3))
#14 /web/artspan.org/www/index.php(17): menu_execute_active_handler()
#15 {main}

libkuman

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
Re: Valid Session Key Error with Event Registration or Edit Participant
May 23, 2014, 06:16:46 am
i'm pretty sure this is file size related, the max upload in php info is 5M, if i upload two 4M files all is good, if i upload one 5.2M file, all is good, if i upload two 5.2M file it dies.  I think civi just chokes when php rejects an upload


Seems Civi out of the box has no mechanism to limit files sized on upload fields, maybe i'll try the validate hook given here:

http://forum.civicrm.org/index.php/topic,24142.msg103824.html#msg103824

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Valid Session Key Error with Event Registration or Edit Participant

This forum was archived on 2017-11-26.