DEBUG: inside /home/usbf/public_html/apps/includes/session.php line 20
DEBUG: inside /home/usbf/public_html/apps/includes/session.php line 21 jpath base = /home/usbf/public_html
DEBUG: inside /home/usbf/public_html/apps/includes/session.php line 41 require defines.php
DEBUG: inside /home/usbf/public_html/apps/includes/session.php line 43 require framework.php
DEBUG: inside /home/usbf/public_html/apps/includes/session.php line 45
DEBUG: inside /home/usbf/public_html/apps/includes/session.php line 50 set mainframe
DEBUG: inside /home/usbf/public_html/apps/includes/session.php line 52 SKIPPED mainframe
DEBUG: inside /home/usbf/public_html/apps/includes/session.php line 53 try adjusted mainframe Failed to start application (500 Whoops, looks like something went wrong.)

Exception

HTTP 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 54)
  1. ////////////$app = JFactory::getApplication();   // comment out after joomla4 migration
  2.     echo "<br>DEBUG: inside " __FILE__ " line " __LINE__ "  set mainframe";
  3. /* $mainframe = Factory::getApplication('site');  // attempt after joomla4 migration */
  4.     echo "<br>DEBUG: inside " __FILE__ " line " __LINE__ "  SKIPPED mainframe";
  5.     echo "<br>DEBUG: inside " __FILE__ " line " __LINE__ "  try adjusted mainframe";
  6. $mainframe Factory::getApplication();  // attempt after joomla4 migration -- without parsing 'site'
  7.     echo "<br>DEBUG: inside " __FILE__ " line " __LINE__ "  set app";
  8. $app Factory::getApplication();   // attempt after joomla4 migration
  9.     echo "<br>DEBUG: inside " __FILE__ " line " __LINE__ "  set prefix";
  10. $prefix $app->get('dbprefix');  // attempt after joomla4 migration
  11.     echo "<br>DEBUG: inside " __FILE__ " line " __LINE__ "  initialize mainframe";
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:54)
  at include('/home/usbf/public_html/apps/includes/session.php')
     (/home/usbf/public_html/apps/teamforms.php:5)