Hmmm tried to find it on ftp but I dont seem to have those folders anywhere and even though I searched manually I can't find any webserver logs :/
Edit:
Well... I have managed to have it shown not by commenting those mentioned earlier lines:
defined(
'MYBBSTUFF_CORE_PATH'
) or define('MYBBSTUFF_CORE_PATH', MYBB_ROOT . 'inc/plugins/MybbStuff/Core/');
define('MYALERTS_PLUGIN_PATH', MYBB_ROOT . 'inc/plugins/MybbStuff/MyAlerts');
defined(
'PLUGINLIBRARY'
) or define('PLUGINLIBRARY', MYBB_ROOT . 'inc/plugins/pluginlibrary.php');
require_once MYBBSTUFF_CORE_PATH . 'ClassLoader.php';
$classLoader = new MybbStuff_Core_ClassLoader();
$classLoader->registerNamespace(
'MybbStuff_MyAlerts',
array(MYALERTS_PLUGIN_PATH . '/src')
);
$classLoader->register();
But by adding "$" in front of every MYBBSTUFF_CORE_PATH / MYALERTS_PLUGIN_PATH / PLUGINLIBRARY which was not in the defined/define syntax.
In Example, in the orignal code it was like:
require_once MYBBSTUFF_CORE_PATH . "ClassLoader.php";
And that's what I've done:
require_once $MYBBSTUFF_CORE_PATH . "ClassLoader.php";
Well I am afraid of trying to activate it as last time I had to manually delete the tables and clear the cache of activated plugins (as through Plugin Panel I could not due to the blank plugin list). So can anyone explain to me if it will break my forum again? or just go with it?
Edit2:
Well I have installed it, but when I try to activate it I get an error that plugin library is missing... (And yes I have it in the /inc/plugins location)
Edit3:
Code for initalising variables of pluginlibrary and checking the plugin library as of now:
defined(
'PLUGINLIBRARY'
) or define('PLUGINLIBRARY', "./inc/plugins/pluginlibrary.php");
if (!file_exists($PLUGINLIBRARY)) {
flash_message($lang->myalerts_pluginlibrary_missing, 'error');
admin_redirect('index.php?module=config-plugins');
}