[dev] moment error

Jan Schneider jan at horde.org
Tue Mar 4 11:26:00 PST 2003


Quoting Amith Varghese <amith at xalan.com>:

> I get the following error when I do the following:
> 
> 1) Create an event
> 2) add an attendee
> 3) view attendee availability
> 4) click the right arrow to view the next day of attendee availability
> 
> [Mon Mar  3 22:48:30 2003] [error] PHP Warning:
> factory(/usr/local/apache/htdocs/horde/moment/lib/View/Object.php) [<a
> href='http://www.php.net/function.factory'>function.factory</a>]: failed
> to
> create stream: No such file
> or directory in /usr/local/apache/htdocs/horde/moment/lib/View.php on
> line 31
> [Mon Mar  3 22:48:30 2003] [error] PHP Warning:  factory() [<a
> href='http://www.php.net/function.factory'>function.factory</a>]: Failed
> opening
> '/usr/local/apache/htdocs/horde/moment/lib/View/Object.php' for inclusion
> (include_path='.:/usr/local/share/pear') in
> /usr/local/apache/htdocs/horde/moment/lib/View.php on line 31
> [Mon Mar  3 22:48:30 2003] [error] PHP Fatal error:  Call to a member
> function
> on a non-object in /usr/local/apache/htdocs/horde/moment/meeting.php on
> line 319

For anyone who wants to track this further down: This happens in meeting.php
in the switch 'default' case, because $view is 'day'. After the factory
call, $view is a Moment_View_day object, casted to the string 'Object' in
templates/meeting/header.inc.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list