Hi,

(server is freebsd-12.2-p6 apache24 php7.4.16 mysql57)

I followed the upgrade process which got to where it asks to begin the upgrade. It completes but then I get php errors at the top of the screen:

Warning: session_name(): Cannot change session name when session is active in /usr/local/www/apache24/data/include/class.ostsession.php on line 34

Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time in /usr/local/www/apache24/data/include/class.ostsession.php on line 40

Warning: session_set_cookie_params(): Cannot change session cookie parameters when session is active in /usr/local/www/apache24/data/include/class.ostsession.php on line 56

Warning: session_set_save_handler(): Cannot change save handler when session is active in /usr/local/www/apache24/data/include/class.ostsession.php on line 81

Logging in takes an eternity. A browser refresh forces it. How can I fix this?

thanks

I've asked the devs to take a look at this thread.
It sounds like there is a problem with saving sessions... you might need to clear your existing sessions manually, and you would want to clear the browser cache.

@f451

Usually this indicates sessions issue with the environment/setup. I would clear all cache/cookies from the browser, then I'd do a full restart of Apache, then I'd truncate the ost_session table, then I'd retest.

Cheers.

  • f451 replied to this.

    KevinTheJedi
    Hi,

    I did the first two (cleared out the local browser cache and then restarted apache) but not the truncate sessions from mysql, i didn't think of that.

    Because I was working to a deadline, I went down another route, one of making a new vm, bringing that all up-to-date, installing latest osticket from git, uploading the old database.

    Seems to have worked

    Write a Reply...