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 61DEBUG: inside /home/usbf/public_html/apps/includes/session.php line 65
DEBUG: inside /home/usbf/public_html/apps/includes/session.php line 68 set appvars 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 69)
  1. // jimport( 'joomla.user.authentication');   // comment out after joomla4 migration
  2.     echo "DEBUG: inside " __FILE__ " line " __LINE__ ;
  3. // get the database information
  4. //////////////////////////////////////////$appvars = JFactory::getApplication();          // connect will use this     // comment out after joomla4 migration
  5.     echo "<br>DEBUG: inside " __FILE__ " line " __LINE__ "  set appvars";
  6. $appvars Factory::getApplication();          // connect will use this
  7. // now get user object and 3 example user variables
  8. //////////////$user = JFactory::getUser();   // comment out after joomla4 migration
  9.     echo "<br>DEBUG: inside " __FILE__ " line " __LINE__ "  set user";
  10. $user Factory::getUser(); 
  11.     echo "<br>DEBUG: inside " __FILE__ " line " __LINE__ ;
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)