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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Session doesnt have 'id' and tabs doesnt work
Pages: [1]

Author Topic: Session doesnt have 'id' and tabs doesnt work  (Read 920 times)

mantas

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: drupal 6
  • MySQL version: 5.1
  • PHP version: 5.3
Session doesnt have 'id' and tabs doesnt work
June 04, 2012, 10:00:21 am
Hey all

I have some issue, problem might be too general, but maybe somebody could should a right way :)
First I should say that  I had customized 3.2 with some redefined classes and now it is updated to 4.1

Now about issues, when I go to civicrm/event/manage/settings?reset=1&action=update&id=some_id
And go for example to fees or other tab and click save in code "id" is not retrieved and new record is created instead of old updated.
It happens because in
CRM_Event_Form_ManageEvent->preProcess
this line: $this->_id = CRM_Utils_Request::retrieve( 'id', 'Positive', $this, false );     
returns empty value, because it tries to get id from get, but it is not there. and then it tries to get from session, but in session it is also not set.
Maybe someone know where the issue could be or where I those values are set to session?

Thanks
Mantas

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: Session doesnt have 'id' and tabs doesnt work
June 04, 2012, 08:54:26 pm

Upgrade to 4.1.2

this was a bug in prior versions of 4.1

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Session doesnt have 'id' and tabs doesnt work

This forum was archived on 2017-11-26.