Re: [fw-general] Help me with ZF2 routing?

2014-05-21 Thread Jamie Krasnoo
Hey Bart, I figured it out. This does exactly what I wanted it to do. Thanks for the reply. Jamie On Wed, May 21, 2014 at 12:38 AM, Bart McLeod wrote: > If your problem is the child route taking precedence, you should consider > adding a priority key and set it to a high value. > > Op 21 mei

Re: [fw-general] Help me with ZF2 routing?

2014-05-21 Thread Bart McLeod
If your problem is the child route taking precedence, you should consider adding a priority key and set it to a high value. Op 21 mei 2014, om 00:31 heeft Jamie Krasnoo het volgende geschreven: > Hi All, > > I've attached what I've done for the config of my Admin module. I can't seem > to ge

[fw-general] Help me with ZF2 routing?

2014-05-20 Thread Jamie Krasnoo
Hi All, I've attached what I've done for the config of my Admin module. I can't seem to get my head around the routing yet. I've taken the Application config and made it generic so I can get a good start. What I'd like to do is route /admin/login to the login action of the Auth Controller. However

Re: [fw-general] help with Zend\Db\Sql\Expression

2013-11-14 Thread Ralph Schindler
Hi, I am having trouble reading through your code sample, do you have an example with a stack trace/error? Or some kind of reproduction case? -ralph On 11/8/13 3:07 AM, Steve Rayner wrote: I'm getting Object of class Zend\Db\Sql\Expression could not be converted to string with the following

[fw-general] help with Zend\Db\Sql\Expression

2013-11-08 Thread Steve Rayner
I'm getting Object of class Zend\Db\Sql\Expression could not be converted to string with the following code; $select->join(*array*('tt' => 'discuss_thread_tag'), 'tt.tag_id = discuss_tag.tag_id', *array*(), 'left') ->join(*array*('t' => 'discuss_thread'), 't.thread_id = tt.thread_id', *arra

Re: [fw-general] Help needed file uploading

2013-08-20 Thread Bas Kamer
better create some gists at gist.gthub.com and send some links to them as this source is unreadable… please include all (relevant) source. Specifically the source of the MusicUploadForm class On 17 aug. 2013, at 11:50, Sandeep Singh wrote: > Hi, > > I am working on a project using zend fr

[fw-general] Help needed file uploading

2013-08-17 Thread Sandeep Singh
Hi, I am working on a project using zend framework and i am stuck with a problem. I have to upload three files via a single form. The files must be mp3. Only one of them is compulsary . I was able to do study about it but still few bugs in my code. If i upload three files with same name then onl

Re: [fw-general] Help using predicate and nesting conditions

2013-04-18 Thread Ralph Schindler
The code below generates the following sql statement: * EXAMPLE2:* SELECT "persons".* FROM "persons" WHERE "givenName" LIKE '%john%' OR "surname" LIKE '%john%' OR "givenName" LIKE '%doe%' OR "surname" LIKE '%doe%' AND active = 1 ORDER BY "surname" ASC LIMIT '2' OFFSET '0' $spec = function (Wher

[fw-general] Help using predicate and nesting conditions

2013-04-18 Thread pobrejuanito
Hey Guys, I can't figure out how I can add parenthesis to generate a statement like one below in ZF2: *EXAMPLE1:* SELECT "persons".* FROM "persons" WHERE *(*"givenName" LIKE '%john%' OR "surname" LIKE '%john%' OR "givenName" LIKE '%doe%' OR "surname" LIKE '%doe%'*)* AND active = 1 ORDER BY "surna

[fw-general] Help getting Zend\Cache\Pattern\CaptureCache generated filename

2013-02-06 Thread Julian Vidal
I'm trying to get the name of the file that Zend\Cache\Pattern\CaptureCache is writing to disk. I know that it is not actually this object that writes the file (I think it is Zend\Cache\Storage\Adapter) but I don't know how (or when) to access the file name. I've been going over all the events tri

[fw-general] Help needed creating filteringselect from joined tables

2011-04-25 Thread Irishstudent
Hi all. I have a number of FilteringSelect elements within my Zend Framework application that are working fine but they are based on simple queries. I now need to create a FilteringSelect that will allow me to select the id of one table while displaying the text of field in a related table, i.e.

Re: [fw-general] Help with decorators

2011-03-20 Thread Kaiuwe
Im trying to understand the idea of decoraters. This is not an idea, it is a design pattern: http://en.wikipedia.org/wiki/Decorator_pattern however my textareas, checkboxes and input textbox are still not showing next to their label . You can use CSS: (example) dl { margin: 1em 0;

[fw-general] Help with decorators

2011-03-18 Thread mich
-- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Help-with-decorators-tp3388526p3388526.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general

Re: [fw-general] help with debugging a possible path/env/setting issue - PHPunit - SOLVED

2011-01-27 Thread Simon Walter
On 01/28/2011 02:47 AM, Leander Damme wrote: As far as I can tell, your error originates from /var/www/unit-testing/tests/application/controllers/IndexControllerTest.php Line 3. which is a require_once of 'Zend/Test/PHPUnit/ControllerTestCase.php' So it does not have anything to do with require

Re: [fw-general] help with debugging a possible path/env/setting issue - PHPunit

2011-01-27 Thread Leander Damme
As far as I can tell, your error originates from /var/www/unit-testing/tests/application/controllers/IndexControllerTest.php Line 3. which is a require_once of 'Zend/Test/PHPUnit/ControllerTestCase.php' So it does not have anything to do with require_once 'controllers/ControllerTestCase.php'; A

Re: [fw-general] help with debugging a possible path/env/setting issue - PHPunit

2011-01-27 Thread Simon Walter
On 01/28/2011 01:43 AM, Leander Damme wrote: Hi Simon, make sure you have an up2date Zend Framework library in you include path and 'Zend/Test/PHPUnit/ControllerTestCase.php' exists. I have also run into case sensitivity issues a couple of times. Developing on a case-insensitive file system (Os

Re: [fw-general] help with debugging a possible path/env/setting issue - PHPunit

2011-01-27 Thread Leander Damme
Hi Simon, make sure you have an up2date Zend Framework library in you include path and 'Zend/Test/PHPUnit/ControllerTestCase.php' exists. I have also run into case sensitivity issues a couple of times. Developing on a case-insensitive file system (Os X) and deploying on a case sensitive fs (Lin

[fw-general] help with debugging a possible path/env/setting issue - PHPunit

2011-01-27 Thread Simon Walter
Hi all, This is my first email to the list. So, sorry if this is a bad place to ask this. I'm trying to set up PHPunit for testing my ZF projects. To make things really simple and not have a bunch of code flying back and forth, here is a reproducible test. I take Jon's PHPunit Zend Cast co

Re: [fw-general] Help with ZF architecture design

2011-01-15 Thread Shawn Ostler
Yes, it does seem a model will work but not entirely. Simple solution would be to create an action, for each module, that would create the necessary form and save the data, but that can get to complicated and time consuming. I have used a model, like Admin_Model_Module, its job was to represent

Re: [fw-general] Help with ZF architecture design

2011-01-15 Thread Jurian Sluiman
Hi Shawn, Thanks for your comment (also on SO)! I understand your logic, but the origin of my problem is I have a Blog module, Portfolio module, Contact module etc. I'd like a loose coupling between these "content" modules and the Admin module. So the admin acts like a front controller to fetch

Re: [fw-general] Help with ZF architecture design

2011-01-14 Thread Shawn Ostler
I believe you are confusing MVC modules and what you are calling "Page Modules". It sounds like you need one module and a few models. Pages_Model_Page has many Pages_Model_Module. Each, Pages_Model_Module, has one form (Pages_Form_Module_*) and getForm() method to get the form for the module.

[fw-general] Help with ZF architecture design

2011-01-14 Thread Jurian Sluiman
Hi all, I'm a bit stuck about the architecture I need to design and hope some of you can give me some hints. A certain action controller needs to build a page containing a Zend_Form instance and some html. The form contains subforms which are generated by other modules. The html is concatenate

Re: [fw-general] help to build sql query via zend_db

2010-09-22 Thread My Lists
Hello i got the same result in an easier way. Im just transfering it to zend_db now. If i get any problem i reply this message. SELECT `ms`.*, (SELECT COUNT(mi.id) FROM mailingItem as mi WHERE mi.mailingSchedule__id__FK=ms.id) AS `mailingItemCount`, SUM(IF(msr.bounce=0,1,0)) AS `sentTotal`, SUM(

Re: [fw-general] help to build sql query via zend_db

2010-09-22 Thread My Lists
Actually i need to get SUM and COUNT in two child tables. My original query was this: $select=$this->getDbTable()->select() ->setIntegrityCheck(false) ->from(array('ms'=>'mailingSchedule')) ->joinleft(array('mi'=>'mailingItem'), 'mi.mailingSchedule__id

Re: [fw-general] help to build sql query via zend_db

2010-09-22 Thread Andrew Ballard
On Wed, Sep 22, 2010 at 3:12 PM, My Lists wrote: > Hello . Please, is there any good soul here that can help me to write > a specific query to zend_db? > >  I can deal with joins on zend_db very well but now i need some > subquery together with joins. Following is my query. > >    SELECT `ms`.*, C

[fw-general] help to build sql query via zend_db

2010-09-22 Thread My Lists
Hello . Please, is there any good soul here that can help me to write a specific query to zend_db? I can deal with joins on zend_db very well but now i need some subquery together with joins. Following is my query. SELECT `ms`.*, COUNT(mi.id) AS `mailingItemCount` , msr.sent AS `sent` , msr.

Re: [fw-general] Help with development of high traffic application (replication / media management) with ZF

2010-07-21 Thread Bill Karwin
On Jul 21, 2010, at 1:33 PM, robert mena wrote: Thanks for that. I surely need to define those parameters and they will change what solutions I'll be forced to use. But again let's say I define: - 99.95% of uptime, Okay, this means you can tolerate ~5 minutes of outage per week on aver

Re: [fw-general] Help with development of high traffic application (replication / media management) with ZF

2010-07-21 Thread robert mena
Hi Bill. Thanks for the long reply. On Tue, Jul 20, 2010 at 1:06 PM, Bill Karwin wrote: > > On Jul 20, 2010, at 7:00 AM, robert mena wrote: > > I am in a process of developing a new version of my application. The new >> version must be able to have high availability and scale so I am evaluati

Re: [fw-general] Help with development of high traffic application (replication / media management) with ZF

2010-07-21 Thread robert mena
Hi Vincent, Thanks for your reply. I have some comments below Thanks. On Tue, Jul 20, 2010 at 10:48 AM, Vincent de Lau wrote: > > > I don't have enough experience to advice on this, however: MySQL also > supports a cluster mode, NDB. It should work transparently but will spread > the storage

Re: [fw-general] Help with development of high traffic application (replication / media management) with ZF

2010-07-20 Thread Bill Karwin
On Jul 20, 2010, at 7:00 AM, robert mena wrote: I am in a process of developing a new version of my application. The new version must be able to have high availability and scale so I am evaluating both hardware and software techniques so I can cope with the increasing traffic and a SLA.

RE: [fw-general] Help with development of high traffic application (replication / media management) with ZF

2010-07-20 Thread Vincent de Lau
> -Oorspronkelijk bericht- > Van: robert mena [mailto:robert.m...@gmail.com] > a) database > > Should I use regular databases? In my case MySQL with the master - > slave situation. Or should I try Mongo/Cassandra because of the > auto-sharding features? This is something that I don't

[fw-general] Help with development of high traffic application (replication / media management) with ZF

2010-07-20 Thread robert mena
Hi, I am in a process of developing a new version of my application. The new version must be able to have high availability and scale so I am evaluating both hardware and software techniques so I can cope with the increasing traffic and a SLA. I already use Zend_Cache to reduce unnecessary calls

Re: [fw-general] Help with Zend_Rest_Route

2010-06-18 Thread Matthew Weier O'Phinney
-- dmitrybelyakov wrote (on Friday, 18 June 2010, 04:53 AM -0700): > My application has a module, say a Blog module, with routes to it like the > following: > > /some/path/news/ (module=blog controller=index action=index) > /some/path/news/:postAlias (module=blog controller=post action=index)

[fw-general] Help with Zend_Rest_Route

2010-06-18 Thread dmitrybelyakov
Hello, My application has a module, say a Blog module, with routes to it like the following: /some/path/news/ (module=blog controller=index action=index) /some/path/news/:postAlias (module=blog controller=post action=index) I now need to create a REST api, so I create a Blog_RestController e

[fw-general] help with decorators

2010-04-12 Thread Mike Wright
Hi all, I've been struggling to decorate a subform. It's almost there but I keep running into a 'gotcha'. I can't figure out how to wrap the innermost dt/dd pairs in a dl element. If I add another HtmlTag the outer one no longer renders and the inner one inherits the outer one's class attr

Re: [fw-general] Help with ajaxContext helper

2010-03-26 Thread Саша Стаменковић
Oh, 'HTTP_USER_AGENT' => 'Mozilla/5.0 (compatible; Purebot/1.1; +http://www.puritysearch.net/)' is killing it too. 'REQUEST_URI' is '/index/facebook/format/html' even if I put User-agent: * Disallow: /index/twitter/format/html Allow: / Disallow: /index/facebook/format/html in robots.txt

Re: [fw-general] Help with ajaxContext helper

2010-03-26 Thread Hector Virgen
Nice find! :) -- Hector On Fri, Mar 26, 2010 at 4:29 AM, Саша Стаменковић wrote: > Looks like it's googlebot > > 'HTTP_FROM' => 'googlebot(at)googlebot.com' > > :) > > Ok, he found on home pagehttp://automobi.li/ this > link /index/facebook/format/html > > waiting to see who is accessing the li

Re: [fw-general] Help with ajaxContext helper

2010-03-26 Thread Саша Стаменковић
Looks like it's googlebot 'HTTP_FROM' => 'googlebot(at)googlebot.com' :) Ok, he found on home pagehttp://automobi.li/ this link /index/facebook/format/html waiting to see who is accessing the link which is only and only in my javascript...and looking for the solution for preventing this errors

Re: [fw-general] Help with ajaxContext helper

2010-03-25 Thread Саша Стаменковић
Will do, stay tunes ;) Regards, Saša Stamenković On Thu, Mar 25, 2010 at 4:25 PM, Hector Virgen wrote: > That seems fine to me, but there may be something else creating a request > for that action without ajax. Can you add some logging in your action to log > the request? It might give you som

Re: [fw-general] Help with ajaxContext helper

2010-03-25 Thread Hector Virgen
That seems fine to me, but there may be something else creating a request for that action without ajax. Can you add some logging in your action to log the request? It might give you some details as to what's happening when it errors. -- Hector On Thu, Mar 25, 2010 at 8:18 AM, Саша Стаменковић wr

Re: [fw-general] Help with ajaxContext helper

2010-03-25 Thread Саша Стаменковић
_helper->ajaxContext ->setActionContext('uzmi-modele', 'html') ->setActionContext('oglasi-broj', 'json') ->setActionContext('kontakt', 'html') ->initContext(); } // public function oglasiBrojAction() { $car = new Automobili_Model_Table_Car(); $form = new Automobili_Form_Quic

Re: [fw-general] Help with ajaxContext helper

2010-03-25 Thread Hector Virgen
Are you manually calling $this->render() in your action, or do you have a controller plugin or helper that is calling it? -- Hector On Thu, Mar 25, 2010 at 8:12 AM, Саша Стаменковић wrote: > My ajax calls always send the format parameters. > > Now I see that I have one json action, that is trig

Re: [fw-general] Help with ajaxContext helper

2010-03-25 Thread Саша Стаменковић
My ajax calls always send the format parameters. Now I see that I have one json action, that is triggered ONLY from javascript, so no user will type /some/action/format/json in the location bar of the browser, but still I get exception 'Zend_View_Exception' with message 'script 'some/action.phtml

Re: [fw-general] Help with ajaxContext helper

2010-03-25 Thread scs
In my case, Since I did not take it as a big problem, I did not investigate this deeply but: I use jquery and when i look at the headers send by jquery(with firebug), xmlhttprequest param is set. But the context does not change... On Thu, Mar 25, 2010 at 5:06 PM, A.J. Brown wrote: > Actually,

Re: [fw-general] Help with ajaxContext helper

2010-03-25 Thread A.J. Brown
Correction: obviously ajaxContext does use the format parameter. I'm not sure what I was thinking :) On Thu, Mar 25, 2010 at 11:06 AM, A.J. Brown wrote: > Actually, I believe that ajaxContext does not use the "format" request > parameter.  Your problem is likely that the client is not sending t

Re: [fw-general] Help with ajaxContext helper

2010-03-25 Thread A.J. Brown
Actually, I believe that ajaxContext does not use the "format" request parameter. Your problem is likely that the client is not sending the proper headers. Your best solution would be to use the contextSwitch helper instead, and change your AJAX calls to pass the format parameter, or to throw an

Re: [fw-general] Help With Zend_Currency Throwing Exception

2010-03-25 Thread Arthur M. Kang
arly described within the manual. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Arthur M. Kang" To: "Zend Framework - General" Sent: Thursday, March 25, 2010 1:28 AM Subject: [fw-general] Help With Ze

Re: [fw-general] Help With Zend_Currency Throwing Exception

2010-03-25 Thread Thomas Weidner
eam Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Arthur M. Kang" To: "Zend Framework - General" Sent: Thursday, March 25, 2010 1:28 AM Subject: [fw-general] Help With Zend_Currency Throwing Exception I'm trying to set a locale and hav

Re: [fw-general] Help with ajaxContext helper

2010-03-24 Thread Саша Стаменковић
I thinks second requirement is there, but XMLHttpRequest is not. Otherwise, it would always fail. Regards, Saša Stamenković On Wed, Mar 24, 2010 at 6:15 PM, Jurian Sluiman wrote: > On Tuesday 23 Mar 2010 20:15:03 Саша Стаменковић wrote: > > Interesting. Is there a way to solve it on one place.

[fw-general] Help With Zend_Currency Throwing Exception

2010-03-24 Thread Arthur M. Kang
I'm trying to set a locale and have use that information throughout my site for languages, currency, and dates. I would assume this is pretty standard. The problem occurs when setting a locale without a region and then trying to instantiate a Zend_Currency object using that locale. Zend_Date

Re: [fw-general] Help with ajaxContext helper

2010-03-24 Thread Jurian Sluiman
On Tuesday 23 Mar 2010 20:15:03 Саша Стаменковић wrote: > Interesting. Is there a way to solve it on one place. What is enough for me > is to prevent logging errors in error controller. > So custom exception thrown from controller plugin is fine...if ajax action > is called without ajax. > > Regar

Re: [fw-general] Help with ajaxContext helper

2010-03-24 Thread Hector Virgen
Keep in mind that the AjaxContext helper needs two conditions to be satisfied in order for it to kick in: 1. The header "X_REQUESTED_WITH" must be "XMLHttpRequest" (automatic with Prototype and jQuery) and 2. The correct "format" parameter must be specified in the request, It's that sec

Re: [fw-general] Help with ajaxContext helper

2010-03-23 Thread Саша Стаменковић
I'm getting a number of logs daily. Very strange, it can't be that all of these people don't have javascript enabled. Regards, Saša Stamenković On Tue, Mar 23, 2010 at 8:15 PM, Саша Стаменковић wrote: > Interesting. Is there a way to solve it on one place. What is enough for me > is to prevent

Re: [fw-general] Help with ajaxContext helper

2010-03-23 Thread Саша Стаменковић
Interesting. Is there a way to solve it on one place. What is enough for me is to prevent logging errors in error controller. So custom exception thrown from controller plugin is fine...if ajax action is called without ajax. Regards, Saša Stamenković On Tue, Mar 23, 2010 at 5:43 PM, Hector Virge

Re: [fw-general] Help with ajaxContext helper

2010-03-23 Thread Hector Virgen
The AjaxContext helper, in my opinion, is used to enhance an existing page with Ajax functionality. That means your page would be accessible normally without javascript, and then enhanced when javascript is available. If your action is coded to be Ajax-only, and somehow a user requests that page w

[fw-general] Help with ajaxContext helper

2010-03-23 Thread umpirsky
In init method of my controller I have public function init() { $this->_helper->ajaxContext ->setActionContext('facebook', 'html') ->setActionContext('twitter', 'html') ->initContext(); } This loads f

[fw-general] help me correct my mistakes!!!

2010-02-23 Thread wdvill
http://n4.nabble.com/file/n1565780/hellowang.rar hellowang.rar this is my zf project the index.php can show but index.php/index/add and index.php/index/edit have 404 error please someone can help me correct my mistakes~!!! -- View this message in context: http://n4.nabble.com/help-me-co

Re: [fw-general] Help with setting up custom route

2010-01-26 Thread Hector Virgen
If you want to make a parameter optional, you need to pass it a default: $router->addRoute( 'adminTeachers', new Zend_Controller_Router_Route('admin/teacher/:action/:id', array( 'controller' => 'teacher', 'action' => 'index', 'id' => 0)) ); -- Hector On Tue, Jan 26, 2010 at 12:12

Re: [fw-general] Help with setting up custom route

2010-01-26 Thread Mark Steudel
Excellent, thanks. I ended up with something like: $router->addRoute( 'adminTeachers', new Zend_Controller_Router_Route('admin/teacher/:action', array( 'controller' => 'teacher', 'action' => 'index')) ); If I want to have multiple routes, e.g. admin/teacher, admin/class would I se

Re: [fw-general] Help with setting up custom route

2010-01-26 Thread Hector Virgen
try setting your route to "admin/:action/*" -- Hector On Tue, Jan 26, 2010 at 11:58 AM, Mark Steudel wrote: > Hi, > > I am trying to setup a custom router to create a "admin area" type of > thing: > > I've started with: > > $frontController = Zend_Controller_Front::getInstance(); > $router = $

[fw-general] Help with setting up custom route

2010-01-26 Thread Mark Steudel
Hi, I am trying to setup a custom router to create a "admin area" type of thing: I've started with: $frontController = Zend_Controller_Front::getInstance(); $router = $frontController->getRouter(); $router->addRoute( 'listTeachers', new Zend_Controller_Router_Route('admin', array( 'cont

Re: [fw-general] help w/ a Custom View Helper

2010-01-16 Thread takeshin
For: Mnb_View_Helper_DivWrap $view->addHelperPath('Mnb/View/Helper/', 'Mnb_View_Helper_')-> addHelper('DivWrap'); // no namespace here needed should work. -- regards takeshin -- View this message in context: http://n4.nabble.com/help-w-a-Custom-View-Helper-tp1011557p1015804.html Sent from th

Re: [fw-general] help w/ a Custom View Helper

2010-01-11 Thread Mark Murphy
Should that not be Default_View_Helper_DivWrap ? Mike Wright wrote: Mike Wright wrote: Plugin by name 'DivWrap' was not found in the registry; used paths: Zend_View_Helper_: Zend/View/Helper/: Mnb/View/Helper/: /srv/www/mnb.5/application/views/helpers/ But the last 2 lines above show that it

Re: [fw-general] help w/ a Custom View Helper

2010-01-11 Thread Hector Virgen
Zend_View doesn't use the autoloader, although the path and name of the class would lead you to believe that it does. It uses the plugin loader only, so be sure to register your helper paths in each of your module bootstraps. -- Hector On Mon, Jan 11, 2010 at 1:59 PM, Mike Wright wrote: > Mike

Re: [fw-general] help w/ a Custom View Helper

2010-01-11 Thread Mike Wright
Mike Wright wrote: Plugin by name 'DivWrap' was not found in the registry; used paths: Zend_View_Helper_: Zend/View/Helper/: Mnb/View/Helper/: /srv/www/mnb.5/application/views/helpers/ But the last 2 lines above show that it knows where to look and is looking in the right places so addHelperPa

Re: [fw-general] help w/ a Custom View Helper

2010-01-11 Thread Hector Virgen
Zend_View uses its own plugin loader. Did you register the helper path for "Mnb_View_Helper" with your view instance? You can debug your helper paths with: var_dump($view->getHelperPaths()); -- Hector On Mon, Jan 11, 2010 at 1:25 PM, takeshin wrote: > > Ensure you registered new namespace wit

Re: [fw-general] help w/ a Custom View Helper

2010-01-11 Thread takeshin
Ensure you registered new namespace with autoloader. (try with require_once) Ensure you are not using PluginLoader cache. Try to move your code to Zend_ namespace and see if it is an issue of autoloader/paths or typos in your code. -- regards takeshin -- View this message in context: http:/

[fw-general] help w/ a Custom View Helper

2010-01-11 Thread Mike Wright
Hi all, Seems I'm lost again... I'm trying to create a custom view helper called "DivWrap". I've poured over the reference guide's Zend_View chapter 4 View Helpers again and again, copied and tried the examples but always receive the following exception: Plugin by name 'DivWrap' was not fo

[fw-general] Help with - Captcha image refresh in forum

2009-12-22 Thread Pablo de la Vega
Any one know hoy to refresh one imagen in a forun with decorate? i alredy make a validate mail and username with jquery in some inputs. i have a image captcha and i like to put a button/imagen with onclick action refresh the captcha imagen.. pliz help me!! Best Regards, Pablo -- >> AgeValed <<

Re: [fw-general] Help with Zend Rest Route

2009-12-04 Thread Jacky Chan
McKee, the route you add is incorrect,you should change 'articles/:articleid' to 'articles/:articleid/*' , hope that help you. best regards. Jacky 在 2009-12-4,上午8:04, AJ McKee 写道: > $route = new Zend_Controller_Router_Route('articles/:articleid', > array('module' => 'articles', 'controller'

[fw-general] Help with Zend Rest Route

2009-12-03 Thread AJ McKee
hi All, I seem to be running into a PEBKAC issue with Zend_Rest_Route I've initialized the rest route with the following (See http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.basic ) $front = Zend_Controller_Front::getInstance(); $router = $front->getRouter(

Re: [fw-general] Help Getting Mail Through to Lists

2009-10-25 Thread Ralph Schindler
Try mailing fw-general-h...@lists.zend.com. This email should come back to you regardless of if you are subscribed or not. This will at least ensure that your email is making it to the list server if you get a response. -ralph Arthur M. Kang wrote: I am sure I am trying to mail from the acco

Re: [fw-general] Help Getting Mail Through to Lists

2009-10-20 Thread Arthur M. Kang
I am sure I am trying to mail from the account that was registered and it is failing. Mail from my gmail account, which is not subscribed to the list, is getting through. Arthur listm...@websage.ca wrote: On Mon, 19 Oct 2009 13:47:29 -0700 Arthur Kang wrote: Does the Zend Lists have

Re: [fw-general] Help Getting Mail Through to Lists

2009-10-20 Thread listmail
On Mon, 19 Oct 2009 13:47:29 -0700 Arthur Kang wrote: > Does the Zend Lists have a spam filter or blacklist in front of > them? I can't get any email through to the lists from my regular > email address. I don't get any errors or bounces, either. Seems > like my mail servers IP is blacklisted.

[fw-general] Help Getting Mail Through to Lists

2009-10-19 Thread Arthur Kang
Does the Zend Lists have a spam filter or blacklist in front of them? I can't get any email through to the lists from my regular email address. I don't get any errors or bounces, either. Seems like my mail servers IP is blacklisted. Could the list administrator contact me with information on ho

Re: [fw-general] Help me to customize error

2009-10-03 Thread onewaylife
Hi Ralph, Thanks for your reply, I am calling this from Zend_Tool (I am using ZF1.8) I will change short tags from error.phtml and then check . Rakesh Ralph Schindler-2 wrote: > > Did you generate this ErrorController / error.phtml script? If so, from > where? We had originally went throu

Re: [fw-general] Help me to customize error

2009-09-29 Thread Ralph Schindler
Did you generate this ErrorController / error.phtml script? If so, from where? We had originally went through both the output of Zend_Tool as well as the quickstart application to ensure that the code does not use short_tags. So, if you can let us know where the code came from, we'll be happy to

AW: [fw-general] Help me to customize error

2009-09-29 Thread Marco Kaiser
Hi, this looks like you have short open tag off. php.ini: short_open_tag = On -- Marco -Ursprüngliche Nachricht- Von: onewaylife [mailto:rakesh.mis...@gmail.com] Gesendet: Dienstag, 29. September 2009 09:28 An: fw-general@lists.zend.com Betreff: [fw-general] Help me to customize error

[fw-general] Help me to customize error

2009-09-29 Thread onewaylife
Hi, I am new to ZF and I don't know why for each error I am getting this error which make impossible for me to debug this please help to get genuin error. An error occurred message ?> Exception information: Message: exception->getMessage() ?> Stack trace: exception->getTraceAsString() ?> Req

[fw-general] Help creating session Save Handler for Memcached

2009-07-26 Thread Jamie Krasnoo
I'm trying to create a session handler that uses Memcached since I haven't seen an official Zend_Session_SaveHandler_Memcached. I'm also trying to intelligently do it so I don't have problems with the cache data expiring before it should logging the user out. That would create a major annoyance. T

[fw-general] Help displaying Image!!!Stored in DB

2009-07-19 Thread jigen7
I've Been following this guide(h http://www.sumedh.info/articles/store-upload-image-postgres-php.html ttp://www.sumedh.info/articles/store-upload-image-postgres-php.html ) on how to store and retrive the image do the postgre db, the storing image is successful but somehow i cant get the image to b

Re: [fw-general] Help in creating Dojo Combo Box and Date Picker

2009-07-06 Thread Matthew Weier O'Phinney
-- jigen7 wrote (on Monday, 06 July 2009, 12:34 AM -0700): > Matthew Weier O'Phinney-3 wrote: > > -- jigen7 wrote > > (on Sunday, 05 July 2009, 08:56 PM -0700): > > > Hi I'm new in using Zend Dojo Form and most of the tutorials is for > > > version 1.7 as the latest ver is 1.8 > > > > The chang

Re: [fw-general] Help in creating Dojo Combo Box and Date Picker

2009-07-06 Thread jigen7
Matthew Weier O'Phinney-3 wrote: > > -- jigen7 wrote > (on Sunday, 05 July 2009, 08:56 PM -0700): >> Hi I'm new in using Zend Dojo Form and most of the tutorials is for >> version >> 1.7 as the latest ver is 1.8 > > The changes to 1.8 will not affect Dojo integration in the least; the > tuto

Re: [fw-general] Help in creating Dojo Combo Box and Date Picker

2009-07-05 Thread Matthew Weier O'Phinney
-- jigen7 wrote (on Sunday, 05 July 2009, 08:56 PM -0700): > Hi I'm new in using Zend Dojo Form and most of the tutorials is for version > 1.7 as the latest ver is 1.8 The changes to 1.8 will not affect Dojo integration in the least; the tutorials that exist are still relevant. > can anyone hel

[fw-general] Help in creating Dojo Combo Box and Date Picker

2009-07-05 Thread jigen7
Hi I'm new in using Zend Dojo Form and most of the tutorials is for version 1.7 as the latest ver is 1.8 can anyone help me to add a combo box in my page where i can select default values or i can input my value when the value is not present in the list and also a date picker. how will i declare i

[fw-general] -help

2009-02-09 Thread Matthew Ishii

Re: [fw-general] Help with Zend_Soap_AutoDiscover and array of complex types

2008-12-03 Thread Benjamin Eberlei
Hello Krytie, the ArrayOfTypeComplex strategy is not ignored. Its used for the first level and then replaced by the DefaultComplexType for the second level. I havent thought about deeper levels. This is a bug. I have added an issue to Jira and will look into it for the next release. Maybe you

[fw-general] Help with Zend_Soap_AutoDiscover and array of complex types

2008-12-03 Thread krytie
Hi, How would I go about defining an array of complex types as a property of another complex type? The code below gives me the error. "Cannot add a complex type MyComplexTypeB[] that is not an object or where class could not be found in 'DefaultComplexType' strategy." function wsdlAction(){

RE: [fw-general] help setDecorators for Zend_Form_Element_Captcha

2008-11-11 Thread Terre Porter
this->setDecorators($decorators); $this->setValue($this->getCaptcha()->generate()); return ''.parent::render($view).''; } } It's the same render function as the existing one in Zend_Form_Element_Captcha but with the 's added

[fw-general] help setDecorators for Zend_Form_Element_Captcha

2008-11-10 Thread Terre Porter
I'm trying to create a captcha form element in a table row. I have this for a text element. // set wrapper around element $email->setDecorators(array( 'ViewHelper', 'Description', 'Errors', array(array('data'=>'HtmlTag'), array('tag' => 'td')), array('Label', array('tag' => 'td')),

RE: [fw-general] help pls: headers being set, before preDispatch

2008-10-01 Thread Terre Porter
the ending ?> Terre -Original Message- From: Jason Webster [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 10:10 PM To: Zend Framework - General Subject: Re: [fw-general] help pls: headers being set, before preDispatch This is a fine example of why we should leave off the

Re: [fw-general] help pls: headers being set, before preDispatch

2008-10-01 Thread Jason Webster
y forgot about adding file and line number in that function... It's been a long day... Thank for the pointer it helped. Terre From: carlos koch [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 7:33 PM To: fw-general@lists.zend.com Subject: Re: [fw-

RE: [fw-general] help pls: headers being set, before preDispatch

2008-10-01 Thread Terre Porter
pointer it helped. Terre From: carlos koch [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 7:33 PM To: fw-general@lists.zend.com Subject: Re: [fw-general] help pls: headers being set, before preDispatch change headers_sent() to headers_sent ($filename

Re: [fw-general] help pls: headers being set, before preDispatch

2008-10-01 Thread carlos koch
change headers_sent() to headers_sent ($filename, $linenum) and see where the output started. 2008/10/1 Terre Porter <[EMAIL PROTECTED]> > Help... > > I'm having a bit of a pain with some surprise headers being set > somewhere... > > I've put this in my controllers preDispatch function for testin

[fw-general] help pls: headers being set, before preDispatch

2008-10-01 Thread Terre Porter
Help... I'm having a bit of a pain with some surprise headers being set somewhere... I've put this in my controllers preDispatch function for testing.. Code if (headers_sent()) { $this->logger('--> preDispatch - headers sent'); logger(headers_list()); } Code The logger simply writes

Re: [fw-general] Help in zend_auth instances

2008-09-23 Thread Graham Anderson
On Tuesday 23 September 2008 14:44:31 amithasija wrote: > i want to create multiple instances of zend_auth class > > as i have two modules > > Admin > Front > > wats happening is when i login into admin it automatically get logins into > front or vice-versa. > > > so wat i want is the i can work on

Re: [fw-general] Help in zend_auth instances

2008-09-23 Thread Giorgio Sironi
2008/9/23 amithasija <[EMAIL PROTECTED]>: > wats happening is when i login into admin it automatically get logins into > front or vice-versa. If you want that, why are you creating two instances where one would be sufficient? -- Giorgio Sironi Piccolo Principe & Ossigeno Scripter http://www.sour

[fw-general] Help in zend_auth instances

2008-09-23 Thread amithasija
i want to create multiple instances of zend_auth class as i have two modules Admin Front wats happening is when i login into admin it automatically get logins into front or vice-versa. so wat i want is the i can work on both modules separately after simultaneous authentication. regards a

[fw-general] Help With Improve Documentation

2008-07-12 Thread Juan Felipe Alvarez Saldarriaga
Hey! I read some comments about the framework documentation (http://thislab.com/2008/07/05/zend-framework-where-do-you-want-to-go-tomorrow/), I guess adding comments into the reference guide for each framework component, like PHP.net do it, will be great, because we can share our implementation

[fw-general] help with existing sessions

2008-06-25 Thread 1world1love
Greetings all. I am new to Zend (and relatively new to php) and had a question about how to manage overlaps between native php sessions and Zend_Sessions. I have an app that is served as part of a larger group of apps that all share a common authentication service (a fairly common scenario: Befor

  1   2   >