[jonah] issue with JONAH_TEMPLATES
Marko Djukic
marko at oblo.com
Sat May 24 03:22:51 PDT 2003
i think i had this problem, fixed by copying the new prefs.php.dist to prefs.php
in the /jonah/config directory.
marko
Quoting steve <smailling at free.fr>:
> When I log in, I got this:
> Warning: main(C:\devl\horde\config/../templates/menu/menu.inc)
> [function.main]: failed to create stream: No such file or directory in
> C:\devl\horde\jonah\menu.php on line 12
>
> Fatal error: main() [function.main]: Failed opening required
> 'C:\devl\horde\config/../templates/menu/menu.inc'
>
(include_path='.;c:\devl\php4\pear;c:\devl\pear;c:\devl\pear\Log;c:\devl\pear\Mail;c:\devl\pear\DB;c:\devl\pear\Date;c:\devl\pear\File')
> in C:\devl\horde\jonah\menu.php on line 12
>
> JONAH_TEMPLATES goes to the /horde/template directorys inestead of
> /horde/jonah/templates/
>
> So I don't know what the normal behavior whols be:
> - every template files in the same directory
> - change :jonah/lib/base.php :
>
> $registry->pushApp('jonah');
> $conf = &$GLOBALS['conf'];
> @define('JONAH_TEMPLATES', $registry->getParam('templates'));
>
> where we should have
> @define('JONAH_TEMPLATES', JONAH_BASE.'/templates');
>
> What do you think?
>
>
>
>
> --
> Jonah mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: jonah-unsubscribe at lists.horde.org
>
More information about the jonah
mailing list