[turba] 'blank screen' after adding new contact

Marc G. Fournier scrappy at hub.org
Tue Apr 11 10:44:16 PDT 2006


Jan, went through my mail folders too fast, so read your response on the 
archives ... one thing:

# grep -r hooks.php . 
./lib/Object.php:            if (file_exists(HORDE_BASE . '/config/hooks.php')) {
./lib/Object.php:                require HORDE_BASE . '/config/hooks.php';
./lib/Object.php:            if (file_exists(HORDE_BASE . '/config/hooks.php')) {
./lib/Object.php:                require HORDE_BASE . '/config/hooks.php';
./lib/AbstractObject.php:            if (file_exists(HORDE_BASE . '/config/hooks.php')) {
./lib/AbstractObject.php:                require_once HORDE_BASE . '/config/hooks.php';
./lib/AbstractObject.php:        if (file_exists(HORDE_BASE . '/config/hooks.php')) {
./lib/AbstractObject.php:            require_once HORDE_BASE . '/config/hooks.php';

Should those two 'require()'s in lib/Object.php by 'require_once()'? 
Yup, that appears to do it ... now I don't get a blank screen ...

On Mon, 10 Apr 2006, Marc G. Fournier wrote:

>
> Looking in my apache error log file, the error being generated is:
>
> Cannot redeclare _imp_hook_vinfo() (previously declared in
> 	/usr/local/www/horde/config/hooks.php:675) in
> 	/usr/local/www/horde/config/hooks.php on line 686
>
> This appears to just be when I click on the 'Browse' link in Turba ... 
> everything else in horde appears to be fine ...
>
> I've checked hooks.php, and only have one define for it:
>
> # grep _imp_hook_vinfo /usr/local/www/horde/config/hooks.php
> function _imp_hook_vinfo ($type = 'username') {
> // Here is an example _imp_hook_vinfo function. If $type == 'vdomain', this
> // if (!function_exists('_imp_hook_vinfo')) {
> //     function _imp_hook_vinfo($type = 'username')
>
> is there somewhere that hooks.php is being read in twice?
>
>
>
> ----
> Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
> Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664
>

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664


More information about the turba mailing list