Hi Keith,
thanks for the links. I was looking at Zend_Tool the other day and got
lost somehow while reading it. So I will need to take a much closer look
soon. I will also keep an eye on the development list.
Thanks and best regards,
Ralf
Hi All
We have just come up against the issue as found in
http://framework.zend.com/issues/browse/ZF-2900 whilst using 1.6.0 RC2 and
the Zend_Rest_Client
What is the recommended way to approach this? I can see 2 possible solutions
currently
1. Create a validator for all TLD's (.com / .net /
2008/8/13 Matthew Lurz [EMAIL PROTECTED]
Thanks Thomas. I, quite wrongly, assumed that getValue would call
Zend_File_Transfer_Adapter_Http:: receive() transparently. It's working
now. Thanks again.
This actually sounds like a valid (and sensible) feature request. Thomas,
what's your
Hello!
I run into exactly the same problem with my webserver. I am using Zend
Framework v1.0.2.
Did you find a solution/workaround already?
Greets,
Stefan
--
View this message in context:
http://www.nabble.com/Critical-Error-with-Zend_Session-tp15850221p18996215.html
Sent from the Zend
Why should getValue() do a file transfer ???
That's unlogical.
A Value is not an action... and transferring a file is an action.
That's why we wrote a documentation and examples. So others know how to use
the component.
When you think that what I said is unlogical you should ask Matthew or add
It's not really illogical.
You create Zend_Form_Element_Text, you get text as value, not the name
of the variable it's stored in :)
If you have a Zend_Db_Table_Row, which has fields corresponding to the
form element, you can just to:
$row-setFromArray($form-getValues());
I would expect
As I said... It's Matthews component, not mine. :-)
I would expect a getFile Method to return the file, but not the getValue
method.
And how will you then get the name and location of the stored file ? That's
what getValue() returns now.
Also beware: Allowing getValue to return the file does
-- Tobias Gies [EMAIL PROTECTED] wrote
(on Friday, 15 August 2008, 10:05 AM +0200):
2008/8/13 Matthew Lurz [EMAIL PROTECTED]
Thanks Thomas. I, quite wrongly, assumed that getValue would call
Zend_File_Transfer_Adapter_Http:: receive() transparently. It's working
now. Thanks
Hi list,
I am sorry for bothering you again with this question, but I can't seem
to find a solution to my problem. I use Zend_Http to fetch a feed so
that I can handle a timeout in case the providing server is down. For
another feed I need to login so I use CURL to fetch that feed.
Anyway,
Zend_Feed::importString($feed) should be the right solution.
Which error did you receive?
-- Simone
On Fri, Aug 15, 2008 at 3:36 PM, Dimitri van Hees [EMAIL PROTECTED]wrote:
Hi list,
I am sorry for bothering you again with this question, but I can't seem to
find a solution to my problem. I
h I'm not sure whether it had something to do with my local
configuration or with ZF 1.6 RC1, but appearantly after installing RC2
it indeed works with importString(). great stuff!
thanks for your answer by the way!
Simone Carletti wrote:
Zend_Feed::importString($feed) should be the
Hi All,
I need to allow many special thing to be allowed in a username login field.
(Historical database, so it would nearly impossible to change all this username)
I need all Alpha numeric word present in french,english,german language so
there a lot's of à é ö ü etc ...
Plus username could
Hi there,
I don't know about Zend_Validate, but preg_match works with unicode-characters.
So please read http://www.regular-expressions.info/unicode.html for more info,
especially the part Unicode Character Properties.
S.th. like
[\p{L}\.\-_ ]+
could work (untested).
Regards
Matthias Coy
rolfneumann2 wrote:
Hello!
I run into exactly the same problem with my webserver. I am using Zend
Framework v1.0.2.
Did you find a solution/workaround already?
Greets,
Stefan
sorry;/ no idea how to fix it;/
--
View this message in context:
I've spent the last two days struggling with this error:
We've been utilizing REST-ful JSON server for a couple of months now to host
our data api (it's written using Zend Framework). Our client apps access
this API, and decode the JSON. Yesterday, one of our client apps stopped
working,
Matthias Coy wrote:
Hi there,
I don't know about Zend_Validate, but preg_match works with
unicode-characters. So please read
http://www.regular-expressions.info/unicode.html for more info, especially
the part Unicode Character Properties.
S.th. like
[\p{L}\.\-_ ]+
could work
Are there no errors written to logs? Usually when I get a blank screen
display_errors = Off, but log_errors = On.
On Fri, Aug 15, 2008 at 5:20 PM, Jake McGraw [EMAIL PROTECTED] wrote:
I've spent the last two days struggling with this error:
We've been utilizing REST-ful JSON server for a
Do you have ext/json installed?
This is (I hope) unlikely, but if you somehow have Xdebug installed on this
production server, Zend_Json can trigger xdebug.max_nesting_level in certain
situations. You would probably see an error in this case, but I'm including
this just to be on the safe side.
Are there no errors written to logs? Usually when I get a blank screen
display_errors = Off, but log_errors = On.
I wish, looking at the error log now, some debugging I did earlier shows up
there, but nothing for my current set of problems. This is on one of our
development servers, so
Do you have ext/json installed?
According to phpinfo():
json
json support enabled
json version 1.2.1
and grepping our ini file:
;extension=json.so
So, I assume we're using the built-in version of json_(encode|decode)
This is (I hope) unlikely, but if you somehow have Xdebug installed on
-- Jake McGraw [EMAIL PROTECTED] wrote
(on Friday, 15 August 2008, 11:42 AM -0400):
Do you have ext/json installed?
According to phpinfo():
json
json support enabled
json version 1.2.1
and grepping our ini file:
;extension=json.so
So, I assume we're using the built-in version of
Comment out the above line and see what happens -- this is what the
previous comment was getting at.
Still not working, commented out line, restarted apache, same issue...
I'm not sure that this is related to json/xdebug, as
Zend_Json::decode/json_decode both operate correctly with the same
Hi,
ok, I missed the ^ and $. So here is a working example:
?php
header('Content-Type: text/html; charset=UTF-8',true);
$input = array (Clément, Marius_Glad, Micky.128, Some!thing,
Real[Name], Zut^Truc);
foreach($input as $entry) {
echo $entry;
echo br /;
if
I've been following this a little.
If I understand this right...
The json decode works if you dump the var but not if you allow the page to
run through the view.
What happens in the view?
You mention these :
-- sets HTML head
-- spits out contents
Does the view do anything to the data? i.e.
On Fri, Aug 15, 2008 at 12:31 PM, Terre Porter
[EMAIL PROTECTED] wrote:
I've been following this a little.
If I understand this right...
The json decode works if you dump the var but not if you allow the page to
run through the view.
What happens in the view?
You mention these :
--
Sorry for bumping this, but I´m still trying to make this work.
Didn´t anyone built a soap sever using MVC architeture?
On Thu, Aug 14, 2008 at 9:28 AM, Luiz Vitor [EMAIL PROTECTED] wrote:
Hi there
I´m trying to build a soap server using the ZF MVC architeture, but I can´t
get it to work.
I should add that ? (%3f), for example, works as expected:
- mod_rewrite works (no 404, gets passed to index.php)
- path segments get split properly into key/value pairs
- it gets properly unencoded:
[_params:protected] = Array
(
[controller] = controller
I'm also have these bugs,in ie it's wrong but in ff it's right!
why?
Christian Sanchez wrote:
The example works on Mozilla, but on IE shows some kind of warning...
line: 21
Error: 'undefined' is null or not an object
Looking at the source line 21 is the following:
To answer my own question: it's a problem with Apache's super-stupid
feature to silently refuse all URLs with %2f in the path URI part
with a fake and misleading 404 message.
In 2.x you can disable it using the following directive:
AllowEncodedSlashes On
This however needs to be done on
Thank you Matthias, I've try this and I just surprise about
in the script it work as expected ... (no doubt about :-)
But when use with Zend_Form (My description of Form are in .ini file )
like this
user.elements.userlogin.options.validators.regex.validator = regex
I put together a basic test project.
Used the layout and the view tpl you provided.
I've got this as my controller function.
public function indexAction()
{
$jsonData = '--string from text file--';
$result = json_decode($jsonData);
var_dump($result);
}
I get a hello
ok,
I don't have a running Zend-Framework here, but I've downloaded the code and
the Zend_Validate_Regex is using preg_match, so that SHOULD work ... why it
doesn't in your case, that's out of my knowledge. I will try to set up a
running minimal ZF to create a use case, but I have also some
ok,
worked faster than I expected. But I only have a windows machine and with this
code, preg_match gives back a internal error. I think this is related to my
machine, so could you please test that on your side? Should work out of the
box, if 'Zend/Loader.php' is in your path:
?php
Again me :)
Final solution:
?php
require_once Zend/Loader.php;
Zend_Loader::registerAutoload();
$pattern = /^[\p{L}\.\-_ 0-9]+$/;
$form = new Zend_Form;
$form-setMethod(post);
$regex = new Zend_Form_Element_Text('regex');
$regex-setLabel(Try here:);
$regex-addValidator(new
Terre:
Thanks for the effort, but I have also been able to set up a basic
Controller / Layout / View and get my code to work. There still
appears to be some kind of intractable issue going on here that has to
do with json_decode and Zend MVC will my existing code base. I'm going
to try to
Ok so there's a bug somewhere in Zend_Form.
Your function work perfectly here against the pattern.
But if you try it by the .ini form contruction it doesn't complain.
(like I've describe at the begining)
But now we are sure where the trouble is :-))
( Perharps a stupid htmlEntities somewhere or
Everyone, sorry to bother you with this, turns out I've been doing too
much programming in true functional languages, which PHP is not, and I
had some code which I thought was ok, but some how combined with a
call to json_decode caused PHP to crash. I was basically doing
something like:
function
Well I found out that removing the Tab that has the text objects gets rid of
the problem... I think it has to do with the currency textbox or the date
textbox I can't remember which one was it...
2008/8/15 Nosy [EMAIL PROTECTED]
I'm also have these bugs,in ie it's wrong but in ff it's right!
Does anyone know if there are specific requirements for the PHP version,
compile options, or extensions in order for Zend_Filter to work as expected?
We have a situation on two servers where Zend_Filter is not performing the
correct transformation on a fairly simple string. Here's some sample
Hmmm. We're going to have to be pretty vigilant around taking threads that are
clearly about dojo issues to their list. It's best if all dojo users have this
information, and I've heard there might be some people on this list who don't
care about dojo. ;)
,Wil
From: Christian Sanchez
This doesn't help you solve this problem, but just wanted to tell you that
in PHP 5 all objects are passed by reference, so the ampersand in the
round_datetime function is redundant.
-Matt
On Fri, Aug 15, 2008 at 1:13 PM, Jake McGraw [EMAIL PROTECTED] wrote:
Everyone, sorry to bother you with
I've been able to successfully upload a pdf file to my server, now I want to
reverse the process. I just have no idea how to go about it using Zend
Framework?
Can I please have some assistance?
Gina-Marie Rollock
--
View this message in context:
Hi All
I've been working on getting the phpdoc working with my local copy of ZF 1.6
and I notice there are quite a lot of warnings and a few errors in the
current docs. Is it worth fixing these?
Some of the more common ones are
* DocBlock has multiple @return tags, illegal. ignoring additional
43 matches
Mail list logo