Re: Attendee Availablity
"Ilya A. Volynets-Evenbakh" <[email protected]> Wed, 29 Oct 2003 09:38:20 -0800
| Newsgroups | gmane.comp.horde.moment |
|---|---|
| Organization | Total Knowledge |
| Message-ID | <[email protected]> |
--=-Jn+Pl4LcUnqBR0KGl8R5 Content-Type: text/plain Content-Transfer-Encoding: 7bit Little further investigation showed that includeing calendar *before* registering application (which starts the session, apparently). Fixes the problem. Patch attached. On Wed, 2003-10-29 at 09:18, Ilya A. Volynets-Evenbakh wrote: > I have run into exact same problem, and even traced it further: > It appears that somehow lines below don't do what they are intended to > do: > // iCalendar. > require_once HORDE_BASE . '/lib/iCalendar.php'; > Horde_iCalendar::includeComponentClasses(); > > Alternatively, it may be that they are called too late in sequence of > events. I think that needed classes *are* loaded (I made respective test > outputs in includeComponentClasses). > > Ilya. > > On Sun, 2003-02-02 at 09:30, Dan Wilson wrote: > > I've been testing the moment app, and it is looking pretty sweet... on thing I > > have run into is that each time I try to view the attendee availability, I get > > a fatal error on all three views: > > > > Fatal error: Call to a member function on a non-object > > in /home/dan/public_html/dev_horde/moment/lib/View/workweek.php on line 105 > > > > I've traced this back to the _requiredMembers member variable of the View > > class, but was unable to get much further. I think it has something to do > > with the cache... either not querying the data or not. > > > > The first thing (to avoid the error message) was to check if the $member > > variable was empty. > > > > But that doesn't help much when it's not pulling back any data. > > > > -Dan > > > --=-Jn+Pl4LcUnqBR0KGl8R5 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- moment mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected] --=-Jn+Pl4LcUnqBR0KGl8R5--