[fw-general] Plugin Loader problem with File Upload elements

2009-03-11 Thread Tim Nagel
All, I am currently using a few Zend_Form_Element_File elements in a few different forms. Some of these forms work fine. All of the file elements we've used so far follow the same 'code', which I'll paste below. The problem is occuring on one and only one of our form implementations where I get

[fw-general] Re: Plugin Loader problem with File Upload elements

2009-03-11 Thread Tim Nagel
Sorry to reply to my own email - I've narrowed down the problem (as far as I can see) to Zend/Form/Element/File.php. I cant really see the exact cause though :| Tim

Re: [fw-general] Insert HTML / JS in to middle of a zend_form

2008-12-18 Thread Tim Nagel
We've been inserting all javascript after the entire form, or in the head using the onDOMReady event provided by YUI. Seems to work well for most things. T On Thu, Dec 18, 2008 at 07:59, Bart McLeod mcl...@spaceweb.nl wrote: you will need a decorator on your first element, with placement set

[fw-general] 'Normalising' of Controller and Action names

2008-12-08 Thread Tim Nagel
I am trying to create a basic content serving controller where user created data is served using the action name as a name specified by the user. (Overridden __call in the controller). I have hit a bit of a snag in that it looks like Zend is normalising (lowercasing and doing funky stuff with

Re: [fw-general] Controller To Controller Forwarding

2008-12-06 Thread Tim Nagel
See multi page forms on this manual page: http://framework.zend.com/manual/en/zend.form.advanced.html T On Sat, Dec 6, 2008 at 22:08, MrBrightside [EMAIL PROTECTED]wrote: Hi, I have a user controller in my site which handles all actions a user can perform e.g: login activation forgot

Re: [fw-general] logging offending queries

2008-12-03 Thread Tim Nagel
Have you looked at the Zend_Db profiler? We use it to log queries to FirePHP. T On Thu, Dec 4, 2008 at 02:25, Daniel Latter [EMAIL PROTECTED] wrote: Hi, Just an idea but you could have a base class (maybe extend Zend_Db_Table) and put some custom code in here that does the logging, that

Re: [fw-general] Strategy for panels / blocks

2008-11-30 Thread Tim Nagel
I made a post to the mailing list last week about this exact problem: a method of limiting certain actions (or parameters of an action) to internal calls only. I believe I have solved the solution by using a 'secureParam' class, as per my reply [to my own post ;)]:

Re: [fw-general] Zend/Transport/Sendmail.php not auto-included - Wanted behavior?

2008-11-28 Thread Tim Nagel
You should take a look at the documentation for the Auto Loader. http://framework.zend.com/manual/en/zend.loader.html (the quick start guide has examples on it as well) T On Sat, Nov 29, 2008 at 10:24, Thomas D. [EMAIL PROTECTED] wrote: Hello, I am new to Zend Framework. I tried to send

Re: [fw-general] Zend_Session and rememberMe();

2008-11-27 Thread Tim Nagel
. Tim Nagel wrote: Hello, I am trying to set sessions to be remembered for 2 weeks. I have set remember_me_seconds to 1209600. I call Zend_Session::rememberMe() once the user is authenticated. Works great. The problem occurs that the cookie expiry time is never updated after this point

[fw-general] Securely sending information between actions

2008-11-27 Thread Tim Nagel
Hello, I have been using multiple actions to build some pages by offloading common code to their own actions. Works great in most circumstances. However, I have come across a security issue where when I include an action that could reveal sensitive information depending on the conditions passed.

[fw-general] Re: Securely sending information between actions

2008-11-27 Thread Tim Nagel
it be possible to forge such a request? T On Fri, Nov 28, 2008 at 11:51, Tim Nagel [EMAIL PROTECTED] wrote: Hello, I have been using multiple actions to build some pages by offloading common code to their own actions. Works great in most circumstances. However, I have come across a security issue

[fw-general] Zend_Session and rememberMe();

2008-11-26 Thread Tim Nagel
Hello, I am trying to set sessions to be remembered for 2 weeks. I have set remember_me_seconds to 1209600. I call Zend_Session::rememberMe() once the user is authenticated. Works great. The problem occurs that the cookie expiry time is never updated after this point and will expire in 2 weeks

Re: [fw-general] ActionStack and _forward()

2008-11-16 Thread Tim Nagel
You could store something in Zend_Registry, or Zend_Cache (and then wrap the init logic in an if statement)? T On Sun, Nov 16, 2008 at 09:43, drj201 [EMAIL PROTECTED] wrote: Goran Juric wrote: drj201 wrote: Hi all, Ive been following the method outlined here to add

Re: [fw-general] Zend_File_Transfer

2008-11-04 Thread Tim Nagel
manually from the destination path to the resourcepath. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: Tim Nagel [EMAIL PROTECTED] To: fw-general@lists.zend.com Sent: Monday, November 03, 2008 1:59 AM Subject: [fw

[fw-general] Zend_File_Transfer

2008-11-02 Thread Tim Nagel
Hello, I am trying to write the server side component of a file uploading form, which worked fine in its previous version with nothing to do with zend. (using move_uploaded_file, rather than rename()) At this point, the front end is done and posts files as expected, the php code: public

[fw-general] Overriding Zend_Controller_Plugin_ErrorHandler

2008-10-26 Thread Tim Nagel
Hello, I am trying to override the ErrorHandler plugin and I have run into an issue: I have created a plugin, Infinite_Controller_Plugin_ErrorHandler, derived from Zend's copy, and if i register the plugin at stack position 100 (as the current one is done in the Front Controller), I'll get an

Re: [fw-general] Setting default auth object

2008-10-23 Thread Tim Nagel
You should be able to set up a guest role and assign that to any user not logged in. Not sure how you've set up Zend_Auth and Zend_Acl, but thats what we've been doing. Every action we define in our projects has an -allow() call even if everyone is able to access it. Tim On Fri, Oct 24, 2008

Re: [fw-general] I can't access other controllers

2008-10-15 Thread Tim Nagel
Have you set up the rewrites properly? On Wed, Oct 15, 2008 at 16:54, Bobby703 [EMAIL PROTECTED] wrote: Hi all, I just start learning zend and created a very simple hello world app. So when I access http://localhost/zendtest/web_root, it will go to default indextAction of IndexController

Re: [fw-general] How do I factor out tasks common to every action controller?

2008-10-15 Thread Tim Nagel
I created my own controller, derived from Zend_Controller_Action, calling it Tim_Controller_Action and all of my controllers derive from my controller. (putting it in Library/Tim/Controller/Action.php) Dont forget to call parent::init(); if you override the init in the real controllers. On Thu,

Re: [fw-general] How do I factor out tasks common to every action controller?

2008-10-15 Thread Tim Nagel
Sorry my mistake, I need to learn how to read better ;) On Thu, Oct 16, 2008 at 12:04, Tim Nagel [EMAIL PROTECTED] wrote: I created my own controller, derived from Zend_Controller_Action, calling it Tim_Controller_Action and all of my controllers derive from my controller. (putting