Re: [fw-general] Zend_Session::start() and remember me

2007-12-06 Thread Laurent Melmoux
Are you sure it is working? Zend_Session::rememberMe() is calling Zend_Session::rememberUntil() which is calling the php function session_set_cookie_params () (http://php.net/session_set_cookie_params) . This function configures the cookie use by the session. As Darby said it should be called b

RE: [fw-general] Wiki is dead

2007-12-06 Thread Wil Sinclair
It's working now. That was an unplanned outage due to a backup that seems to have consumed all the memory, but I will be taking the server down for upgrades of both JIRA and Confluence in the next few days. I'll send a mail to the list giving everyone a few hours' notice. It shouldn't take more tha

Re: [fw-general] Zend_Form

2007-12-06 Thread Roman1975
For brevity I shall give the reference to an example, the approach in given libraries of processing Forms very much отличаеться from all offered(suggested) in current the moment. http://dklab.ru/lib/HTML_MetaForm/demo.zip p/s Excuse for my English if the example will be interested by me I can To c

[fw-general] : exception 'Zend_Feed_Builder_Exception' with message 'title key of source property is missing'

2007-12-06 Thread Waigani
Hi, I'm trying to import an array as a feed and get the following error: 'Zend_Feed_Builder_Exception' with message 'title key of source property is missing' in …/Zend/Feed/Builder.php:368 Here is the code: //Feed Array $feedArray = array( 'title' => 'T

Re: [fw-general] Zend_Form

2007-12-06 Thread Mark Maynereid
Hi Matthew, I have hit a usage issue on Zend_Form_Element_Select in rev 156. Let's say someone requests a POST method that sends data from a select element. Zend_View_Helper_Select used by Zend_Form appears to return numeric array indices in the XHTML rather than the actual enumerated values tha

[fw-general] Wiki is dead

2007-12-06 Thread Elisamuel Resto
Lovely greeting when I go to see data in the wiki: Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /wiki/display/ZFDEV/Home. Reason: Error reading from remote server

RE: [fw-general] Zend_Session::start() and remember me

2007-12-06 Thread Steven Brown
Actually I found I could call Zend_Session::rememberMe() after Zend_Session::start() and it works. I call Zend_Session::start() in my bootstrap and Zend_Session::rememberMe() in my login action. I expected it to not work after reading the manual however it seems to work fine. -Original Messa

[fw-general] zend session callbacks on expired session

2007-12-06 Thread digitalus_media
is there any way to set up a custom handler to clean up an expired session? i need to remove a customer's cart (its db based for stock purposes) when they kill the session. -- View this message in context: http://www.nabble.com/zend-session-callbacks-on-expired-session-tf4958444s16154.html#a142

Re: [fw-general] Bug in Zend_Config_Xml?

2007-12-06 Thread Darby Felton
Zend_Config_Xml was not designed to support multiple values of the same name to be represented as an array. Instead, you could do something like: ... ... ... ... or maybe ... ... ... ... Maybe Rob can chime in with his thoughts? Best regards, Darby robert mena wrote: > Hi,

[fw-general] Bug in Zend_Config_Xml?

2007-12-06 Thread robert mena
Hi, I am trying to use Zend_Config_Xml but a code like this $config = new Zend_Config_Xml('config/config.xml', 'devel'); I should be able to do this, right? $config->emailList->subject[0]->email But in my test I can only access the last value (in this example the [EMAIL PROTECTED]). If I use

Re: [fw-general] Subfolders in controller folders

2007-12-06 Thread Jack Sleight
The standard way to do this is as follows: admin --controllers News --IndexController.php And then the URL would be: http://www.example.com/admin/news_index/index If you then wanted that to look like: http://www.example.com/admin/news/index/index You would have to create a custom route

Re: [fw-general] Zend_Bittorrent in laboratory

2007-12-06 Thread Darby Felton
Hi Matt, Would you mind posting a comment to the proposal with these suggestions? I plan to review the proposal shortly and post my suggestions there, too. Thanks! Best regards, Darby Matthew Ratzloff wrote: > Hi Christer, > > Looks interesting. Note that it would be Zend_BitTorrent, with a

Re: [fw-general] Zend_Bittorrent in laboratory

2007-12-06 Thread Matthew Ratzloff
Hi Christer, Looks interesting. Note that it would be Zend_BitTorrent, with a capital T. You might also try to split up the Zend_BitTorrent_Torrent::buildFromPath() method into a couple other methods, because it's pretty long at the moment. -Matt On Thu, December 6, 2007 1:21 am, Christer Edva

[fw-general] Subfolders in controller folders

2007-12-06 Thread agatone
Hello, I have a question about controller folder depth. Lets say i have module admin and the folder structure would be something like this: admin -controllers --IndexController.php (class Admin_IndexController extends Zend_Controller_Action) -models -views By that structure i would have URL like

Re: [fw-general] Zend_Form

2007-12-06 Thread Matthew Weier O'Phinney
-- Mark Maynereid <[EMAIL PROTECTED]> wrote (on Thursday, 06 December 2007, 07:34 AM -0800): > Thanks for that Matthew. Although it looks like it's still at rev 155 just > now. My bad -- I committed to the original working repository I had, instead of the one in the laboratory. oops! Committed no

Re: [fw-general] Zend_Session::start() and remember me

2007-12-06 Thread Laurent Melmoux
Darby Felton a écrit : d1. what happens now is the client is sent a cookie named REMEMBERME=true, e. The next page visit that Zend_Session is started on will see the REMEMBERME cookie, then change the SESSION COOKIE to a persistent cookie (for as long as the remember me secionds value). The

Re: [fw-general] Zend_Form

2007-12-06 Thread Mark Maynereid
Thanks for that Matthew. Although it looks like it's still at rev 155 just now. Regards, Mark Matthew Weier O'Phinney-3 wrote: > > -- Mark Maynereid <[EMAIL PROTECTED]> wrote > (on Wednesday, 05 December 2007, 07:47 PM -0800): >> I seem to have a found a couple is simple bugs in revision 155.

Re: [fw-general] Zend_Session::start() and remember me

2007-12-06 Thread Darby Felton
Laurent Melmoux wrote: > Hi Darby, > > > I found this quote of Ralph in the archive : > > a. You start a session.. > b. Do stuff.. > c. Go to login page, complete and click remember me.. > > d. Now, your controller/script detects the posted rememberme, and then > issues a Zend_Session_Core::rem

Re: [fw-general] Zend_Session::start() and remember me

2007-12-06 Thread Laurent Melmoux
Hi Darby, I found this quote of Ralph in the archive : a. You start a session.. b. Do stuff.. c. Go to login page, complete and click remember me.. d. Now, your controller/script detects the posted rememberme, and then issues a Zend_Session_Core::rememberMe(); d1. what happens now is the cl

Re: [fw-general] Zend_Session::start() and remember me

2007-12-06 Thread Darby Felton
Hi Laurent, IIRC, Zend_Session::rememberMe() uses session_set_cookie_params(). Thus, it must be called before the session is started to work properly. This is documented here: http://framework.zend.com/manual/en/zend.session.global_session_management.html#zend.session.global_session_management.re

[fw-general] Should Zend_View_Helper_Url use rawurlencode()?

2007-12-06 Thread KyleMac
Ignore the fact that the ZF url is basically a bunch of parameters and say we were dealing with a real folder. In such a case example.com/A+Real+Folder is not the same as example.comA%20Real%20Folder, in fact, the first one gives me a 404 but I bet it works on some hosts. If I remember correctly,

Re: [fw-general] Using Zend_Config / Changing a module behaviour

2007-12-06 Thread Tony Ford
We do it differently, and better in my opinion. In your bootstrap: 1) Figure out which type of env 2) Load appropriate config 3) Set the config object in the registry In your controller super class be sure to set a protected member $_config, which you can get from the registry during constructi

Re: [fw-general] pdf manual

2007-12-06 Thread KingChris
Hi there, could anyone publish the german manual as pdf , please? I tried several hours to create it by myself but it wont works. :-( Thanks a lot. Chris vanne wrote: > > And another update... > > http://www.nabble.com/file/p12906689/zf-1.0.2.pdf zf-1.0.2.pdf > > > > Marcelo Araujo wro

Re: [fw-general] Zend_Form

2007-12-06 Thread Matthew Weier O'Phinney
-- Mark Maynereid <[EMAIL PROTECTED]> wrote (on Wednesday, 05 December 2007, 07:47 PM -0800): > I seem to have a found a couple is simple bugs in revision 155. > Zend_Form_Element_Select and > Zend_Form_Element_Radio don't parse due to '.php' in the class declarations. Oops! *notes to self: alway

Re: [fw-general] list data api

2007-12-06 Thread Matthew Weier O'Phinney
-- digitalus_media <[EMAIL PROTECTED]> wrote (on Wednesday, 05 December 2007, 12:22 PM -0800): > > i am starting to work on a list api that is modeled after the .net one. it > is a super simple class that enables you to create list objects that contain > any number of items / nested lists that ca

[fw-general] Zend_Session::start() and remember me

2007-12-06 Thread Laurent Melmoux
Hi all, Until now I had call Zend_Session::start() at the beginning of bootstrap file, so far so good. But now, I would like to add a remember me option on my login form, so if the authentification succeed and the remember me have been checked I call Zend_Session::rememberMe()... But it won’

[fw-general] Zend_Bittorrent in laboratory

2007-12-06 Thread Christer Edvartsen
I have put the Zend_Bittorrent component I am working on in the laboratory: http://framework.zend.com/svn/laboratory/library/Zend/ Feel free to play around with it and tell me what you think. I can add the the unit tests if someone wants to see them as well. The proposal is located at: http:/