4
Ok, now I tried several things, I tried moving the script to the modules/news/ folder, it works perfectly as a file, it also works perfectly when included in a block from the default index, but then, when I choose the news module as the start page, i get the same error again.
So I think its got nothing to do with the very location of the script... but a resouce it cant get or something like that from that location, for the script.
Heres line 95 of notification_functions.php
$not_config =& $module->getInfo('notification');
From this function.
function ¬ificationCategoryInfo ($category_name='', $module_id=null)
{
if (!isset($module_id)) {
global $xoopsModule;
$module_id = !empty($xoopsModule) ? $xoopsModule->getVar('mid') : 0;
$module =& $xoopsModule;
} else {
$module_handler =& xoops_gethandler('module');
$module =& $module_handler->get($module_id);
}
$not_config =& $module->getInfo('notification');
if (empty($category_name)) {
return $not_config['category'];
}
foreach ($not_config['category'] as $category) {
if ($category['name'] == $category_name) {
return $category;
}
}
$ret = false;
return $ret;
}
Hope i dont need to core hack...
Could anyone at least say something?? xD