[fw-general] Implement Zend_Session::regenerateId(false)?

2007-10-23 Thread KyleMac
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

Re: [fw-general] PhpUnit Test

2007-10-23 Thread Ralf Kramer
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

Re: [fw-general] Writing ActionHelper: Undefined property: $_actionController

2007-10-23 Thread Ralf Kramer
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

[fw-general] Zend_Feed error, possibly due to text encoding

2007-10-23 Thread justinyoung
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

Re: [fw-general] Zend_Db_Table_Ralationships and select()

2007-10-23 Thread Matthew Weier O'Phinney
-- 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

Re: [fw-general] PhpUnit Test

2007-10-23 Thread Christer Edvartsen
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.

Re: [fw-general] PhpUnit Test

2007-10-23 Thread Kexiao Liao
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

Re: [fw-general] PhpUnit Test

2007-10-23 Thread Tobias Gies
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

RE: [fw-general] Zend_Db_Table_Ralationships and select()

2007-10-23 Thread ViShap
OK, thanks a lot. Hopefully there will be a good ORM-solution for Zend Framework soon J Regards ViShap

Re: [fw-general] Zend_Db_Table_Ralationships and select()

2007-10-23 Thread Bryce Lohr
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

RE: [fw-general] Zend_Db_Table_Ralationships and select()

2007-10-23 Thread ViShap
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

[fw-general] PhpUnit Test

2007-10-23 Thread Kexiao Liao
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.

Re: [fw-general] Zend_Db_Table_Ralationships and select()

2007-10-23 Thread Bryce Lohr
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

Re: [fw-general] Zend_Db_Table_Ralationships and select()

2007-10-23 Thread Matthew Weier O'Phinney
-- 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

RE: [fw-general] Zend_Db_Table_Ralationships and select()

2007-10-23 Thread ViShap
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

Re: [fw-general] HTTT 500 error code when Fatal Error happens

2007-10-23 Thread Jack Sleight
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

[fw-general] HTTT 500 error code when Fatal Error happens

2007-10-23 Thread Georgy
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

Re: [fw-general] Re: Zend_XmlRpc and exception handling

2007-10-23 Thread Andries Seutens
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

[fw-general] Re: Zend_XmlRpc and exception handling

2007-10-23 Thread Matthew Weier O'Phinney
-- 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

Re: [fw-general] Unsubscribing

2007-10-23 Thread Andries Seutens
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

[fw-general] Unsubscribing

2007-10-23 Thread Michael
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