Hy Cameron,
Why should the first catch, catch anything when there is a failure ?
According to manual, receive() returns a false on failure, not an exception.
Also you are calling getFileName in any case, regardless if the form is
valid or not.
Greetings
Thomas Weidner, I18N Team Leader, Zend
Cameron,
when you have unexpected exceptions somewhere in your code it's always
usefull to get the whole exception and not only the rethrown content.
This would be really helpfull, not only for ZF but for every generic problem
where exceptions are thrown.
Greetings
Thomas Weidner, I18N Team
Hi,
I'm currently working on a script to take mail from a pop3 server.
Everything works correctly excepted to get back an attached file. In
fact I can't find the name of attached file.
this is the code I have (directly inspired from doc):
echo $mail->countMessages() . " messages found\n";
-- Superbiji ยป wrote
(on Tuesday, 16 December 2008, 01:58 PM +0700):
> Hmmm it works by adding these:
>
> Zend_Dojo_View_Helper_Dojo::setUseDeclarative();
>
> and
>
> $this->dojo()->setDjConfigOption('parseOnLoad',true)
>
> I think setusedeclarative should be default option for zend/dojo
FWIW, I'd like to see something like this.
-Matt
On Tue, Dec 16, 2008 at 2:35 AM, Colin Guthrie wrote:
> 'Twas brillig, and Colin Guthrie at 11/12/08 11:54 did gyre and gimble:
>
>> Hi,
>>
>> I'm in the position where I'd like to use XSLT scripts to render parts of
>> my output (probably partial
Yeah ok, so that's all a bit messy/broken, but I've cleaned it up and it's
still doing the same thing:
here's the cleaned up code in a pastebin:
http://pastebin.com/m5bab1a44
the output is:
Array ( [0] => bbbThe given destination is no directory or does not exist )
To test and make sure, i rev
'Twas brillig, and Matthew Ratzloff at 16/12/08 16:47 did gyre and gimble:
FWIW, I'd like to see something like this.
I had another message off list with a "that would be interesting" type
response, so I'll see what i can knock up over the holidays (assuming my
workload is eased somewhat!)
Matthew Weier O'Phinney-3 wrote:
>
> Two words: sub forms. addSubForm() takes *either* a Zend_Form or
> Zend_Form_SubForm. :) instance..
>
Of course simple now!
Out of interest when you combine the form in the model how to you handle
feedback to the user / catching of a result in the applicat
'Twas brillig, and Colin Guthrie at 11/12/08 11:54 did gyre and gimble:
Hi,
I'm in the position where I'd like to use XSLT scripts to render parts
of my output (probably partials).
In order to achieve this, I think it makes sense to create a
Zend_View_Xslt class that implements Zend_View_Int
Hi All
I have got used to using the custom error messages with form elements e.g.
$this->addElement('text', 'name', array('label' => 'Name',
'errormessages' =>
array('Please make an entry for name'),
The base URL is the part that sits between the host name and index.php in
your URL. If your page is at http://localhost/controller/action, it gets
rewritten into http://localhost/index.php/controller/action by the webserver
before being passed to PHP, so your base URL is rightfully blank. If you're
Have you gotten any answers on this?
I am having the same issue and cannot get the name attribute to be set.
I am using 1.5 of the framework.
notmessenger wrote:
>
> I know I've seen this answer somewhere before on this list, but I cannot
> find it anywhere (archives or my own copies of the em
$form->addAttribs(array('name' => 'formname')); ?
On Wed, Dec 17, 2008 at 9:24 AM, maxarbos wrote:
>
> Have you gotten any answers on this?
> I am having the same issue and cannot get the name attribute to be set.
>
> I am using 1.5 of the framework.
>
>
> notmessenger wrote:
> >
> > I know I've
Thanks, but unfortunately no.
That changes the name of the ID to what i want my form name to be, but still
does not set a 'name' attribute.
Thank you.
Themselves wrote:
>
> $form->addAttribs(array('name' => 'formname')); ?
>
> On Wed, Dec 17, 2008 at 9:24 AM, maxarbos wrote:
>
>>
>> Have yo
here's the full $e.
http://pastebin.com/m5d442e15
the line in my code, line 83, that is definitely where it is calling
$adapter->getFileName().
On Tue, Dec 16, 2008 at 7:01 PM, Thomas Weidner wrote:
> Cameron,
>
> when you have unexpected exceptions somewhere in your code it's always
> usefull
-- maxarbos wrote
(on Tuesday, 16 December 2008, 04:37 PM -0800):
>
> Thanks, but unfortunately no.
> That changes the name of the ID to what i want my form name to be, but still
> does not set a 'name' attribute.
The "name" attribute is deprecated in HTML 4.01, and invalid with XHTML
1.0. You c
Cameron,
to go further with debugging you can see that your exception is called in
the file Abstract on line 948.
Now simply output the destination directory on line 947 so you can see which
directory you set.
Then check if the directory which is set there
* does exist
* has write access
Do
17 matches
Mail list logo