It is possible to obtain a 'log' (or a transaction record) for each
SMTP transaction. You need to access the transport object from the
SMTP using
getConnection() object and you can retrieve it using the getLog()
method.
Cheers
-- Dan Rossi <[EMAIL PROTECTED]> wrote
(on Wednesday, 14 Novem
Hey Dan,
That's really not how you're supposed to do it. You should rather set
your own errorcode in the constructor when throwing the exception.
In my application (namely within a given controller) I throw an
exception like this:
// [...]
throw new Zend_Controller_Exception("Oops! You're n
Not to mention, constants are not possible to be defined using a variable or
the return value of a function in other strict languages. For instance, the
following are forbidden in many languages:
constant C_TIME = time();
constant C_VAR = $value;
PHP is bit forgiving, accomodating and flexible in
Alright its fairly easy anyway, im not sure if i have the time to be a
maintainer for anything though.
On 14/11/2007, at 2:23 PM, Matthew Weier O'Phinney wrote:
-- Dan Rossi <[EMAIL PROTECTED]> wrote
(on Wednesday, 14 November 2007, 12:11 PM +1100):
Hi I generally use PEAR Log for these thing
-- Dan Rossi <[EMAIL PROTECTED]> wrote
(on Wednesday, 14 November 2007, 12:11 PM +1100):
> Hi I generally use PEAR Log for these things but is there an smtp logger
> driver built yet for Zend_Log or do a i have to implement one myself ?
Currently we do not have one. If you write, please consider
Matthew,
I played around with your prototype in the lab and I really like it. It was
simple to setup and adds a lot of function to my forms at the same time. Its
also helping me understand how the validators and filters tie in and how to
utilize them. Surely a lot of the credit is due to those th
Hi I generally use PEAR Log for these things but is there an smtp
logger driver built yet for Zend_Log or do a i have to implement one
myself ?
Hi Darby,
I confirm it works for me now.
Thanks for the quick fix, Wil.
-- Simone
On Nov 13, 2007 8:03 PM, Darby Felton <[EMAIL PROTECTED]> wrote:
> Hi Wil,
>
> Thanks, that seems to have fixed it for me. :) Maybe others can confirm?
>
> Best regards,
> Darby
>
> Wil Sinclair wrote:
> > I have
Hi Wil,
Thanks, that seems to have fixed it for me. :) Maybe others can confirm?
Best regards,
Darby
Wil Sinclair wrote:
> I have seen those errors come up sporadically in the JIRA logs. This
> simply indicates that JIRA timed out while waiting for data on the
> fisheye API connection. The timeo
-- Michael B Allen <[EMAIL PROTECTED]> wrote
(on Tuesday, 13 November 2007, 12:50 PM -0500):
> On 11/13/07, Tobias Gies <[EMAIL PROTECTED]> wrote:
> > defining constants at runtime is not a part of the ZF coding standards for a
> > good reason! The way you use constants there is really abusive. Con
I have seen those errors come up sporadically in the JIRA logs. This
simply indicates that JIRA timed out while waiting for data on the
fisheye API connection. The timeout was set to 1 sec, so I just bumped
it up to 10 sec to reduce the frequency this error. Please let me know
if the fisheye tab co
On 11/13/07, Tobias Gies <[EMAIL PROTECTED]> wrote:
> Hey Michael,
>
> defining constants at runtime is not a part of the ZF coding standards for a
> good reason! The way you use constants there is really abusive. Constants
> are there to contain ONSTANT values, not to be created at runtime. I cant
As I already said, Zend_Date uses your locale for parsing the date.
If you do not provide your locale all we can do is expecting.
Greetings
Thomas
- Original Message -
From: "Taylor Andrew" <[EMAIL PROTECTED]>
To: "Thomas Weidner" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, November 13, 2
Hi,
I don't disagree with anything you've said; especially:
> If you say you are using an IMAP client which is not conform
> to IMAP your only way would be to search the inputformat and fix it...
And
> Anyway... Zend_Date is no magican... it is not able to parse
> all dates without knowing w
Hy Taylor,
Looking into the IMAP specification the date format used for within the
fields is always RFC2822 which is a child of RFC822.
So all you have to do is setting the input format to Zend_Date::RFC_2822.
See http://tools.ietf.org/html/rfc3501
If you say you are using an IMAP client which
Hi Simone,
I confirm the problem from my end. Maybe Wil can help us figure out
what's happening?
Best regards,
Darby
Simone Carletti wrote:
> When I try to open FishEye tab for a ticket I get a Java exception.
> See for example
> http://framework.zend.com/issues/browse/ZF-507?page=com.cenqua.fis
When I try to open FishEye tab for a ticket I get a Java exception.
See for example
http://framework.zend.com/issues/browse/ZF-507?page=com.cenqua.fisheye.jira:fisheye-tabpanel
Error communicating with FishEye: java.net.SocketTimeoutException: Read
timed out
Anyone else could confirm the problem
Hy,
it depends on your locale setting.
I don't know what your locale setting is, but if you do not give the input
format your set locale will be used to determinate the input format.
So I expect that your default date format is something like "/MM/dd" and
Zend_Date tries to automatically
Hi,
I'm not sure that would work, as not all messages that I'm seeing match
the specification. On another note; why would this work for one and not
the other:
> 4 Nov 2005 11:05:21 - = 2005-04-11 11:05:21
> 7 Nov 2005 09:41:49 - = 2005-11-07 09:41:49
The formats of those strings are ide
Define the input format if you are not using the standard locale format as
inputstring.
$zd = new Zend_Date($message->date, Zend_Date::RFC_822);
Greetings
Thomas
- Original Message -
From: "Taylor Andrew" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, November 13, 2007 12:09 PM
Subject: [fw
hi gunter,
it's not a class, just an action. it works for me:
protected function uploadAction()
{
define ("UPLOADS_PATH", "../uploads/");
$err_msg="";
$html = "";
$name = $_FILES["file"]["name"];
$type
Hi,
I'm trying to parse dates from a Zend_Mail IMAP message. This code seems
to be the most succinct example:
$zd = new Zend_Date($message->date);
echo $message->date.' = '.$zd->toString('-MM-dd HH:mm:ss').'';
This simple example outputs the below based on 4 email messages:
4 Nov 2005 11:0
Hey Michael,
defining constants at runtime is not a part of the ZF coding standards for a
good reason! The way you use constants there is really abusive. Constants
are there to contain ONSTANT values, not to be created at runtime. I cant
see why you can't just put your values into variables; this
Hi Gunter,
See the proposal from Thomas Weidner:
http://framework.zend.com/wiki/display/ZFPROP/Zend_Http_Upload+-+Thomas+Weidner
Gunter Sammet schreef:
Thanks for the info. Will have a look at it down the road. Not for my
current project though because the Magento licence doesn't match my
des
Thanks for the info. Will have a look at it down the road. Not for my
current project though because the Magento licence doesn't match my
desired licencing.
On Nov 13, 2007 1:15 AM, Laurent Melmoux <[EMAIL PROTECTED]> wrote:
> Hi,
>
> you can have a look at Varien_File_Uploader in the magento eco
Hi,
you can have a look at Varien_File_Uploader in the magento ecommerce
platform : http://www.magentocommerce.com/
--
Laurent Melmoux - [EMAIL PROTECTED]
Annecy - France
Gunter Sammet a écrit :
Hi all:
Does anybody already have written an upload class for Zend Framework?
If yes, would it b
26 matches
Mail list logo