[horde] Using Horde from a custom website --> Cannot redeclare _pear_call_destructors()
Jan Schneider
jan at horde.org
Mon Jul 26 16:36:50 UTC 2010
Zitat von roman stachura <roman at stachura.ch>:
> Hi
>
> I like to use the kronolith Application inside my website.
>
> As described here:
> http://wiki.horde.org/Doc/Dev/LegacyApps?referrer=Doc/Dev/Registry#
> Things work well. -->
> http://www.stadttheater-olten.ch/groupware/kronolith.php
>
> But as soon as I integrate in my own code:
> *Fatal error*: Cannot redeclare _pear_call_destructors() (previously
> declared in PEAR.php:773) in *PEAR.php* on line *777*.
>
> The first $registry->call('calendar/listCalendars'); leads to:
> Cannot redeclare _pear_call_destructors().
>
> So how do I tackle this one?
You have a "require 'PEAR.php';" somewhere where you should use
require_once instead.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the horde
mailing list