Hy Jason,
I haven't seen the error you gave here in past.
Any exception thrown by Zend_Date which you've mentioned before prints out
the real reason.
In my opinion your error has nothing to do with Zend_Date but depends on
another component or a generic php failure.
It looks like you are handling the exception yourself... in this case we
would need the real exception message.
Also we would need the real file and line if it's a Zend_Date error to
verify it.
Best would be to set a new jira issue with all available data.
Greetings
Thomas Weidner, I18N Team Leader
http://www.thomasweidner.com
----- Original Message -----
From: "Jason Austin" <[EMAIL PROTECTED]>
To: "fw-general" <[email protected]>
Sent: Wednesday, February 06, 2008 8:12 PM
Subject: [fw-general] Zend_Date::__toString throwing exception
Howdy list...
I am having an issue where Zend_Date::__toString is causing an exception
where it shouldn't be. The error I get is
Fatal error: Method Zend_Date::__toString() must not throw an exception in
/my/file/path on line 54
This has just started happening since upgrading our webserver to apache
2.2 with php 5.2.5 and is not consistent (we're using 1.0.3 of the
framework). It only happens once in a while.
After a bit of searching I found this article
(http://framework.zend.com/wiki/display/ZFDEV/6.+Anonymous+Sessions) that
mentions at the end that it may be xpath related, occuring when
Zend_Local_Data reads the data file in a wrong way. However, it doesn't
mention how to solve it. Anyone got any ideas?
Thanks
Jason Austin
NC State University