Body: <p>Getting '<strong>We can't load the requested web page</strong>' error when some one first accessing event registration page if language parameter(lcMessages) included in the URL.
  I checked the session values, qfPrivateKey and qfSessionID not set to the session,so <strong>key</strong> validate failed on page submit, Also <strong>$_SESSION['CiviCRM']</strong> having only lcMessages no other values.
  Added print statement in set() function in <em>CRM\Core\Session.php</em> to print $_SESSION but added value not there in session.</p>
  
  <blockquote>
    <p>$session[$name] = $value;
          <br/> print_r($_SESSION);</p>
  </blockquote>
  
  <p>CiviCRM: 4.6.2, Drupal: 7.44</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-31T15:40:28.527Z
Comments.Text: Does this problem happen on newer versions? lcMessages code was changed up quite a bit on Civi 4.7, so the answer is probably to try upgrading a test site.
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-02-03T05:37:51.980Z
Comments.Text: Thanks!. I didn't update my code to latest version, checked the file difference between my version and Civi 4.7.3 but not much difference at file(ConfigSetting.php, Session.php) level.
Comments.UserDisplayName: user1536854
Tags: <civievent>
Title: We can't load the requested web page on event registration page
ThreadText: # We can't load the requested web page on event registration page
  
  (Asked by: username_0 on 2017-01-30)
  
  Getting '**We can't load the requested web page**' error when some one first accessing event registration page if language parameter(lcMessages) included in the URL.
  I checked the session values, qfPrivateKey and qfSessionID not set to the session,so **key** validate failed on page submit, Also **$\_SESSION['CiviCRM']** having only lcMessages no other values.
  Added print statement in set() function in *CRM\Core\Session.php* to print $\_SESSION but added value not there in session.
  
  > $session[$name] = $value;
  >   
  >  print\_r($\_SESSION);
  
  CiviCRM: 4.6.2, Drupal: 7.44
  
  **Tags:** civievent
  
  > **Comments:**
  > **username_1**: Does this problem happen on newer versions? lcMessages code was changed up quite a bit on Civi 4.7, so the answer is probably to try upgrading a test site.  
  > **username_0**: Thanks!. I didn't update my code to latest version, checked the file difference between my version and Civi 4.7.3 but not much difference at file(ConfigSetting.php, Session.php) level.  
  
  ---
  
  ## 0 answers
  
  