$apps = Factory::getApplication()->getConfig();
// echo "<br> line: " . __LINE__ . " BYPASS set apps" ;
echo "<br> line: " . __LINE__ . " trying to set prefix" ;
$prefix = $app->get('dbprefix');
echo "<br> line: " . __LINE__ . " trying to initialise mainframe" ;
$mainframe->initialise();
echo "<br> line: " . __LINE__ . " start jimport" ;
jimport( 'joomla.user.user');
jimport( 'joomla.session.session');
jimport( 'joomla.user.authentication');
// get the database infor mation
$debugent2 = 0;
$debugent3 = 0;
} // is_test
/// must be before header
include "includes/session.php"; // access joomla login
/*
// test if logged in //
if (isset($my) && $my->username<>"")
{
Error
|
---|
Error: Call to a member function initialise() on null at /home/usbf/public_html/apps/includes/session.php:106 at include() (/home/usbf/public_html/apps/entries.php:46) |