[horde] horde alarms.php script broken?

mtecles at biof.ufrj.br mtecles at biof.ufrj.br
Wed Jan 21 14:01:42 UTC 2009


You may have already solved the problem, I had the same one, but now 
alarms works fine.

I use Debian 4.0 and it has one php.ini for cli and another for 
apache2, I edited both php.ini:  memory_limit = -1

Run the cron job as the web server user. For Apache on Debian, for 
example, it is www-data, then:

crontab -u www-data ...

Remember, ~\horde\docs\INSTALL  states "you must have at least one 
administrator specified in the Horde configuration". See "Important" 
on "Completing Configuration" of INSTALL. See also SECURITY.

Mauricio

Robert Williams <rjwill at seas.upenn.edu> wrote:

> 
> Hello All,
> 
> I'm having a problem with the latest horde (3.3.2) alarm script. Since it
> was not working from cron, I ran it manually as a test and received this
> error:
> 
> php -a horde/scripts/alarms.php
> Interactive mode enabled
> 
> PHP Fatal error:  Call to undefined function _detect_webroot() in  
> /usr/srv/www/htdocs/horde/config/registry.php on line 54
> 
> I've seen this exact error in a few other posts with no working solution
> offered. I did see one suggestion was that "someone messed with
> registry.php", so I made sure to put a fresh copy from the .dist version in
> place (this does not change anything, the error persists). I also see the
> function _detect_webroot at the bottom of registry.php so I'm not sure why
> it's not found/defined.
> 
> Any suggestions?
> 
> Thanks,
> 
>   ~ Bob

--------------------------------------------------------
Mauricio J. T. Tecles
Instituto de Biofisica Carlos Chagas Filho - UFRJ
Edificio do Centro de Ciencias da Saude, Bloco G
Av. Carlos Chagas Filho, 373
Cidade Universitaria, Ilha do Fundao
Rio de Janeiro, RJ
Brasil
21941-902
Telefone: 55 21 2562-6544
FAX: 55 21 2280-8193
mtecles at biof.ufrj.br



More information about the horde mailing list