Leif,

On 9/6/07, Leif Wells <[EMAIL PROTECTED]> wrote:
>
> The error message I am getting (intermittently) is:
> " Element TITLE is undefined in EVENT."
>
> Obviously, this means that somehow either the event object is not getting
> created or that there is no title property in the object. Or at least that
> is what I think is going on.


It's pretty certain that it's the latter: no TITLE. Otherwise, the error
message would  refer to the lack of an EVENT. But EVENT could simply be an
empty struct.

Since the code you included doesn't go into how the EVENT is retrieved (it's
just getEvent() or getNextEvent()), there's no way for us to know exactly
what's up.

Could you try dumping the EVENT object to see if the TITLE is always there?

I'm guessing that the "event.title" variable is the first instance of an
EVENT attribute within the page. You could try commenting it out and see if
the error occurs again, this time with a reference to whatever the next
EVENT property referenced in the page is.

What seems most likely is that getEvent() is not returning the struct you're
expecting.


-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560



-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to