Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Session destroyed warning

Hi, 

I try to export the open and closed ticket using the popup advanced filter and then "view" to have all ticket on the list and then download them but I have the Warning: session_start(): Failed to decode session object. Session has been destroyed in /var/www/html/include/class.ostsession.php on line 62
I didn't have this kind of issue before using server with PHP 5.x but changing to PHP 7 the error has started displaying.

any suggest?

Thanks.

Comments

  • osTicket does not support PHP7 at this time.  You will need to downgrade your PHP to 5.5 or 5.6.
  • edited August 8
    Hi ntozier!
    I'm having the exact same problem, except that I'm using php 5.6!

    PHP Warning:  session_start(): Failed to decode session object. Session has been destroyed in /site_path/include/class.ostsession.php on line 86, referer: https://site_url/scp/
    PHP Stack trace:, referer: https://site_url/scp/
    PHP   1. {main}() /site_path/scp/tickets.php:0, referer: https://site_url/scp/
    PHP   2. require() /site_path/scp/tickets.php:17, referer: https://site_url/scp/
    PHP   3. require_once() /site_path/scp/staff.inc.php:20, referer: https://site_url/scp/
    PHP   4. osTicket::start() /site_path/main.inc.php:30, referer: https://site_url/scp/
    PHP   5. osTicket->osTicket() /site_path/include/class.osticket.php:501, referer: https://site_url/scp/
    PHP   6. osTicketSession::start() /site_path/include/class.osticket.php:58, referer: https://site_url/scp/
    PHP   7. osTicketSession->osTicketSession() /site_path/include/class.ostsession.php:130, referer:     https://site_url/scp/
    PHP   8. session_start() /site_path/include/class.ostsession.php:86, referer: https://site_url/scp/

    This error happens when I go to the Advanced Search and filter the closed tickets for a certain department. This search throws more than 6.000 results. When I try to see these tickets, this error happens and it shows me ALL the open tickets instead (default page).
    Do you think that may have something to do with the error?


    php version.jpg
    947 x 476 - 182K
  • can you down grade to a pre .30 version of 5.,6 and see if that has any affect?
  • Unfortunately I have osTicket v1.10 running on PHP 7 and cannot replicate your error whatsoever. (I even used your advanced search criteria)
Sign In or Register to comment.