eryogesh

  • Dec 23, 2020
  • Joined Mar 12, 2019
  • 0 best answers
  • When i try to logout i see these warnings:

    Warning: session_destroy(): Session callback expects true/false return value in /home/XXXXX/public_html/support/scp/logout.php on line 30

    Warning: session_destroy(): Session object destruction failed in /home/XXXXX/public_html/support/scp/logout.php on line 30

    Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXX/public_html/support/scp/logout.php:30) in /home/XXXXX/public_html/support/include/class.ostsession.php on line 100

    Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXX/public_html/support/scp/logout.php:30) in /home/XXXXX/public_html/support/include/class.http.php on line 62

  • KevinTheJedi Thanks. I tried to install it and it worked. Would you mind to share the solution or the reason and what fixed it?

    Many thanks!

  • After looking at the warning i this is related to session_start() and Php path /var/cpanel/php/sessions/ea-php72

    May be the setup i have dont use the standard php path or may be OST is not getting the path.

    One more information, its a cPanel setup and i have access to WHM.

  • Apache 2.4
    PHP 7.2
    OST 1.11
    Centos 6.10
    MySQL 5.7

  • Right after installation i see the following errors on my website:

    Warning: Declaration of AssignmentForm::render($options) should be compatible with Form::render($staff = true, $title = false, $options = Array) in /home/XXXXX/public_html/support/include/class.forms.php on line 4401

    Warning: Declaration of TransferForm::render($options) should be compatible with Form::render($staff = true, $title = false, $options = Array) in /home/XXXXX/public_html/support/include/class.forms.php on line 4521

    Warning: session_name(): Cannot change session name when headers already sent in /home/XXXXX/public_html/support/include/class.ostsession.php on line 34

    Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /home/XXXXX/public_html/support/include/class.ostsession.php on line 40

    Warning: session_set_cookie_params(): Cannot change session cookie parameters when headers already sent in /home/XXXXX/public_html/support/include/class.ostsession.php on line 56

    Warning: session_set_save_handler(): Cannot change save handler when headers already sent in /home/XXXXX/puxblic_html/support/include/class.ostsession.php on line 81

    Warning: session_start(): Cannot start session when headers already sent in /home/XXXXX/public_html/support/include/class.ostsession.php on line 86

    Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXX/public_html/support/include/class.forms.php:4401) in /home/bwr32sf/public_html/support/include/client/header.inc.php on line 8

    Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXX/public_html/support/include/class.forms.php:4401) in /home/bwr32sf/public_html/support/include/client/header.inc.php on line 9

    Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXX/public_html/support/include/class.forms.php:4401) in /home/bwr32sf/public_html/support/include/client/header.inc.php on line 13

    On SCP, more or less the same:

    Warning: session_start(): Failed to read session data: user (path: /var/cpanel/php/sessions/ea-php72) in /home/XXXXX/public_html/support/include/class.ostsession.php on line 86

    Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXX/public_html/support/include/class.ostsession.php:86) in /home/bwr32sf/public_html/support/include/class.http.php on line 62