• Resolved Phil McKerracher

    (@phil-mckerracher)


    I’ve started to get a fatal PHP error whenever I attempt to access StageShowGold > Settings. The PHP debug log is below – it seems to be an interaction with CiviCRM because although CiviCRM is working properly, disabling it removes the problem in StageShowGold. Other pages in the StageShowGold admin area and the front end seem to be OK.

    I’m on StageShowGold version 7.0.2, running on PHP 7.2.19-0ubuntu0.18.04.1

    [12-Jun-2019 21:18:51 UTC] PHP Warning: session_start(): Cannot start session when headers already sent in /home/bromleysymph/public_html/wp-content/plugins/stageshowgold/include/stageshowlib_sales_dbase_api.php on line 26
    [12-Jun-2019 21:18:51 UTC] PHP Warning: session_start(): Cannot start session when headers already sent in /home/bromleysymph/public_html/wp-content/plugins/stageshowgold/include/stageshowlib_sales_trolley_dbase_api.php on line 26
    [12-Jun-2019 21:18:51 UTC] PHP Warning: session_start(): Cannot start session when headers already sent in /home/bromleysymph/public_html/wp-content/plugins/stageshowgold/include/stageshowlib_dbase_api.php on line 26
    [12-Jun-2019 21:18:51 UTC] PHP Warning: session_start(): Cannot start session when headers already sent in /home/bromleysymph/public_html/wp-content/plugins/stageshowgold/include/stageshowlib_nonce.php on line 26
    [12-Jun-2019 21:18:52 UTC] PHP Warning: session_start(): Cannot start session when headers already sent in /home/bromleysymph/public_html/wp-content/plugins/civicrm/civicrm.php on line 346
    [12-Jun-2019 21:18:52 UTC] PHP Fatal error: Class ‘QRencode’ not found in /home/bromleysymph/public_html/wp-content/plugins/stageshowgold/include/stageshowgold_qrbarcode.php on line 45

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter Phil McKerracher

    (@phil-mckerracher)

    The problem seems to be this test at the top of file stageshowgold/include/stageshowgold_qrbarcode.php, which I have commented out:

    //if (!class_exists(‘QRcode’))
    include STAGESHOW_FILE_PATH.’lib/phpqrcode/qrlib.php’;

    I don’t understand why that test is failing, though.

    Also several files referenced in the above log (e.g. stageshowlib_dbase_api.php) have a test like this which is failing and generating a PHP warning:

    if(!isset($_SESSION))
    {
    // MJS – SC Mod – Register to use SESSIONS
    session_start();
    }

    Again, I’m not sure what’s wrong with that test for an existing session. Perhaps a named session should be used?

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error trying to access settings screen’ is closed to new replies.