Re: [fw-general] Re: Captcha Form Element

2010-01-28 Thread Tim Fountain
in image and once more imput text which is filled with name of image without .png extension. It should be there but it should be a hidden form field. It's hard to know exactly what's causing this without seeing your code, but perhaps this will give you some clues. -- Tim Fountain http

Re: [fw-general] Sudden performance drop - server settings?

2009-12-02 Thread Tim Fountain
to keep it form timing out, yet it's still too slow. Hopefully the caching will be the answer :) If the application uses a database, check the indexes. I've seen issues like this before caused by the data from the original server being exported without any of the indexes. -- Tim Fountain http

Re: [fw-general] Zend Autloader Throwing Exceptions

2009-11-06 Thread Tim Fountain
however the file you gave defines a class called: CP_Form. Rename the class to CP_Form_Login and all should work fine. -- Tim Fountain http://tfountain.co.uk/

[fw-general] Route chains not matching URLs with all optional variables

2009-10-22 Thread Tim Fountain
be difficult to merge. Is this worth opening an issue for, am I better off just creating my own route chain class, or am I misunderstanding how route chains are supposed to be used? -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Zend_Controller_Router_Route_Regex mapping fails when using optional parameters

2009-10-09 Thread Tim Fountain
this to (.+?), that should make it non-greedy, which will make it stop at the next /. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Domain Driven Design / Patterns of Enterprise Application Architecture [repost]

2009-09-28 Thread Tim Fountain
instincts and try and work out the solution that makes sense for your application. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] How to bootstrap application in testing environment

2009-09-21 Thread Tim Fountain
problems. Ideally your tests should be simulating session related stuff rather than actually creating PHP sessions I think. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Unit Testing ZFW

2009-08-03 Thread Tim Fountain
editing the correct one. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Image captcha, remove files

2009-07-28 Thread Tim Fountain
the hassle unless your site gets a very high amount of traffic and you're seeing slowdown issues on the captcha generation. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Captcha image not appearing

2009-07-09 Thread Tim Fountain
-registerCaptcha = $captchaCode ; Please help. I've not had this error before but it suggests that $this-session is either null or not an object, so I think the problem actually lies in your session creation code rather than the captcha part that you've included. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Transferring site to 5.0.5 php installation

2009-06-17 Thread Tim Fountain
to a server that has one. Version 5.0.5 is nearly four years old. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Facebook Vanity URLs

2009-06-10 Thread Tim Fountain
to see if that matches a username. If it does, set appropriate parameters. If not, return false (and the next route would be checked). -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Test-driven development does not work properly with Zend_Test

2009-06-08 Thread Tim Fountain
that the ErrorHandler handles this error and moves the action to ErrorController::errorAction(). I think setting throwExceptions to true on your front controller in test mode only should fix this, but you won't then be able test some of the error controller functionality. -- Tim Fountain http

Re: [fw-general] Unit Testing routes with . in there URI

2009-06-01 Thread Tim Fountain
the Zend_Navigation data is being created when run in test mode. Also make sure you have error_reporting right up in test mode, as this might help identify the problem. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Creating a dynamic database based Zend_Navigation item?

2009-06-01 Thread Tim Fountain
. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Bootstrap and view helpers

2009-06-01 Thread Tim Fountain
. You could either move this logic to a controller plugin, where you could check the current module and set the headTitle accordingly, or if your admin area has a different layout you could set the default titles in your layouts. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] ZF CLI slow

2009-06-01 Thread Tim Fountain
to be specified (or additional paths specified) in the .zfproject.xml file. This would also allow for project-specific providers. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] ZF CLI slow

2009-06-01 Thread Tim Fountain
the current directory for providers if it detects that the current directory is a ZF application (i.e. if .zfproject.xml is present). That way my colleagues can just checkout the latest version of the project and will be able to run all the app-specific zf * commands immediately. -- Tim Fountain

Re: [fw-general] Multiple sites with same code

2009-05-28 Thread Tim Fountain
the current site is if it needs to by looking at the SERVER_NAME. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Navigation helper returns span element

2009-05-26 Thread Tim Fountain
. This sounds perfectly reasonable to me, personally I wouldn't want the navigation helpers to be outputting links that don't go anywhere. I would suggest setting the URI to just / for your homepage, as this (should be) the correct path anyway. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] howto find a method

2009-05-19 Thread Tim Fountain
/IDE of choice. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Tim Fountain
system your are using? svn? git? Mostly git. 5. Do you use PHPUnit or other testing tools? PHPUnit. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Autoloading models

2009-05-01 Thread Tim Fountain
://framework.zend.com/manual/en/zend.loader.autoloader.html. This would probably achieve what you're after. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Zend_Payment feedback

2009-04-23 Thread Tim Fountain
having). -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Zend_Payment feedback

2009-04-23 Thread Tim Fountain
On 23/04/2009, Vadim Gabriel vadim...@gmail.com wrote: On Thu, Apr 23, 2009 at 6:03 PM, Tim Fountain t...@tfountain.co.ukwrote: I would also strongly recommend that you look into 3-D Secure authorisation and work out how you would build support for this into the component. It would be very

Re: [fw-general] Zend_Application Bootstrapping

2009-04-23 Thread Tim Fountain
this confusing users who are new to the framework. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Using HTML iframes with ZendFramework

2009-03-05 Thread Tim Fountain
with ZF. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] ZF 1.6.2 not being maintained/supported for php 5.1.4+ users??

2009-02-07 Thread Tim Fountain
is well over two years old. -- Tim Fountain http://tfountain.co.uk/

Re: [fw-general] Re: Zend_Form using GET - How to set array in url params? Control sent params?

2009-02-03 Thread Tim Fountain
which was pressed. My preference would be for Zend_Form to use the array notation by default. This would solve this problem and also be more consistent with other frameworks (that I've used anyway). But of course this would break BC, so could only be introduced with version 2.0. -- Tim Fountain

Re: [fw-general] Re: Zend_Form using GET - How to set array in url params? Control sent params?

2009-02-03 Thread Tim Fountain
On 03/02/2009, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Tim Fountain at 03/02/09 10:00 did gyre and gimble: There can be good reason to include the name attribute on submits. E.g. your form might contain two submit buttons ('Approve' and 'Reject'), and you use