Hello, I'm trying to set up external login but getting fatal errors that I can't seem to fix.
My script is
PHP Code:
ini_set('display_errors',1);
ini_set('display_startup_errors',1);
define("VB_PATH",realpath(dirname(__FILE__)));
// Start login script
define('CSRF_PROTECTION', false);
require_once(VB_PATH . '/includes/vb5/autoloader.php');
vB5_Autoloader::register(VB_PATH);
vB5_Frontend_Application::init('config.php');
$api = Api_InterfaceAbstract::instance();
The error I'm getting is
Code:
Fatal error: Class 'vB_Request_WebApi' not found in /home/USER/public_html/_vb5/includes/api/interface/collapsed.php on line 38
Fatal error: Class 'vB_Shutdown' not found in /home/USER/public_html/_vb5/core/vb/vb.php on line 502
Couldn't find anything related to my issue anywhere on the internet, hope someone could help me out.