Sometime when you install modules in various version of phpNUKE ,you will find that some module which is usable in lower version can not be accessed in newer version(especially 7.6 and 7.7) - as in Thaihealthnews - why?
phpNUKE team has changed the method of calling index.php in modules eg:
in version 7.4
if (!eregi("modules.php", $_SERVER['SCRlPT_NAME'])) {
die ("You can't access this file directly...");
}
in version 7.5
if (!eregi("modules.php", $_SERVER['SCRlPT_NAME'])) {
die ("You can't access this file directly...");
}
in version 7.6
if ( !defined('MODULE_FILE') )
{
die("You can't access this file directly...");
}
in version 7.7
if (!defined('MODULE_FILE')) {
die ("You can't access this file directly...");
}
Same as in admin file which can not be used between version - so we must stress out that -install correct module for correct version to avoid these problems!