Hi Hans-Juergen,
committed your patch.
Thanks for contributing to eGroupware
Ralf
Hans-Juergen Tappe schrieb:
Hi!
I came across another sitemgr bug (newly created 1783/SiteMgr):
When giving a nonexistent template directory (in my case: forget to copy
the template dir during a migration), a warning / error message (invalid
template dir) should be displayed (it’s in the code).
But the check reads “if (!(class_exists(‘ui’)))”, while in newer
egroupware versions, the “ui” class already exists at that point (but
which is not equipped for sitemgr).
This leads to a blank page only with the error message “Call to
undefined method ui::displayPage()”
The following patch solves the problem:
@@ -154,8 +154,7 @@
include_once ‘./mos-compat/joomla_Legacy_function.inc.php’;
}
}
- else
{
echo ‘’.lang("Invalid template…
Thanks for re-activating the debug-hint again.
Hans-Jürgen
This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
–
Ralf Becker
Director Software Development
Stylite GmbH
[open style of IT]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon +49 (0) 6352 70629-0
fax +49 (0) 6352 70629-30
cell +49 (0) 170 7815917
mailto: rb@stylite.de
www.stylite.de
www.egroupware.org
Geschäftsführer Andre Keller, Nigel John Vickers,
Gudrun K. Müller und Ralf Becker
Registergericht Kaiserslautern HRB 12087
This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers