[horde] Debugging my problems - Big one solved

Michael M Slusarz slusarz at bigworm.colorado.edu
Tue Jan 14 18:36:28 PST 2003


Quoting Rob Brandt <bronto at csd-bes.net>:

| I have two remaining issues that need resolution.  I still can't get
| mime-magic
| to show as loaded.  I have asked about this on many lists, including the
| php-install and the YellowDogLinux support list, which is the distro I
| use.  Not
| many have confessed to using mime-magic.  On the YDL list, someone
| pointed out
| that the php docs say on the intro page to the mime section that those
| functions
| are only available in php 4.3 and higher.  I pointed out that this must
| not have
| been applicable to mime-magic, since the Horde requirements say that
| mime-magic
| is required and a minimum of PHP 4.2.1 is required.  He searched the php
| sources
| and verified (according to him) that there are no mime-magic sources
| included.
| So, what in fact is the requirement, and do the mime-magic functions work
| in PHP
| 4.2.2.  If so, can someone with a linux installation verify whether a .so
| file
| is required to be loaded with php.ini.  I've googled looking for sources
| for
| mime-magic, with no luck.

mime-magic is not _required_, it is simply used if it is available.

| Second issue is that many of the horde applications, including IMP, show
| the
| "Warning: Invalid argument supplied for foreach() in
| /var/www/html/horde/imp/lib/Folder.php on line 147"
| error.  I've read the threads about this, that the IMP conf.php needs to
| be
| reloaded from the XML file, and I have reinitialized conf.php, even
| comparing
| afterwards the XML and php files to make sure they have all the same
| entries,
| and that the values for each are correct.  I've also verified that my
| horde
| configuration files are up to date, and are as far as I can tell.  Since
| the
| error appears in many of the modules, that implies to me that it's a
| horde conf
| problem, not specifically IMP.  It also may be a result of mime-magic not
| working
| yet; I don't know.

Try updating your imp/config/servers.php file.  This has been reported by
several users and has either been fixed by updating via CVS or updating the
config files.

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the horde mailing list