bug "NOT FOUND" extcal comme module page d'accueil | Titre du sujet : bug "NOT FOUND" extcal comme module page d'accueil par Nikita sur 14/03/2010 22:26:39
Bonsoir,
pour les utilisateurs d'extcal 2.22, normalement si vous mettez extcal comme "Module pour votre page d'accueil" dans les préférences de votre site , vous obtiendrez une page
Not Found
The requested URL /votresite/calendar-month.php was not found on this server.
pour corriger
éditer le fichier modules/extcal/index.php
remplacer
if($xoopsModuleConfig['start_page'] == 0) {
header("Location: calendar-month.php");
} else if($xoopsModuleConfig['start_page'] == 1) {
header("Location: calendar-week.php");
} else if($xoopsModuleConfig['start_page'] == 2) {
header("Location: year.php");
} else if($xoopsModuleConfig['start_page'] == 3) {
header("Location: month.php");
} else if($xoopsModuleConfig['start_page'] == 4) {
header("Location: week.php");
} else if($xoopsModuleConfig['start_page'] == 5) {
header("Location: day.php");
}
par
if($xoopsModuleConfig['start_page'] == 0) {
header('Location: '.XOOPS_URL.'/modules/extcal/calendar-month.php');
} else if($xoopsModuleConfig['start_page'] == 1) {
header('Location: '.XOOPS_URL.'/modules/extcal/calendar-week.php');
} else if($xoopsModuleConfig['start_page'] == 2) {
header('Location: '.XOOPS_URL.'/modules/extcal/year.php');
} else if($xoopsModuleConfig['start_page'] == 3) {
header('Location: '.XOOPS_URL.'/modules/extcal/month.php');
} else if($xoopsModuleConfig['start_page'] == 4) {
header('Location: '.XOOPS_URL.'/modules/extcal/week.php');
} else if($xoopsModuleConfig['start_page'] == 5) {
header('Location: '.XOOPS_URL.'/modules/extcal/day.php');
}
|
|