Re: issue with JONAH_TEMPLATES

Marko Djukic <[email protected]> Sat, 24 May 2003 12:22:51 +0200
Newsgroups gmane.comp.horde.jonah
Message-ID <[email protected]>
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 <[email protected]>:

> 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: [email protected]
>



-- 
Jonah mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]