Zend_File_Transfer does not use output buffering.
Maybe you're having a webserver config problem because the limitations for
uploading files are normally by the client or webserver.
The uploaded file itself is only available after the transfer has been
completed.
Zend_File_Transfer can also ha
By default, ZF included data buffering.
What better way to turn off buffering for a specific action to transfer
large files?
--
View this message in context:
http://www.nabble.com/disable-output-buffering-for-file-transfer-tp20475737p20475737.html
Sent from the Zend Framework mailing list archiv
Is there anyone who has integrated spaw editor in zend framework?
I am trying to integrate spaw editor in zend framework.
I am using register autoload to load classes automatically.
Zend_Loader::registerAutoload();
Now the problem I am getting is when I integrate spaw editor using following
co
Development:
->
PHP version 5.2.6
SPL present
IteratorAggregate present
Production 1: (which gives "IteratorAggregate not found error" in error log)
->
PHP version 5.2.6
SPL present
IteratorAggregate present
Production 2: (which stops execution on action helperBroker::addP
Run this on both your development machine and the production machine that's
having issues:
#!/usr/bin/php
> Hi Till,
>
> SPL is installed and enabled as default as Matthew mentioned. And all the
> extentions are fine. You may check by yourself;
> http://sergistan.com/server.php
>
> 13 Kasım 2008
Hi Till,
SPL is installed and enabled as default as Matthew mentioned. And all the
extentions are fine. You may check by yourself;
http://sergistan.com/server.php
13 Kasım 2008 Perşembe 01:20 tarihinde till <[EMAIL PROTECTED]> yazdı:
> 2008/11/12 kirpit <[EMAIL PROTECTED]>:
> > Hi Matthew,
> >
>
2008/11/12 kirpit <[EMAIL PROTECTED]>:
> Hi Matthew,
>
> Thank you for the reply.I have tried on two different shared hosts. Both
> stucks on action helper line in bootstrap. Both doesn't look like
> having Gentoo whatever, both is running PHP 5.2+ and both are SPL enabled.
> I'm sorry to say that
On Wed, Nov 12, 2008 at 8:31 PM, Matthew Weier O'Phinney
<[EMAIL PROTECTED]> wrote:
> (...)
> BTW, Gentoo notoriously disables SPL in their defaults builds -- you
> have to add it as an emerge option.
Just for the record - FreeBSD does that as well, you have to build spl
via the meta port lang/php
Hi Matthew,
Thank you for the reply.I have tried on two different shared hosts. Both
stucks on action helper line in bootstrap. Both doesn't look like
having Gentoo whatever, both is running PHP 5.2+ and both are SPL enabled.
I'm sorry to say that but i'm kind of pissed off with ZF here... I don't
After one week of using this release I do not consider it stable enough for
production use. I have reverted back to 1.0.3 now.
Some lovely new features in there but productivity is down whilst you try to
figure out how todo/configure things.
Looking forward to the next alpha/beta release.
You c
Hi,
Is it better that I switch to 1.7PR then?
Cheers,
- Robert
-Original Message-
From: Thomas Weidner [mailto:[EMAIL PROTECTED]
Sent: 12 November 2008 17:45
To: fw-general@lists.zend.com
Subject: Re: [fw-general] Problem with Zend_Locale, UTF-8, setLocale on
Windows
This was one of
Didn't get to it today, but didn't forget about it either. I am looking
for the simplest possible implementation of your use case.
Bart
Cameron schreef:
So you don't have to recreate it, the Autocomplete Helper
is as follows. It's a cut and paste of the work some other wonderful
gentleman did
Hi James,
Code below just works, no need for events to attach.
Bart
/*text field*/
$fck = new SpaceCMS_Form_Element_Fck('text');
$fck->setLabel('text');
$this->addElement($fck);
/*class:*/
require_once(WEBROOT.'/fckeditor/fckeditor.php');
class SpaceCMS_Form
I am able to change the session lifetime using session_gc*, but what
desired behavior is:
1. user logins without clicking the 'remember me' checkbox then their
session TTL should be the default 1440
2. if the user clicks the 'remember me' checkbox then they session TTL
should be over
-- kirpit <[EMAIL PROTECTED]> wrote
(on Wednesday, 12 November 2008, 07:05 PM +0200):
> I'm trying to install my first ZF project to many production server and it
> looks like ZF is only for development enjoyment. No one had any idea about
> following issue;
> http://www.nabble.com/
> Interface-'It
This was one of the reasons why we had to change the implementation.
Browser locales are not allowed to have environment attached especially then
when you have multiple servers with probably different environment settings.
But as it's a BC break it was not allowed for 1.6...
1.7 (trunk) behaves
Are you trying to do more than one file at a time? Studio shouldn't have a
problem with that; I've done it myself on a fairly long script. The way I
typically do this is wait until I have to work on the file, reformat it,
*commit changes* so that programmatic changes aren't lost in the noise, an
Thank you for the reply although I havent got time to complete this to day im
sure this approach will work.
For anyone reading this who wants help creating the onSubmit event I have
found this article which clearly explains how this can be achieved.
http://codeutopia.net/blog/2008/04/04/client-s
Hello,
I am building my first application in zend framework. My aim is to build a
cms. Each page will have a text block that can be edited via fck editor.
I cannot figure out how to setup fckeditor in a zend form and save data from
it back to the database.
Any help would be greatly appreciated.
Hi,
I'm trying to install my first ZF project to many production server and it
looks like ZF is only for development enjoyment. No one had any idea about
following issue;
http://www.nabble.com/Interface-'IteratorAggregate'-not-found-error-in-production-server-td20431706.html
So i'm trying to inst
No, it's not really a bug. :-)
upload_tmp_dir is used by php when it get the file from your webserver.
When you call "receive" on the file adapter, the file is already there, in
this temporary location.
Only, when you forget to set a destination, the file adapter tries to detect
a directory w
-- james_fortune <[EMAIL PROTECTED]> wrote
(on Wednesday, 12 November 2008, 08:43 AM -0800):
> I am currently creating a cms. A text area on each page of the site will be
> editable via fck editor however I am not sure how to put fck editor into a
> form and save the content back to the database.
>
Hello,
I am currently creating a cms. A text area on each page of the site will be
editable via fck editor however I am not sure how to put fck editor into a
form and save the content back to the database.
I have been trying to do this for a while now and am getting nowhere so
anyhelp would be g
Hi,
I am using exactly the same ZF application code on Linux & Windows.
If I run the following code (taken from the manual) on Windows:
$locale = new Zend_Locale();
// Return all default locales
$found = $locale->getDefault();
print_r($found);
// Return only browser locales
$found2 = $locale->g
Eigher you use browser settings which means that you stick on
HTTP_ACCEPT_LANGUAGE
or you stick with environment, which means LC_ALL.
The browser uses the locale 'browser' within Zend_Locale.
Also Zend_Locale has no getList() method.
As you mentioned "Registry Locale"... do you mean setting the
Hi,
It seems that in 1.6.2 Zend_Locale doesn't handle well under Windows.
Zend_Locale is using
$language = setlocale(LC_ALL, 0);
in the getEnvironment function
Using the same browser to access two systems I get:
On my Windows ZF system this will return:
Array
(
[0] => LC_COLLATE
It seems crystal clear to me that a method called getFileName should
either return a filename or a null/false if there is no file.
Otherwise the name of the method is a misnomer. When no file is
present, getFileName returns the destination path (which is already
accessible with getDestinati
Hi,
It seems that in 1.6.2 Zend_Locale doesn't handle well under Windows.
Zend_Locale is using
$language = setlocale(LC_ALL, 0);
in the getEnvironment function
On my Windows system this will return:
This email has
No, your assumption is wrong. :-)
When you say "Ignore when there is no file uploaded",
why should receive then say "Failure, there is no file uploaded" ?
The return value of receive does only return true when something has not
worked.
By saying "ignore it", you said "even if I know that it doe
Thanks for your help on this. It is much appreciated.
I think it's pretty reasonable to think the construct "if ($this-
>my_file->receive())" should return true only if the file is actually
*received.* What else would a person conceivably be receiving? Whether
or not the upload is required o
Hey all,
I have a link http://www.example.com/banners where i am displaying some
tabelar stats about number of banners.
In movie category i have 3 banners. I would like to click on this number(3)
and that zend_dojo nicely do the job :)
Basicly i would like to display those 3 banners from the movie
Why don't you simply set a destination like shown in the manual ? ;-)
->setDestination('my/destination/path');
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
- Original Message -
From: "Vladas Diržys" <[EMAIL PROTECTED]>
To: "fw-general"
Sent:
No you havn't. ;-))
You said that you are working with trunk.
The manual you can download near 1.7 preview, is the manual for the 1.7
preview release. It is related to this download... you have mentioned this
yourself. ;-)
They differ a few weeks. Based on the userfeedback we have done chang
Hello,
I have a problem on a unix server using Zend_File_Transfer
(Zend_Form_Element_File).
I try to upload a file and i get an exception "The given destination is no
directory or does not exist".
In general the reason for this error is that I'm using different
'upload_tmp_dir',
but the _getTmpD
-- O'BRIEN, Steven X <[EMAIL PROTECTED]> wrote
(on Wednesday, 12 November 2008, 10:14 AM -):
> The use of __call on php classes feels like it should be bad practise
> to me. Am I missing something?
>
> A few thoughts...
>
> #1 won't __Call be called every time any method is called on the
> o
It's only bad if you abuse it.
If used properly it allows you to create more user friendly interface and
avoid bloat.
The implementation may be harder to understand so it's sometimes a trade
off,
but many people appreciate features that allow to write less verbose and
more dynamic code.
Karol
-- Cameron <[EMAIL PROTECTED]> wrote
(on Wednesday, 12 November 2008, 06:51 PM +0900):
> So you don't have to recreate it, the Autocomplete Helper is as follows. It's
> a
> cut and paste of the work some other wonderful gentleman did, and I turned off
> the validator because i was lazy.
BTW, the
-- Jurriën Stutterheim <[EMAIL PROTECTED]> wrote
(on Wednesday, 12 November 2008, 07:10 AM +0100):
> I'm currently working on getting some code somebody else wrote to comply
> with the ZF coding standards. What would be the best way to convert an
> entire project to the ZF coding standards? ZSfE
Guys,
The use of __call on php classes feels like it should be bad practise to me.
Am I missing something?
A few thoughts...
#1 won't __Call be called every time any method is called on the object? This
feels inefficient.
#2 It hides functionality. To remember what extra methods exist and
So you don't have to recreate it, the Autocomplete Helper is as follows.
It's a cut and paste of the work some other wonderful gentleman did, and I
turned off the validator because i was lazy.
class Zend_Controller_Action_Helper_AutoCompleteDojoNew extends
Zend_Controller_Action_Helper_AutoComple
On Tue, Nov 11, 2008 at 6:19 PM, kwylez <[EMAIL PROTECTED]> wrote:
>
> In a global config file I have setup my zend session options:
>
>
>
>
>/var/www/zend_sessions/
>
>2592000
>
>
>
>
>
>
> /**
> * Set the Zend session options (global config)
> */
>
thomasW wrote:
>
> You should read the manual from 1.7 when you are using 1.7 and not the
> online manual which always refers to the latest official release which is
> actually 1.6.2.
>
I thought I was! I have downloaded the docs from the website next to the 1.7
release, it differs substanti
42 matches
Mail list logo