[Support request] Undefined constant “TABLE_PREFIX” after upgrading to latest version

    • March 8, 2023 at 4:29 am #15480
      martinporter
      Participant

      After upgrading from 1.to the latest version, I can access most of the site eg https://www.mydomain.com/support/scp/settings.php

      , but when clicking the Home icon, which links to http://www.mydomain/support/scp

       

      I get the following error

       

      Fatal error: Uncaught Error: Undefined constant “TABLE_PREFIX” in /home/customer/www/mydomain.com/public_html/support/bootstrap.php:189 Stack trace: #0 /home/customer/www/mydomain.com/public_html/support/main.inc.php(24): Bootstrap::loadConfig() #1 /home/customer/www/mydomain.com/public_html/support/scp/staff.inc.php(20): require_once(‘/home/customer/…’) #2 /home/customer/www/mydomain.com/public_html/support/scp/tickets.php(17): require(‘/home/customer/…’) #3 /home/customer/www/mydomain.com/public_html/support/scp/index.php(17): require(‘/home/customer/…’) #4 {main} thrown in /home/customer/www/mydomain.com/public_html/support/bootstrap.php on line 189

       

       

      my ost-config.php does have that variable defined, correctly

       

      # Table prefix
      define(‘TABLE_PREFIX’,’ost_’);

      #

       

      and I believe that is correct, as in phpMyadmin all tables are prefixed:

       

       

You must be logged in to reply to this topic.