[horde] Horde Groupware Webmail installation - test.php comes out empty

Vilius Šumskas vilius at lnk.lt
Wed Mar 27 17:47:24 UTC 2013


Leonardo Salerno <leonardo.salerno at gmail.com> rašė:

> Hello,
>
> I'm having a problem with the installation of Horde Groupware Webmail
> Edition 5.0 on CentOS 6.4 i386 with PHP 5.3.3 and Apache 2.2.15.
>
> I followed the instructions found here:
> http://www.horde.org/apps/webmail/docs/INSTALL and got to the point of
> trying to open the test page, in my case located at
> http://192.168.3.253/wmail/test.php.
>
>
> The only thing I get is a blank page. I'm no PHP programmer but tried to
> hunt down the problem using Horde FAQs and googling around. By using an
> highly advanced debugging technique called "place echo commands all around
> .php files until you find the culprit" I found the offending code line:
>
>
> $registry = $GLOBALS['registry'] = new $classname($s_ctrl, $args);
>
>
> it's in /usr/share/pear/Horde/Registry.php line 246 and nothing following
> that line gets executed.
>
>
> It seems to me that it's trying to create a new Horde_Registry ($classname)
> instance from inside the Horde_registry class itself but I'm not sure since
> I don't know PHP. The passed parameters are 0 in $s_ctrl and array(11) {
> ["admin"]=> bool(false) ["authentication"]=> string(4) "none" ["cli"]=>
> NULL ["nocompress"]=> bool(false) ["nologintasks"]=> bool(false)
> ["permission"]=> bool(false) ["session_cache_limiter"]=> NULL
> ["session_control"]=> NULL ["timezone"]=> bool(false) ["user_admin"]=> NULL
> ["test"]=> bool(true) } in $args.
>
>
> I thought it may be a null values problem but the code itself seems to be
> putting nulls inside the array. I tried to activate php errors in php.ini
> but the code just stops there without writing nothing anywhere. I looked in
> the system logs and apache logs but found nothing.
>
>
> What can I add? Installation went fine, after some struggling with the
> dependencies, and afaik, the only missing pieces are the --with-png-dir
> (reccomended but not required) and the memcache pecl module (ditto). IMAP
> and SMTP servers are on a different machine so I didn't install nothing of
> the sort. What else? I ran "pear install horde/webmail" instead of "pear
> install -a -B horde/webmail" (as per instructions, you get to choose among
> three choices) and installed activesync afterwards with "pear install
> horde/horde_activesync".
>
>
> Ok, I've written a lot already and don't want to bore anyone. If you need
> some info just ask.
>
>
> Thanks a lot

Enable PHP error logging to the file. Enable Horde debug logging.

Also make sure your Horde's configuration files in /config/ are  
readable by the webserver and no nonsense, like SELinux, is blocking it.

-- 
   Vilius




More information about the horde mailing list