[fw-general] Re: Newbie : Message: Invalid controller specified

2011-03-08 Thread Peter Sharp
mich wrote: > > btw would the path be: > > http://localhost/square/public/index/add ?? > > Mich, It's somewhat difficult to say what the URL would be ... you seem to be changing your server setup between each post. But assuming that when you first create the project, you can view the Zend

Re: [fw-general] mv controller modules/default -- not recognised

2011-03-08 Thread Hector Virgen
In Windows the command is "move". For more information type "move /?" in the command prompt. -- *Hector Virgen* Sr. Web Developer http://www.virgentech.com

Re: [fw-general] mv controller modules/default -- not recognised

2011-03-08 Thread Petar Dzhambazov
Hi, Sorry to disappoint you but mv is unix command. You can simply cut controllers and paste it in modules default. I am not sure exactly which command prompt command corresponds to mv. regards Petar On 03/08/2011 08:18 PM, mich wrote: hi All, Im trying to move a folder in the project/app

[fw-general] mv controller modules/default -- not recognised

2011-03-08 Thread mich
hi All, Im trying to move a folder in the project/application using Zend framework from the command prompt and the book says shell> mv controllers modules/default/ but I am getting the message mv is not a recognised internal or external command Any work around for this pls. I have a Windo

[fw-general] isImage Validator in Zend Form Object from XML file

2011-03-08 Thread braemer
Hi, I try to create a form with a file upload. xml and form work perfect when I use the following XML file Logo size 50 2097152 Die Dateig

[fw-general] isImage Validator in Zend Form Object from XML file

2011-03-08 Thread braemer
Hi, I try to create a form with a file upload. xml and form work perfect when I use the following XML file Logo size 50 2097152 Die Dateig

[fw-general] Re: Doctrine extensions and ZF

2011-03-08 Thread onur.ozgur.ozkan
Hi, Could you solve this problem? I have the some problem here! Best Regards. -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Doctrine-extensions-and-ZF-tp663266p3341679.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Re: underscore in URL

2011-03-08 Thread Petar Dzhambazov
I don't know how much this will help, but what you set in your bootstrap has nothing to do with zend tool. Zend tool operates according its own providers and does not take any insight from your application You can try to create the controller manually but I think you will have only headache if

[fw-general] Re: underscore in URL

2011-03-08 Thread tkuben
Hi, I am trying to create a controller with an underscore. I've added the specified code to my bootstrap: class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { protected function _initDoctype() { $dispatcher = $front->getDispatcher(); $dispatcher->setWordDelimit

Re: [fw-general] Zend guru advise on how to build a secure function - could we make a proposal out of this ?

2011-03-08 Thread Hector Virgen
On Tue, Mar 8, 2011 at 8:31 AM, Zladivliba Voskuy wrote: > Less code means less vulnerabiliites. Hmm.. I would argue that less code means more vulnerabilities. In order to protect a simple application from potential threats code must be added (e.g. filters, validators, escaping mechanisms, etc).

RE: [fw-general] Zend guru advise on how to build a secure function - could we make a proposal out of this ?

2011-03-08 Thread Zladivliba Voskuy
Thanks for your answer ! > So, does this mean you are against htmlPurifier simply because of > "undiscovered > vulnerabilities"? If you fear something being insecure simply because of its > undiscovered fault, then that probably isn't the best rout to go about > evaluating things. In my exper

[fw-general] Re: Newbie : Message: Invalid controller specified

2011-03-08 Thread mich
Hi, No, the public function indexAction() is there and havent touched the file. I have since then created another project with the same name but I would like to know as I need to do the same action again and most probably end up with the same error. btw would the path be: http://localhost/s

Re: [fw-general] Re: how to use json action context?

2011-03-08 Thread David Mintz
On Tue, Mar 8, 2011 at 7:40 AM, bguery wrote: > Hi, > > I wrote a plugin to set a defaut format on XHR to avoid you to set the > format parameter on each request. > > You can check it out on github > > https://github.com/borisguery/bgylibrary/blob/master/library/Bgy/Controller/Plugin/AjaxContextD

[fw-general] Zend_Gdata_YouTube_VideoEntry - iframe link?

2011-03-08 Thread tonystamp
Hi, does the Zend_Gdata_YouTube_VideoEntry provide a link for the newer iframe tag? The only method i can see on the api at the moment is getFlashPlayerUrl. -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Zend-Gdata-YouTube-VideoEntry-iframe-link-tp3341163

[fw-general] Zend_Json::decode and false/null problem

2011-03-08 Thread onur.ozgur.ozkan
Hi Guys, My problem was over decode a json which has false elements. Let me show, $json = '[{"active":true,"id":"6"},{"active":true,"id":"5"},{"active":false,"id":"1"}]'; print_r(Zend_Json::decode($json)); // Output is Array ( [0] => Array ( [active] => 1 [id] => 6 ) [1] => Array ( [active] =>

[fw-general] Re: Newbie : Message: Invalid controller specified

2011-03-08 Thread Peter Sharp
mich wrote: > > They were created in > > ..square/application/views/scripts/index (in the same folder where there > is the index.phtml). > This is actually the correct location for the files, assuming they were named add.phtml and edit.phtml. These are view files which are loaded when c

[fw-general] Re: Apache Benchmark and failed request

2011-03-08 Thread Vincio
Ok, probably the problem is apache benchmark. I used siege and I got this results: NEW ONE (CACHED) Transactions: 500 hits Availability: 100.00 % Elapsed time: 67.40 secs Data transferred: 5.59 MB Response time: 0

[fw-general] Apache Benchmark and failed request

2011-03-08 Thread Vincio
Hi, I'm trying some apache benchmark and I saw very bad things. I'm currently migrating my website (+300k page viewed per month) from old version (simple php with mysql) to new one that will use Zend Framework and PostgreSQL. I don't understand why I'm having this result using apache benchmark: NE

[fw-general] Re: how to use json action context?

2011-03-08 Thread bguery
Hi, I wrote a plugin to set a defaut format on XHR to avoid you to set the format parameter on each request. You can check it out on github https://github.com/borisguery/bgylibrary/blob/master/library/Bgy/Controller/Plugin/AjaxContextDefaultFormat.php Here is an usage example : http://borisguery

[fw-general] wrong 'type' attribute in SimpleTextarea

2011-03-08 Thread Guillaume ORIOL
Dear Zend framework community, I just noticed the Zend_Dojo_Form_Element_SimpleTextarea element is not properly rendered by its view helper. A 'type' attribute is added in contradiction with the HTML 4 specification (http://www.w3.org/TR/html4/interact/forms.html#edef-TEXTAREA). I would sugge

[fw-general] Re: Newbie : Message: Invalid controller specified

2011-03-08 Thread mich
hey, Please bear with me. Being new to PHP and Zend I couldnt find my error. So I have started afresh with a new sample project. I had correctly connected to Zend until I did a zf create action add Index zf create action edit Index... But I think I have created them on the wrong folder . I