[imp] Do not directly access maintenance.php
Boris Sagadin
boris.sagadin at intera.si
Mon Aug 2 02:23:07 PDT 2004
Hi,
I'm having problems with maintenance operation. Latest Horde/Imp
stable, default setup, Turba, SQL pref container, IMAP mail server,
PHP 4.3.3 (Redhat EL3):
A fatal error has occurred:
Do not directly access maintenance.php
[line 26 of /webmail/horde-2.2.5/maintenance.php]
Details have been logged for the administrator.
This happens right after login, when the maintenance screen should be
displayed. If I reload page right then, error doesn't repeat, but
inbox is displayed. If I turn off maintenance in options, error
doesn't get displayed (obviously, since maintenance.php is then never
called). This is repeatable.
It looks like $module variable doesn't get set, but why?
$module = basename(Horde::getFormData('module', ''));
/* If no 'module' parameter passed in, return error. */
if (!$module) {
Horde::fatal(new PEAR_Error(_("Do not directly access maintenance.php")), __FILE__, __LINE__);
}
I've seen this question popup on this mailing list at least two times,
but never an answer that could help. Anyone?
--
Boris
More information about the imp
mailing list