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:
!-- config snippet --
session
params
save_path/var/www/zend_sessions//save_path
!-- Remember session for one month --
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
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 does not
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
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] =
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,
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 =
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
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 or
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
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
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
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
-- 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
object?
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.
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,
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
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
-- 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
-- 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/
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
-- 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
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
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
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
-- 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.
I
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
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
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
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 but i'm
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,
Thank
Run this on both your development machine and the production machine that's
having issues:
#!/usr/bin/php
?php
print 'PHP version ' . phpversion() . \n;
if (extension_loaded('SPL')) {
print SPL present\n;
} else {
print SPL NOT present\n;
}
if (interface_exists('IteratorAggregate')) {
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::addPath
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
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
37 matches
Mail list logo