Re: [fw-general] Problems with Zend_Form_Element_Hash

2010-07-08 Thread Marcus Stöhr
Hi Chris. The only redirect action I have fires only when the form is valid and the user saved in the database. Here is some sample code (I stripped out some things not relevant): https://gist.github.com/c66b22f11bbe138df6ad I use the actual trunk of Zend Framework and tried also the latest

Re: [fw-general] Problems with Zend_Form_Element_Hash

2010-07-08 Thread Chris Riesen
On Register_Controller.php here https://gist.github.com/c66b22f11bbe138df6ad delete or comment out lines 22 and 23 then retry. I think that might be the problem there. On Thu, Jul 8, 2010 at 9:18 AM, Marcus Stöhr daf...@soundtrack-board.de wrote: Hi Chris. The only redirect action I have fires

Re: [fw-general] Problems with Zend_Form_Element_Hash

2010-07-08 Thread Marcus Stöhr
Hi Chris. Nope, didn't work. I still get 'The two given tokens do not match' for the Hash-element. - Marcus Am 08.07.2010 um 09:28 schrieb Chris Riesen: On Register_Controller.php here https://gist.github.com/c66b22f11bbe138df6ad delete or comment out lines 22 and 23 then retry. I think

[fw-general] Re: Zend Framework 1.10.x and namespaces

2010-07-08 Thread Wil Moore III
Thomas D. wrote: $autoloader-registerNamespace('My_'); $autoloader-setFallbackAutoloader(true); Change 'registerNamespace()' to: $autoloader-registerNamespace('My\\'); Remove this (you shouldn't need it and it is a waste of cycles): $autoloader-setFallbackAutoloader(true); -- View this

Re: [fw-general] Zend Framework 1.10.x and namespaces

2010-07-08 Thread Matthew Weier O'Phinney
-- Thomas D. whist...@googlemail.com wrote (on Thursday, 08 July 2010, 03:16 AM +0200): Hi, I am trying to add namespace support to our library. But I am unsuccessful, because some of our classes are using Zend Framework classes, which will fail to load: /libs/Zend - location of Zend

Re: [fw-general] Re: Zend Framework 1.10.x and namespaces

2010-07-08 Thread Alex Howansky
Remove this (you shouldn't need it and it is a waste of cycles): $autoloader-setFallbackAutoloader(true); If you're using namespaces and your code instantiates objects from strings, like this: $class = '\\My\\Thing'; $obj = new $class(); Then you'll need to call setFallbackAutoloader() in

[fw-general] remember me and session cookies

2010-07-08 Thread scs
Hello, I have 3 questions: 1. How can I find about a logged-in user's session data? I would like to see when was the session started, how long has the user been idle? and how much time left for session expire? 2. I have a session setting in my application.ini file related to session's save_path

Re: [fw-general] remember me and session cookies

2010-07-08 Thread Ralph Schindler
Response inline.. scs wrote: Hello, I have 3 questions: 1. How can I find about a logged-in user's session data? I would like to see when was the session started, how long has the user been idle? and how much time left for session expire? That is a tough one if you are using files. PHP's

Re: [fw-general] Zend_Scheduler

2010-07-08 Thread Ralph Schindler
I dont think Zend_Scheduler has been created as of yet. This is merely a proposal. What you might be interested in is taking existing components to do this job. For example, you could use Zend_Queue to schedule or create a queue of jobs, then write a script that is triggered to create and

[fw-general] [ZF 1.10.4] Chain route + language code

2010-07-08 Thread Laurent Melmoux
Hi, I'm trying to add language route support. I'm using the code down below : $router = new Zend_Controller_Router_Rewrite(); $languageRoute = new Zend_Controller_Router_Route(':language', array('language' = 'fr'), array('language' = 'fr|en')); $defaultRoute = new

Re: [fw-general] Zend_Scheduler

2010-07-08 Thread noHumans
Hi! Zend_Queue simple example for offline processing http://www.zfsnippets.com/snippets/view/id/60 Bye!

Re: [fw-general] remember me and session cookies

2010-07-08 Thread scs
Ralph, Thanks for your reply. Answers are inline: On Thu, Jul 8, 2010 at 7:31 PM, Ralph Schindler ralph.schind...@zend.comwrote: Response inline.. scs wrote: Hello, I have 3 questions: 1. How can I find about a logged-in user's session data? I would like to see when was the session

Re: [fw-general] [ZF 1.10.4] Chain route + language code

2010-07-08 Thread Ben Scholzen
Am 08.07.2010 19:25, schrieb Laurent Melmoux: Hi, I'm trying to add language route support. I'm using the code down below : $router = new Zend_Controller_Router_Rewrite(); $languageRoute = new Zend_Controller_Router_Route(':language', array('language' = 'fr'), array('language' =