Ciao,
i am trying to integrate an external php script with vbulletin 5, i searched the forum and web for possible solutions and i found some but i think either they were incomplete or i was not good enough to understand.
here is the code snippet from vbulletin official post.
Code:
$vbpath = '/var/www/html';
define('CSRF_PROTECTION', false);
require_once($vbpath . '/includes/vb5/autoloader.php');
vB5_Autoloader::register($vbpath);
vB5_Frontend_Application::init('config.php');
in my case everything works ok until the config file is loaded. the last line always greet me with the following error
HTML Code:
<head>
<title>System Error</title>
</head>
<body>
<h1> A System Error has occured.</h1>
<p> The software is experiencing a systems error.</p>
<p> You should attempt to repeat your last action. If this error occurs again, please contact the <a href="mailto:dbmaster@example.com">site administrator</a>.</p>
vbulletin Ver: 5.3.0
am i doing it right?
thanks!!