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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • How to debug session error
Pages: [1]

Author Topic: How to debug session error  (Read 263 times)

krypto

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 5
  • IT guy for @bhahumanists. Running Civi on WP.
    • British Humanist Association
  • CiviCRM version: 4.5.8
  • CMS version: WordPress 4.x
  • MySQL version: 5.5.x
  • PHP version: 5.5.x
How to debug session error
August 03, 2014, 01:13:16 pm
Hi,

We have an intermittent problem where Civi stops responding for a user until they delete the session cookie. I haven't been able to figure out any pattern, so I can't yet make it happen - it just sometimes does.

Any ideas on how I could start tracking this one down? I've got as far as outputting the content of the session variable, but I can't see anything obviously amiss. Bit stumped atm.

Cheers,

Andrew

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: How to debug session error
August 04, 2014, 08:30:57 am
Hi Andrew,

The issue might not be with the values stored in the session variable, but information stored in a session table.  I assume the CMS keeps working fine?  Assuming you're running Apache, I'd check Apache's error.log for useful information.  You can also turn on debugging and backtraces in Civi's Administer menu > System Settings > Debugging and Error Handling.
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

krypto

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 5
  • IT guy for @bhahumanists. Running Civi on WP.
    • British Humanist Association
  • CiviCRM version: 4.5.8
  • CMS version: WordPress 4.x
  • MySQL version: 5.5.x
  • PHP version: 5.5.x
Re: How to debug session error
August 05, 2014, 04:56:30 am
Actually it takes down WordPress too. WP doesn't use PHP sessions, though, so I'm fairly sure it's a Civi thing.

No errors in the logs that match the timestamps, sadly.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • How to debug session error

This forum was archived on 2017-11-26.