MISSING /home/usbf/public_html/includes/defines.php
MISSING /home/usbf/public_html/includes/framework.php
line: 60 trying to set mainframe
line: 62 BYPASS set mainframe
line: 67 IGNORE trying to set application based on line in Factory.php
line: 68 trying to set apps Failed to start application (500 Whoops, looks like something went wrong.)

Failed to start application

Exception

Exception

  1.      * @throws  \Exception
  2.      */
  3.     public static function getApplication()
  4.     {
  5.         if (!self::$application) {
  6.             throw new \Exception('Failed to start application'500);
  7.         }
  8.         return self::$application;
  9.     }
Factory::getApplication() in /home/usbf/public_html/apps/includes/session.php (line 69)
  1. ////////    echo "<br> line: " . __LINE__ . "  BYPASS set mainframe" ; 
  2. /////////////////    echo "<br> line: " . __LINE__ . "  trying to set application based on line in Factory.php" ; 
  3. /////// $application = Factory::getApplication()->getConfig();
  4.     echo "<br> line: " __LINE__ "  IGNORE trying to set application based on line in Factory.php" 
  5.     echo "<br> line: " __LINE__ "  trying to set apps" 
  6. $apps Factory::getApplication()->getConfig();
  7. //    echo "<br> line: " . __LINE__ . "  BYPASS set apps" ; 
  8.     echo "<br> line: " __LINE__ "  trying to set prefix" 
  9. $prefix $app->get('dbprefix');
  10.     echo "<br> line: " __LINE__ "  trying to initialise mainframe" 
  11. $mainframe->initialise();
include('/home/usbf/public_html/apps/includes/session.php') in /home/usbf/public_html/apps/teamforms.php (line 5)
  1. <?php
  2. // teamforms.php
  3. /// must be before header
  4. include "includes/session.php";    // access joomla login
  5. $ifadmin =  ($my->usertype == 'Administrator' || $my->usertype == 'Super Administrator'  );
  6. /// init variables ///
  7. $script_version $parent_version "021f4-008g1" // 20240204
  8. $script_name    basename(__FILE__);

Stack Trace

Exception
Exception:
Failed to start application

  at /home/usbf/public_html/libraries/src/Factory.php:158
  at Joomla\CMS\Factory::getApplication()
     (/home/usbf/public_html/apps/includes/session.php:69)
  at include('/home/usbf/public_html/apps/includes/session.php')
     (/home/usbf/public_html/apps/teamforms.php:5)