[horde] setCache and weather.com problem

John Sullivan horde at basicnets.co.uk
Tue Jun 7 04:07:34 PDT 2005


Obviously I'm a Nube ...

I have installed Horde 3.0.4, Apache 2.0.54, PHP 4.3.11, MySql 4.1.11 on FreeBSD
5.4 using the ports collection.  When I try to use weather.com on the Horde home
page the page doesn't complete rendering.  In weatherdotcom.php, if I put
var_dump($weather) before the line that reads:

     $weatherDotCom->setCache('file', array('cache_dir' => ($cacheDir . '/')));

I can see the values on the page.  If I put it after nothing gets displayed. 
This tells me that I have a problem with file caching (correct me if I am
wrong).

In my conf.php file I have the following:
     $conf['cache']['default_lifetime'] = 1800;
     $conf['cache']['params']['dir'] = '/tmp/horde';
     $conf['cache']['driver'] = 'file';

The /tmp/horde directory currently has rwx for everyone.  What have I done
wrong??  I cannot find anything in horde.log, httpd-errors
.log or my php.log files - is there somewhere else I need to look??

Thanks

John

Bellow is a list of the pear packages that I have installed:

pear-Archive_Tar-1.3.1              =   up-to-date with port
pear-Auth-1.2.3_1                   =   up-to-date with port
pear-Auth_RADIUS-1.0.4              =   up-to-date with port
pear-Auth_SASL-1.0.1_1              =   up-to-date with port
pear-Cache-1.5.4                    =   up-to-date with port
pear-Console_Getopt-1.2             =   up-to-date with port
pear-Crypt_CHAP-1.0.0               =   up-to-date with port
pear-DB-1.7.6,1                     =   up-to-date with port
pear-Date-1.4.3                     =   up-to-date with port
pear-File-1.2.0,1                   =   up-to-date with port
pear-File_Passwd-1.1.5              =   up-to-date with port
pear-File_SMBPasswd-1.0.2           =   up-to-date with port
pear-HTML_Common-1.2.1              =   up-to-date with port
pear-HTML_Select-1.2.1              =   up-to-date with port
pear-HTTP-1.3.6                     =   up-to-date with port
pear-HTTP_Request-1.2.4             =   up-to-date with port
pear-Log-1.8.7                      =   up-to-date with port
pear-MDB-1.3.0                      =   up-to-date with port
pear-Mail-1.1.4                     =   up-to-date with port
pear-Mail_Mime-1.3.0                =   up-to-date with port
pear-Net_DIME-0.3                   =   up-to-date with port
pear-Net_POP3-1.3.6                 =   up-to-date with port
pear-Net_SMTP-1.2.6_1               =   up-to-date with port
pear-Net_Sieve-1.1.1                =   up-to-date with port
pear-Net_Socket-1.0.6               =   up-to-date with port
pear-Net_URL-1.0.14                 =   up-to-date with port
pear-PEAR-1.3.5                     =   up-to-date with port
pear-SOAP-0.9.1                     =   up-to-date with port
pear-Services_Weather-1.3.1         =   up-to-date with port
pear-XML_Parser-1.2.6               =   up-to-date with port
pear-XML_RPC-1.2.2                  =   up-to-date with port
pear-XML_Serializer-0.15.0          =   up-to-date with port
pear-XML_Util-1.1.0                 =   up-to-date with port
php4-pear-4.3.11_2                  =   up-to-date with port


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the horde mailing list