[imp] Error in prefs

Yohann Fourteau yohann.fourteau@shom.fr
Thu, 15 Mar 2001 23:10:29 +0100


Chuck Hagenbuch wrote:
> 
> Quoting Yohann Fourteau <yohann.fourteau@shom.fr>:
> 
> > Nop there are mandatory templates in /var/www/horde/imp/templates too...
> >
> > I have solved my problem. But to install imp, you have manualy to group
> > templates files in one place.
> 
> No, actually, you don't. If you'd explain what you mean, we might be able to
> figure out what you've configured wrong.
> 

fourteau@roy202:/var/www/horde/imp/templates/prefs% ls
begin.inc     end.inc      folderselect.inc  overview.inc            
CVS           filters.inc  server.inc
fourteau@roy202:/var/www/horde/templates/prefs% ls
checkbox.inc  enum.inc  number.inc  textarea.inc
CVS           link.inc  select.inc  text.inc

On the same page (prefs.php) :
If $conf['horde']['paths']['templates'] = '/var/www/horde/templates';
Fatal error: Failed opening required
'/var/www/horde-cvs/templates/menu/menu.inc'
(include_path='.:/usr/lib/php4') in /var/www/horde-cvs/imp/menu.php on
line 28

If $conf['horde']['paths']['templates'] =
'/var/www/horde/imp/templates';
Warning: Failed opening './templates/prefs/text.inc' for inclusion
(include_path='.:/usr/lib/php4') in /var/www/horde-cvs/imp/prefs.php on
line 240

My solution is 
$conf['horde']['paths']['templates'] = '/var/www/horde/imp/templates';
And 
cd /var/www/horde/imp/templates/prefs
ln -s ../../../templates/prefs/* .



-- 
Yohann F.