If you mean file downloads you may just call ob_end_clean() and then
readfile() or just start printing contents dynamically.
Karol
Kononov Ruslan wrote:
By default, ZF included data buffering.
What better way to turn off buffering for a specific action to transfer
large files?
--
View
Hello,
I try to validate email address with wrong hostname([EMAIL PROTECTED]) and the
validator returns following errors:
array(3) {
[emailAddressInvalidHostname] = string(63) 'www.ww' is not a valid
hostname for email address '[EMAIL PROTECTED]'
[0] = string(77) 'www.ww' appears to be a DNS
Hi Amar,
Add:
require_once '/editor/class/config.class.php';
And you'll be just fine :-)
Bart
amar4kintu schreef:
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
I would say both. :-)))
Please fill out an issue in jira so we can solve this bug.
framework.zend.com/issues
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
- Original Message -
From: Vladas Diržys [EMAIL PROTECTED]
To: fw-general@lists.zend.com
I downloaded this file:
http://downloads.zend.com/pdt/all-in-one/pdt-2.0.0.S20081102_debugger-5.2.1
4.v20080602-all-in-one-win32.zip
And also getting Europa, is there anything wrong with the package?
rcastley wrote:
Have you downloaded the correct file?
Make sure you choose one of the
Thanks Bart that works perfectly
Bart McLeod wrote:
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:*/
?php
nwhiting wrote:
I have a question about this.
Does Zend_Validate work on a per element basis and is not parsed when you
call
$this-form-isValid($_POST);
??
When I add custom validations are they going to be parsed and produce
error messages to the errorMessage string?
Such
*Hi List,
I've uploaded a ZF-driven website to www.2tarafeh.com , But I'm facing with
some fatal errors, for instance:
*Fatal error: Out of memory (allocated 3670016) (tried to allocate 19456
bytes) in /home/admin/library/Zend/Form.php on line 1097
Fatal error: Out of memory (allocated 4718592)
Do you really think that an complete application should run with 4MB RAM ???
(allocated 4718592 byte = 4.4MB)
Most procedural or plain php sites need more. ;-)
Default setting from PHP itself is actually about 16 or 32 MB.
But how much memory ZF uses depends on your own needs.
I would go with
I have no idea why only 4 MB is allocated !
In the php.ini settings, I've set 32 MB for memory_limit directive.
Take a look at my php-settings here: http://www.2tarafeh.com/phpinfo.php
On Thu, Nov 13, 2008 at 6:25 PM, Thomas Weidner [EMAIL PROTECTED]wrote:
Do you really think that an complete
Hi all,
While setting up an AMF server, I ran into a small problem. I'm trying
to send a DOMDocument to my Flex application. The connection works...
when I try to send something simpler, like a string or array, it
arrives as expected. However, when I try to send a DOMDocument I just
get
Hi Behzad,
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.31, Copyright (c) 2002-2007, by ionCube
Ltd., and
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend
Technologies
with Zend Optimizer v3.2.8, Copyright
Hello,
I'm currently using Zend_Form, and can't use square brackets in my
form elements' name. I've looked at the code, and it seems that the
method setName (by filterName) in Zend_Form_Element removes the
square brackets, why ? Moreover, there's an option in filterName to
allow square brackets.
-- Julien Huang [EMAIL PROTECTED] wrote
(on Thursday, 13 November 2008, 04:38 PM +0100):
Hello,
I'm currently using Zend_Form, and can't use square brackets in my
form elements' name. I've looked at the code, and it seems that the
method setName (by filterName) in Zend_Form_Element removes
Hi,
Just wanted to share this bug with you guys as I discovered it while
using Zend Framework code.
http://bugs.php.net/bug.php?id=46568
It only affects x86_64, but it's fairly easy to trigger this in Zend
Framework as it makes quite extensive use of exceptions, often in a
chained function
Hi Marco!
I'll try that and see the results. Thanks for the advice :-)
On Thu, Nov 13, 2008 at 6:38 PM, Marco Kaiser [EMAIL PROTECTED]wrote:
Hi Behzad,
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.31, Copyright (c) 2002-2007, by
Hi,
I'm just trying to integrate some view scripts and I am running into
problems when creating the folder structure.
I have a custom dispatcher which changes the class structure of the
controllers to better suit my file layout and autoloading infrastructure.
In the ViewRenderer.php file
Now I'm curious as to how much peak memory the default Hello World install
consumes. Does someone know, or want to benchmark it? I'll write a benchmark
when I get home if I don't see a reply before then.
-- A.J. Brown
-- Original Message --
It's actually 128MB at least in recent versions
If I remember correctly, a basic single action dispatch takes
approximately 4 to 5MB. Mind you, this includes a couple of Zend_Config
objects and some other goodies...
A.J. Brown wrote:
Now I'm curious as to how much peak memory the default Hello World install
consumes. Does someone know,
Colin Guthrie wrote:
I could work around the problem with a custome inflector...
Actually looking again, it's not possible to work around things in this
way, so I really do need to fix the bug properly.
I've come up with the attached patch that should work.
Is this the right approach?
Col
The ViewRenderer currently checks the path stack to see if a path exists
prior to adding it. This is causing a small bug for me.
If module*1*-controller1-action1 forwards to
module*2*-controller1-action1, which then forwards back to
module*1*-controller1-action1, the view path stack is
It's easy to check
http://www.php.net/manual/en/function.memory-get-peak-usage.php
http://www.php.net/manual/en/function.memory-get-peak-usage.php
Stick it at the end of index.php and you should get memory usage for every
page
Karol
A.J. Brown-3 wrote:
Now I'm curious as to how much peak
nwhiting wrote:
shouldn't this return any error messages set within those validators?
As even Zend_Validate_EmailAddress does not return any error, and my
custom validators are setup just as defined in the documentation
Yes, they should display error messages.
Have you tried checking
kwylez wrote:
Everything works great at this point. I can start my sessions (user
login) and see the information in the database. My question is how do I
get the session lifetime to change from the default, 1440 seconds, to the
remember_me_seconds, 2592000.
-- Colin Guthrie [EMAIL PROTECTED] wrote
(on Thursday, 13 November 2008, 05:52 PM +):
Colin Guthrie wrote:
I could work around the problem with a custome inflector...
Actually looking again, it's not possible to work around things in this
way, so I really do need to fix the bug
drj201 wrote:
Hi all,
Ive been following the method outlined here to add Controller specific
navigation menus to my layout view:
http://teethgrinder.co.uk/perm.php?a=Zend-Framework-Menus-Navigation
Firstly, what is your view on this approach? Adding an actionStack call to
every
I think it would make more sense to remove old paths from the stack rather
than push the stack with duplicates.
Maybe it would be better if each module had its own view script stack? That
way they wouldn't interfere with each other at all.
-Hector
On Thu, Nov 13, 2008 at 10:11 AM, Arthur M.
Hi,
I'm currently trying to figure out the best way to produce a Google Base
Atom feed (which should not be sent to Google directly but delivered by our
platform).
* My first guess was to use the Zend_Gdata_Gbase component. But as I figured
out, this component is currently meant to read feeds and
Goran
You are the man!
I had gotten close today, but your post was the insight that I needed.
That worked PERFECTLY.
Goran Juric wrote:
kwylez wrote:
Everything works great at this point. I can start my sessions (user
login) and see the information in the database. My
Goran Juric wrote:
nwhiting wrote:
shouldn't this return any error messages set within those validators?
As even Zend_Validate_EmailAddress does not return any error, and my
custom validators are setup just as defined in the documentation
Yes, they should display error messages.
I have finally solved the problem!!
I'm not sure but this might be a bug. There were 2 lines in bootstrap
setting up the current locale option like;
setlocale(LC_ALL, 'tr_TR');
Zend_Locale::setDefault('tr_TR');
When it comes either to HelperBroker or Zend_Layout::startMvc or
I have finally solved the problem!!
So... what was the problem? It wasn't clear from your e-mail.
There was another issue as well which might be the trigger of
IteratorAggregate problem above, a view helper (i believe action helper
would react same) in layout which was named as xUrl. Class
The problem was setting locale with 2 different method in the same time. I
have just removed setlocale() line in bootstrap, all the mystery and
IteratorAggregate not found problem were gone... Strange but true.
Most beginners don't read Zend coding standards and even they do, they might
think
That's a good idea!
On Thu, Nov 6, 2008 at 8:15 PM, [EMAIL PROTECTED] wrote:
Compare the following:
http://framework.zend.com/svn/framework/standard/trunk/library/Zend/Auth/Adapter/DbTable.php
vs
I've had a look at the version in the trunk, and it's not going to work for
anyone - maybe I'm crazy, but I've always thought selects were best used as
an id = value pair, so the id matches the id value in your database, so you
don't have to rely on clunky string matching. In the refactored
Is it unavailable atm?
I've been trying to access anonymously and it doesn't work
--
Christian Sánchez A.
At testing ZF 1.7 there is a problem:
_getParam() returns data in UTF-8 encoding.
I'm using windows-1251 encoding.
How can I fix it?
In ZF 1.5 all works fine.
--
View this message in context:
http://www.nabble.com/ZF-1.7-and-getParam-charset-problem-tp20495479p20495479.html
Sent from the Zend
My form intem looks like this
$element = new Zend_Form_Element_File('logo_image');
$element-setLabel('Logo Image:')
-setRequired('true')
-setDestination('/home/pathto/images/logos/')
-addValidator('Count', false, 1) // ensure only 1 file
On Friday 14 November 2008 06:45:19 Christian Sanchez wrote:
Is it unavailable atm?
I've been trying to access anonymously and it doesn't work
Yes it would seem some config change has borked anonymous checkout for the
moment.
Graham
In PHP there is a function called basename which returns the filename from
an complete directory string.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
- Original Message -
From: Ace Paul [EMAIL PROTECTED]
To: fw-general@lists.zend.com
Sent:
Zend_Locale does not use any SPL class. This failure seems to be a PHP and
not a ZF problem.
When these two methods can not be called together, it would mean that PHP's
setlocale() method can not be called twice in your code.
Because Zend_Locale::setDefault calls setLocale internally.
Your
41 matches
Mail list logo