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 syntax error, unexpected token "/", expecting "," or ";" (500 Whoops, looks like something went wrong.)

ParseError

HTTP 500 Whoops, looks like something went wrong.

syntax error, unexpected token "/", expecting "," or ";"

Exception

ParseError

  1.  * @license    GNU General Public License version 2 or later; see LICENSE.txt
  2.  */
  3. namespace Joomla\CMS;
  4. use Joomla/CMS/Application/CMSApplicationInterface;
  5. use Joomla/CMS/Cache/Cache;
  6. use Joomla/CMS/Cache/CacheControllerFactoryInterface;
  7. use Joomla/CMS/Client/ClientHelper;
  8. use Joomla/CMS/Date/Date;
  9. use Joomla/CMS/Document/Document;
in /home/usbf/public_html/libraries/vendor/composer/ClassLoader.php Composer\Autoload\includeFile (line 428)
  1.      * @return true|null True if loaded, null otherwise
  2.      */
  3.     public function loadClass($class)
  4.     {
  5.         if ($file $this->findFile($class)) {
  6.             includeFile($file);
  7.             return true;
  8.         }
  9.         return null;
ClassLoader->loadClass('Joomla\\CMS\\Factory') in /home/usbf/public_html/libraries/src/Autoload/ClassLoader.php (line 59)
  1.      *
  2.      * @since   3.4
  3.      */
  4.     public function loadClass($class)
  5.     {
  6.         if ($result $this->loader->loadClass($class)) {
  7.             \JLoader::applyAliasFor($class);
  8.         }
  9.         return $result;
  10.     }
ClassLoader->loadClass('Joomla\\CMS\\Factory') 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

ParseError
ParseError:
syntax error, unexpected token "/", expecting "," or ";"

  at /home/usbf/public_html/libraries/src/Factory.php:12
  at Composer\Autoload\includeFile('/home/usbf/public_html/libraries/vendor/composer/../../../libraries/src/Factory.php')
     (/home/usbf/public_html/libraries/vendor/composer/ClassLoader.php:428)
  at Composer\Autoload\ClassLoader->loadClass('Joomla\\CMS\\Factory')
     (/home/usbf/public_html/libraries/src/Autoload/ClassLoader.php:59)
  at Joomla\CMS\Autoload\ClassLoader->loadClass('Joomla\\CMS\\Factory')
     (/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)