I guess what I really need to know is what is the correct way to receive 25
Form Fields and up to 6 files?
I was under the impression I called
$values = $form->getValues();
To get the Form Fields and then I had to foreach thru $files to get each
file and rename it?
$upload = new Zend_File_T
Ugh... Im confused even more than I was. I guess I will scour the web some
more to find a working example. In the mean time I will have the model
upload only 1 image at a time
I updated my Web Hosting Server to 1.8PR I will go over it tonight
Thx
Eric
thomasW wrote:
>
> No.
> I said that
Bingo! This makes life a little tougher for sandbox vs staging vs production
with multiple developers, but I'll work something out. Thank you!
-- Phillip Winn -- http://blogcritics.org/ -- 214/402-9466 --
On Thu, Apr 9, 2009 at 4:05 PM, till wrote:
> On Thu, Apr 9, 2009 at 10:22 PM, pwinn wro
On Thu, Apr 9, 2009 at 10:22 PM, pwinn wrote:
> As soon as I switch from the default session handler (/tmp files, I assume)
> to a DB handler, using this code:
>
> $sessionConfig = array(
> 'name' => 'session',
> 'primary'=> 'id',
>
On Thursday 09 April 2009 23:00:04 till wrote:
> On Thu, Apr 9, 2009 at 10:58 PM, ArthurZend
wrote:
> > Hmmm..
> >
> > I have
> > soap.wsdl_cache_enabled = 1
> > so it should be cachedmaybe the directory is wrong.
>
> Did you restart Apache?
>
> Put this in your view: WSDL Cache:
another ti
On Thu, Apr 9, 2009 at 10:58 PM, ArthurZend wrote:
>
> Hmmm..
>
> I have
> soap.wsdl_cache_enabled = 1
> so it should be cachedmaybe the directory is wrong.
Did you restart Apache?
Put this in your view: WSDL Cache:
Hmmm..
I have
soap.wsdl_cache_enabled = 1
so it should be cachedmaybe the directory is wrong.
Thank you!
beberlei wrote:
>
>
> Then you have probably disabled WSDL caching. The WSDL is of course
> fetched
> via HTTP and therefore takes some time to execute.
>
> you should look for the
Then you have probably disabled WSDL caching. The WSDL is of course fetched
via HTTP and therefore takes some time to execute.
you should look for the wsdl caching ini options in your php.ini
On Thu, 9 Apr 2009 13:23:01 -0700 (PDT), ArthurZend
wrote:
>
> Actually I just checked...the time is s
Actually I just checked...the time is spent just on the instantiation of the
SoapClient:
new SoapClient( "https://aaa.aaa.com/some.wsdl";, array('exceptions' => 0));
Just this line is taking 1 to 2 seconds.
beberlei wrote:
>
> Can you give an example how you authenticate on each request?
>
>
As soon as I switch from the default session handler (/tmp files, I assume)
to a DB handler, using this code:
$sessionConfig = array(
'name' => 'session',
'primary'=> 'id',
'modifiedColumn' => 'modified',
What authentication?
If you authenticate via a token (which is common for stateless SOAP
servers) you can of course cache the token. But when the SOAP Server is
authenticating via stateful sessioning then you don't need to authenticate
in each request. In either case you don't need to cache the S
It appears that I can't cache the SoapClient using Zend_Cache and you can't
in the session either. Since it takes a second or two to authenticate I was
hoping to cache it.
Any suggestions?
Thanks in advance,
Arthur.
--
View this message in context:
http://www.nabble.com/Caching-the-SoapClient
The reason Pear::Mail is working on this server is because it sets the
sendmail flag -f re...@emailaddress.com.
So to get this to work with Zend_Mail I had to add my own default Transport
$tr = new Zend_Mail_Transport_Sendmail('-freturn_to...@example.com');
Now it works
--
View this message in
No.
I said that you don't need to receive the same files two times.
With "getValues()" you said that all files should be received at once.
The value of a file element is the file itself.. and when you say "get me
the file", it's the same as when you say "receive the upload so I can work
with th
-- Jan Pieper wrote
(on Thursday, 09 April 2009, 08:25 PM +0200):
> Today I got 500+ mails (oldest were from 22nd march) from the list and
> most of them were tagged as possible spam. Is it a problem of my
> mailserver or were there any problems to the list?
No problems I'm aware of -- I've seen
thomasW wrote:
>
> Check the latest release 1.8PR1. Several improvements have been
> integrated.
>
> Look if the files are really uploaded (temporary uplaod dir).
>
> Check if you really need to receive the files two times ?
> Because the second call does not work as there is no more file... i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Today I got 500+ mails (oldest were from 22nd march) from the list and most of
them were tagged as possible spam. Is it a problem of my mailserver or were
there any problems to the list?
Best regards,
Jan
-BEGIN PGP SIGNATURE-
Version: GnuPG v
Check the latest release 1.8PR1. Several improvements have been integrated.
Look if the files are really uploaded (temporary uplaod dir).
Check if you really need to receive the files two times ?
Because the second call does not work as there is no more file... is has
already been received.
G
Hi all,
I have been digging around for examples and for reasons why my multiFile
upload wont work. The app submits fine but when it goes to handle the
files I only see the first one upload to the image directory and then it
looks like it just stops?? it never renames the file throws an error
It's utf-8 and that works on Outlook 2003, 2007 and Thunderbird. I didn't
test on other clients.
On Thu, Apr 9, 2009 at 12:51 PM, debussy007 wrote:
>
> Hi,
>
> What is the difference between:
>
> Zend_Mail setEncodingOfHeaders (string $encoding)
> Zend_Mail setHeaderEncoding (string $encodi
Thank you guys. This is very helpful. Yes, I'm a java guy :( I guess it's
obvious.
OK - so here are the real questions based on your responses:
- I actually just realized that the db adapter I'm not even using because
I'm using doctrine so any suggestions on optimizing that would be helpful.
> Check /var/log/maillog or wherever sendmail/postfix/exim complain to.
If believe this is related to my problem:
Apr 9 10:53:36 te5 sendmail[3360]: n39Era2k003360: from=apache, size=373,
class=0, nrcpts=1, msgid=<200904091453.n39Era2k003360@ >,
relay=apa...@localhost
Apr 9 10:53:38 te5 sendmai
-- ArthurZend wrote
(on Thursday, 09 April 2009, 07:45 AM -0700):
> Thank you for the response. I'm probably not being clear about this so let
> me show some code...
> In the following I set up the config, the db_adapter, and the logger. I
> would think that this should only be done once per ser
-- Andrei Iarus wrote
(on Thursday, 09 April 2009, 07:27 AM -0700):
> This page is very important. Using
>
> define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application/'));
>
> set_include_path(
>
> realpath(APPLICATION_PATH . '/../library')
>
> . PATH_SEPARATOR . get_include_pat
On Thu, Apr 9, 2009 at 4:45 PM, ArthurZend wrote:
>
> Thank you for the response. I'm probably not being clear about this so let
> me show some code...
> In the following I set up the config, the db_adapter, and the logger. I
> would think that this should only be done once per server (not per c
Thank you for the response. I'm probably not being clear about this so let
me show some code...
In the following I set up the config, the db_adapter, and the logger. I
would think that this should only be done once per server (not per call). I
would think that the bootstrap would call into a si
On Thu, Apr 9, 2009 at 4:20 PM, hglattergotz wrote:
>
> Hello,
>
> I followed the basic example for using Zend_Mail from the documentation
> http://framework.zend.com/manual/en/zend.mail.html but the send() method
> throws an exception because PHP's mail() function returns false:
Check /var/log/m
On Thu, Apr 9, 2009 at 4:27 PM, Andrei Iarus wrote:
> (...)
> I just dont understand: is autoloader faster that a lot of require_once?
It all depends!
require_once evaluates and double-checks that the file you are
including has not been included before.
In contrast to include_once, require_once
On Thu, Apr 9, 2009 at 4:16 PM, ArthurZend wrote:
>
> I am confused about some of the fundamentals here
>
> The bootstrap.php file gets called everytime a call is made to the server
> (controller).
>
> In several of the examples I have seen we appear to be doing the following
> in the bootstra
This page is very important. Using
define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application/'));
set_include_path(
realpath(APPLICATION_PATH . '/../library')
. PATH_SEPARATOR . get_include_path()
);
instead of
define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../applica
Hello,
I followed the basic example for using Zend_Mail from the documentation
http://framework.zend.com/manual/en/zend.mail.html but the send() method
throws an exception because PHP's mail() function returns false:
PHP Fatal error: Uncaught exception 'Zend_Mail_Transport_Exception' with
mess
I am confused about some of the fundamentals here
The bootstrap.php file gets called everytime a call is made to the server
(controller).
In several of the examples I have seen we appear to be doing the following
in the bootstrap (or at least this is what is recommended):
- setting up the
On Thu, Apr 9, 2009 at 2:45 PM, Bart McLeod wrote:
> shell_exec returns the output from the shell, any chance that is outputting
> something?
>
> -Bart
Yeah, so I narrowed it down to a system() call (in another method
which is used in the first) -- supposedly trapped in ob_start() and
ob_end_clea
Try searching at googlecode also. A couple of projects I've studied before
are
http://code.google.com/p/madoqua/source/browse/
and
http://code.google.com/p/digitalus-cms/source/browse/
-- Mon
On Thu, Apr 9, 2009 at 5:36 PM, Shaun Farrell wrote:
> Try doing a search on github for zend or ze
On Thu, Apr 9, 2009 at 6:06 PM, keith Pope wrote:
>
> Also read the performace guide see if there is anything in there that
> might help you :)
> --
> --
> [MuTe]
>
shell_exec returns the output from the shell, any chance that is
outputting something?
-Bart
till schreef:
On Thu, Apr 9, 2009 at 12:41 PM, Matthew Weier O'Phinney
wrote:
-- till wrote
(on Thursday, 09 April 2009, 11:36 AM +0200):
I've updated one of our nodes to Apache 2.2.11 and
On Thu, Apr 9, 2009 at 12:44 PM, Matthew Weier O'Phinney
wrote:
> -- till wrote
> (on Thursday, 09 April 2009, 12:26 PM +0200):
>> On Wed, Apr 8, 2009 at 11:26 PM, Yannick Mortier
>> wrote:
>> > Hello!
>> >
>> > I have got a question for the list... I hope it wasn't asked
>> > already... (I goog
On Thu, Apr 9, 2009 at 12:41 PM, Matthew Weier O'Phinney
wrote:
> -- till wrote
> (on Thursday, 09 April 2009, 11:36 AM +0200):
>> I've updated one of our nodes to Apache 2.2.11 and PHP 5.2.9 today,
>> since then I've been getting the following error:
>>
>> [Wed Apr 08 14:21:14 2009] [error] [cli
there is no difference. they both do the same, the first method
"setEncodingOfHeaders" is marked @deprecated. It sadly got into a 1.7 release,
but is not following the consistent naming schema of ZF.
It will be removed in 2.0. So you should really just only use
setHeaderEncoding().
On Thursday
2009/4/9 antonis
> thank you both for your suggestions.
> dojo.io.iframe was indeed the way forward.
>
> Any pointers on how to allow for server validation?
>
Zend_File_Transfer works anyway, also using iframes to make the http
request.
--
Giorgio Sironi
Piccolo Principe & Ossigeno Scripter
h
Hi,
What is the difference between:
Zend_Mail setEncodingOfHeaders (string $encoding)
Zend_Mail setHeaderEncoding (string $encoding)
Both methods are defined in the Zend_Mail class.
And what should the string be ?
"utf8" / "utf-8" / "UTF8" / "UTF-8" / ...
And finally third and last ques
-- till wrote
(on Thursday, 09 April 2009, 12:26 PM +0200):
> On Wed, Apr 8, 2009 at 11:26 PM, Yannick Mortier
> wrote:
> > Hello!
> >
> > I have got a question for the list... I hope it wasn't asked
> > already... (I googled around a little bit but didn't find much.)
>
> Probably the most famou
-- till wrote
(on Thursday, 09 April 2009, 11:36 AM +0200):
> I've updated one of our nodes to Apache 2.2.11 and PHP 5.2.9 today,
> since then I've been getting the following error:
>
> [Wed Apr 08 14:21:14 2009] [error] [client 10.0.0.10] PHP Fatal error:
> Uncaught exception 'Zend_Controller_R
On Wed, Apr 8, 2009 at 11:26 PM, Yannick Mortier
wrote:
> Hello!
>
> I have got a question for the list... I hope it wasn't asked
> already... (I googled around a little bit but didn't find much.)
Probably the most famous currently:
http://www.magentocommerce.com
Then I know off:
http://www.tine
you may want to checkout:
http://weierophinney.net/matthew/archives/201-Applying-ACLs-to-Models.html
2009/4/9 holografix . :
> Hi
>
> There's a proposal in laboratory:
> http://framework.zend.com/wiki/pages/viewpage.action?pageId=39025
>
> Cheers
> holo
>
>
> 2009/4/9 till
>>
>> 2009/4/9 Thomas
2009/4/9 till :
> On Thu, Apr 9, 2009 at 11:11 AM, Andrei Iarus wrote:
>> Hello everyone,
>>
>> I have noticed that Zend Form part of Framework is being executed extremely
>> slow. Comparing to the same form being implented with no framework, here are
>> the results (the layout part load time is a
Hi
There's a proposal in laboratory:
http://framework.zend.com/wiki/pages/viewpage.action?pageId=39025
Cheers
holo
2009/4/9 till
> 2009/4/9 Thomas VEQUAUD :
> >
> > Actually I use it in a View Helper and I defined my controllers as
> > Zend_Acl_Resource and actions as privileges ...
> > Then,
Hi Yannick,
>I wanted to ask if there are some finished open source applications
>that use Zend Framework.
take a look at conjoon (http://www.conjoon.org) - it's a personal information
manager which uses PHP /Zend Framework as the backend and Ext JS for creating
the UI.
Best regards
Thorst
Try doing a search on github for zend or zendframework.
On 4/8/09, Yannick Mortier wrote:
> Hello!
>
> I have got a question for the list... I hope it wasn't asked
> already... (I googled around a little bit but didn't find much.)
>
> I wanted to ask if there are some finished open source applica
Hi,
I've updated one of our nodes to Apache 2.2.11 and PHP 5.2.9 today,
since then I've been getting the following error:
[Wed Apr 08 14:21:14 2009] [error] [client 10.0.0.10] PHP Fatal error:
Uncaught exception 'Zend_Controller_Response_Exception' with message
'Cannot send headers; headers alre
Hi,
You may want to read this:
http://ishouldbecoding.com/2008/11/05/scaling-zend_form
http://ishouldbecoding.com/2009/04/03/zend_form-and-zend_loader_pluginloader-snafu
Though this is really for large forms, I have similar forms to what
you describe with no problems.
2009/4/9 Andrei Iarus :
>
On Thu, Apr 9, 2009 at 11:11 AM, Andrei Iarus wrote:
> Hello everyone,
>
> I have noticed that Zend Form part of Framework is being executed extremely
> slow. Comparing to the same form being implented with no framework, here are
> the results (the layout part load time is also included here, for
When submitted, your form send you string data... So you need to cast it
before inserting them into your table.
In your case : $qry->cod_ibge = (int)$formData['cod_ibge'];
On Wed, Apr 8, 2009 at 2:00 PM, helderfelipe wrote:
>
> im trying to do this
>
> $qry = $cidadeModel->createRow();
> $qry->i
Hello,
thank you both for your suggestions.
dojo.io.iframe was indeed the way forward.
Any pointers on how to allow for server validation?
Any examples/pointers will be very helpful.
Thanks
Giorgio Sironi wrote:
>
> 2009/4/7 antonis
>
>> I'm trying to make an ajax submission when upl
2009/4/9 Thomas VEQUAUD :
>
> Actually I use it in a View Helper and I defined my controllers as
> Zend_Acl_Resource and actions as privileges ...
> Then, in my controllers I just need to call
> $this->view->myAcl()->isAllowed($user_roles, $controller, $action)
I can second this, but I'm adding th
Actually I use it in a View Helper and I defined my controllers as
Zend_Acl_Resource and actions as privileges ...
Then, in my controllers I just need to call
$this->view->myAcl()->isAllowed($user_roles, $controller, $action)
2009/4/8 Elvin Şiriyev
> is there any example code about Zend_Acl for
Hello everyone,
I have noticed that Zend Form part of Framework is being executed extremely
slow. Comparing to the same form being implented with no framework, here are
the results (the layout part load time is also included here, for both columns):
Just loading the form (no submit):
with fr
Hi Folks!
This is not a very specific ZF question but hopefully I can solve my
problem with the help of it, e.g. with Zend_Date and Zend_Db.
I have this requirements:
In a system where restaurants can define their opening times and people
can book an offer/appointment with them, I need to kno
58 matches
Mail list logo