I think that regenerageId() should take a parameter to set delete_old_session
to false in session_regenerate_id(). I've already changed my code to do
this.
Why do I think this should be done? Well, session_regenerate_id(true)
deletes the old session ID, so if a user fires off requests to a site i
Am Dienstag, den 23.10.2007, 23:23 +0200 schrieb Christer Edvartsen:
> http://www.phpunit.de/
If you like to use tests also for model classes that provide database
operations, you might checkout release 3.2 of phpunit, which contains a
database package. It isnt released yet, but it works nice so f
Am Montag, den 22.10.2007, 04:14 -0400 schrieb Matthew Weier O'Phinney:
> it's because _forward() is a protected method in
> Zend_Controller_Action; you can't call it from a public instance of the
> object.
There are certainly good reasons to make _forward final and protected
and _redirect protec
I am getting an error when attempting to access an RSS feed using Zend_Feed.
The error is as follows:
500 Internal Error
: exception 'Zend_Feed_Exception' with message 'DOMDocument cannot parse
XML: DOMDocument::loadXML() [function.DOMDocument-loadXML]:
xmlParseEntityRef: no name in Entity, line
-- ViShap <[EMAIL PROTECTED]> wrote
(on Tuesday, 23 October 2007, 08:42 PM +0200):
> And where is my advantage doing this?
>
> I fire another totally useless query (to get the structure of the table) and
> have to use a subquery inside my code.
>
> Doing this makes Hardcoded solutions better and
http://www.phpunit.de/
Kexiao Liao wrote:
Any web sites related to how to use PhpUnit Test, and its overall framework?
Thanks in advance.
Kexiao Liao wrote:
Can you run PhpUnit Test again Zend Framework application? Any useful
information related to PhpUnit test in ZF is highly appreciated.
Any web sites related to how to use PhpUnit Test, and its overall framework?
Thanks in advance.
Kexiao Liao wrote:
>
> Can you run PhpUnit Test again Zend Framework application? Any useful
> information related to PhpUnit test in ZF is highly appreciated.
>
>
>
--
View this message in co
Hey Kexiao,
the whole of ZF is covered by PHPUnit tests, which you can download with
the ZF releases or checkout from SVN (in case you also missed the URL to
SVN, it is http://framework.zend.com/svn/framework/trunk).
Best regards
Tobias
Kexiao Liao schrieb:
Can you run PhpUnit Test again Ze
OK, thanks a lot.
Hopefully there will be a good ORM-solution for Zend Framework soon J
Regards
ViShap
It's a well known and documented fact that Zend_Db_Table does not
support joins. To the best of my knowledge, the currently recommended
solution is issue straight SQL queries when you need to do joins.
Regards,
Bryce Lohr
ViShap wrote:
And where is my advantage doing this?
I
And where is my advantage doing this?
I fire another totally useless query (to get the structure of the table) and
have to use a subquery inside my code.
Doing this makes Hardcoded solutions better and faster?!
Is there no way simply doing this by $info->update($fields, ‘users.nick =
‘f
Can you run PhpUnit Test again Zend Framework application? Any useful
information related to PhpUnit test in ZF is highly appreciated.
--
View this message in context:
http://www.nabble.com/PhpUnit-Test-tf4679429s16154.html#a13370605
Sent from the Zend Framework mailing list archive at Nabble.
It appears you're trying to do this:
$info->update($fields, "user_id = (SELECT id FROM users WHERE nick =
?)" => $userNick);
As long as your nicks are unique, this will work. Note that this will
produce an error on MS SQL due to a PHP bug.
Regards,
Bryce Lohr
ViShap wrote:
I can't see ho
-- ViShap <[EMAIL PROTECTED]> wrote
(on Tuesday, 23 October 2007, 06:07 PM +0200):
> I can't see how to update (sorry, my mistake, not select *doh* ;) ) this?
> In the Manual I can't find a part, where it is described, how to do this?
>
> How should I do this:
>
> Table User: | T
I can't see how to update (sorry, my mistake, not select *doh* ;) ) this?
In the Manual I can't find a part, where it is described, how to do this?
How should I do this:
Table User: | Table Info
ID | user_ID
Nick| information
Georgy wrote:
Hello everyone, now I have a problem.
When Fatal Error is raised, script also sends error code 500 with Fatal
Error message text.
(For example, when i'm trying to use in controller method, which doesn't
exist, like "$this->album->_redirect('/');"
This error code 500 cause IE to
Hello everyone, now I have a problem.
When Fatal Error is raised, script also sends error code 500 with Fatal
Error message text.
(For example, when i'm trying to use in controller method, which doesn't
exist, like "$this->album->_redirect('/');"
This error code 500 cause IE to show its own err
Matthew Weier O'Phinney schreef:
-- Andries Seutens <[EMAIL PROTECTED]> wrote
(on Tuesday, 23 October 2007, 08:52 AM +0200):
I am trying to throw an exception in one of my service objects (XmlRpc),
but for some reason, I always get an unknown error, instead of the one that
I have provided i
-- Andries Seutens <[EMAIL PROTECTED]> wrote
(on Tuesday, 23 October 2007, 08:52 AM +0200):
> I am trying to throw an exception in one of my service objects (XmlRpc),
> but for some reason, I always get an unknown error, instead of the one that
> I have provided in my exception:
>
> Zend_XmlRpc_C
Michael schreef:
Could someone please tell me how to unsubscribe from this list, I've
sent emails to the help address and the unsubscribe address listed in
the email headers, but have got no responses.
Thanks,
Michael
N
Could someone please tell me how to unsubscribe from this list, I've sent
emails to the help address and the unsubscribe address listed in the email
headers, but have got no responses.
Thanks,
Michael
21 matches
Mail list logo