[fw-general] Noob configuration issue

2008-12-22 Thread sosh
Hi, I'm trying to get the zend framwork installed and configured. In running Windows/Apache2/PHP5. I've worked through the quickstart tutorial, but I think something is not configured properly. For instance the error handler does not seem to be functioning as it should. If I type in a

Re: [fw-general] CronMe; Free web cron service - Just another project with ZF

2008-12-22 Thread Joó Ádám
Great idea! Á

Re: [fw-general] Noob configuration issue

2008-12-22 Thread till
On Mon, Dec 22, 2008 at 9:38 AM, sosh bgs...@gmail.com wrote: Hi, I'm trying to get the zend framwork installed and configured. In running Windows/Apache2/PHP5. I've worked through the quickstart tutorial, but I think something is not configured properly. For instance the error handler

[fw-general] Zend_Dom out of memory

2008-12-22 Thread Lossoth
Hello, I'm using Zend_Dom to parse some web pages in a loop The loop is very long (20 pages) I note that for every cycle the memory used by php grow It seems that Zend_Dom don't release the memory used after any loop The code is similar to this. foreach($urlArray as $url) { $response =

RE: [fw-general] What do you use to manage your ZF projects?

2008-12-22 Thread Robert Castley
Anyway I feel your pain, I couldn't find anything meeting my requirements either. I even considered building it myself, using ZF of course :) That is where I think I could be heading :-) - Robert rcastley wrote: Hi Karol, How do you handle issue/bug tracking? In Bugzilla I can

Re: [fw-general] Zend_Dom out of memory

2008-12-22 Thread till
On Mon, Dec 22, 2008 at 10:46 AM, Lossoth marco.pasqual...@boraso.com wrote: Hello, I'm using Zend_Dom to parse some web pages in a loop The loop is very long (20 pages) I note that for every cycle the memory used by php grow It seems that Zend_Dom don't release the memory used after

Re: [fw-general] Zend_Http_Client vs cURL

2008-12-22 Thread Benjamin Eberlei
You can also use cURL as adapter for Zend_Http_Client. There is a version in the SVN incubator. The Socket Adapter of Zend_Http_Client has far less functionality than cURL. You need Zend_Http_Client for certain components that rely on it (Service_* for example, Zend_Rest). On Mon, 22 Dec 2008

Re: [fw-general] What do you use to manage your ZF projects?

2008-12-22 Thread Mike Rötgers
I switched from trac to Redmine (http://www.redmine.org/) some time ago. Definitely worth a look. Mike Robert Castley schrieb: Hi, Just curious here. I/we currently use Bugzilla CVS, no formal wiki but I do have a MediaWiki used for somethings. I am looking for a solution that fits

Re: [fw-general] Custom form element - passing options to viewHelper

2008-12-22 Thread sinkingfish
Has anybody had any success with this before? sinkingfish wrote: Hi, I making a custom form element which is 3 fields for phone numbers, ie country code, area code number. I'm getting tripped up when I want to set options for the element in the viewHelper. So I want the element

Re: [fw-general] Custom form element - passing options to viewHelper

2008-12-22 Thread petewilliams1983
I'm trying to do exactly the same thing. So far the best solution I can come up with is to pass my custom options in via either the $attribs or $options arrays. You can then process those options within your view helper, and delete them from the array so that they aren't added to the element

Re: [fw-general] Custom form element - passing options to viewHelper

2008-12-22 Thread Bart McLeod
to see examples, take a look at how dojo view_helpers use options. Bart petewilliams1983 schreef: I'm trying to do exactly the same thing. So far the best solution I can come up with is to pass my custom options in via either the $attribs or $options arrays. You can then process those options

Re: [fw-general] action calling

2008-12-22 Thread Matthew Weier O'Phinney
-- Aniketto aniket_ked...@rediffmail.com wrote (on Sunday, 21 December 2008, 11:46 PM -0800): What is the action of your form (from the final HTML)? how are you setting it (in the PHP)? In my action I am setting $form-setAction(mailist/detail) , so in The problem with that is you're missing

Re: [fw-general] Zend_Dom out of memory

2008-12-22 Thread Matthew Weier O'Phinney
-- till klimp...@gmail.com wrote (on Monday, 22 December 2008, 11:14 AM +0100): On Mon, Dec 22, 2008 at 10:46 AM, Lossoth marco.pasqual...@boraso.com wrote: I'm using Zend_Dom to parse some web pages in a loop The loop is very long (20 pages) I note that for every cycle the memory used

Re: [fw-general] Optimize Zend_Cache clearing

2008-12-22 Thread mclalfaya
Hi, I am having the same problem with Zend_Cache_Backend_File. I have less cache files than Ralf but when the cache is cleaned with CLEANING_MODE_MATCHING_TAG it takes a long time, more than 20 seg. I was reading this thread and I would not like to change to Zend_Cache_Backend_SQLite. Does

Re: [fw-general] Custom form element - passing options to viewHelper

2008-12-22 Thread Matthew Weier O'Phinney
-- petewilliams1983 petewilliams1...@hotmail.co.uk wrote (on Monday, 22 December 2008, 05:02 AM -0800): I'm trying to do exactly the same thing. So far the best solution I can come up with is to pass my custom options in via either the $attribs or $options arrays. You can then process those

Re: [fw-general] Zend_Gdata problem

2008-12-22 Thread phpbrat
Hello all!, I am getting some errors when i am calling the function $yt-getVideoEntry() for fetching upoaded Video details through the Zend framework for Youtube API... It works fine for the successful uploads but it throws error for those Videos which are displayed as rejected/duplicates in

Re: [fw-general] Zend_Dom out of memory

2008-12-22 Thread fab2008
Yesterday I've experienced a very similar problem, this is my example code encountered in writing a crawler using ZF: example: require_once 'bootstrap.php'; while (1) { $u = new Users(); $us = $u-getById(18); unset($us); unset($u); echo

Re: [fw-general] Zend_Gdata problem

2008-12-22 Thread Bart McLeod
try{ //have a party }catch(Zend_Gdata_App_HttpException $e){ //log error and continue your party if ($iNeedTheError){ log($e-getMessage()); } } -Bart phpbrat schreef: Hello all!, I am getting some errors when i am calling the function $yt-getVideoEntry() for fetching upoaded

Re: [fw-general] Zend_Dom out of memory

2008-12-22 Thread till
On Mon, Dec 22, 2008 at 2:44 PM, Matthew Weier O'Phinney matt...@zend.com wrote: -- till klimp...@gmail.com wrote (on Monday, 22 December 2008, 11:14 AM +0100): On Mon, Dec 22, 2008 at 10:46 AM, Lossoth marco.pasqual...@boraso.com wrote: I'm using Zend_Dom to parse some web pages in a loop

[fw-general] Community section: Share your controllers

2008-12-22 Thread fedecarg
2008 was a good year for ZF, it managed to deliver most of the components the community requested in 2007. But still, where the hell is the community? What have they done, how? Wouldn't it be really cool if those people who are using ZF could contribute something back to the community? For

[fw-general] Using 2 databases with Zend_Db, when you have the same model.

2008-12-22 Thread Taco Jung
Hi, I'm in the situation where I need to access tables in different databases and looking for a good way of using Zend_Db with multiple databases. Some background, I separated the public and admin area in my project and use 2 databases (admin and public) to reflect that separation. In both

Re: [fw-general] Using 2 databases with Zend_Db, when you have the same model.

2008-12-22 Thread Ralph Schindler
Taco Jung wrote: Hi, I'm in the situation where I need to access tables in different databases and looking for a good way of using Zend_Db with multiple databases. Two options here: in your table definitions, you can set $_schema = 'myschema'; Also, you can pass this information in at

Re: [fw-general] Using 2 databases with Zend_Db, when you have the same model.

2008-12-22 Thread Taco Jung
Ralph, I thought of using schema. BTW, there's I believe a better way to declare a schema: $_name = 'myschema.tablename'; Bill Karwin mentioned somewhere that the use of $_schema is spotty and not working properly, although I don't know which version of Zend_Db_Table was involved when he said

Re: [fw-general] What do you use to manage your ZF projects?

2008-12-22 Thread Robert Castley
I have just discovered a potential solution http://www.indefero.net http://www.indefero.net http://www.indefero.net PHP solution based on pluf framework Looks very promising Sent from my iPhone On 22 Dec 2008, at 11:54, Mike Rötgers m...@roetgers.org mailto:m...@roetgers.org wrote: I

[fw-general] Zend_Log_Writer_Firebug and Zend_Controller_Plugin

2008-12-22 Thread dowke...@gmail.com
I'm trying to implement a FireBug logger using a plugin but I'm getting some odd results. Here's a very simplified version to illustrate the problem: class Debug extends Zend_Controller_Plugin_Abstract { public function dispatchLoopStartup(Zend_Controller_Request_Abstract $request)

[fw-general] Zend_Dojo Problem

2008-12-22 Thread dele454
hi, I dont know why this is so but this is the problem i am encountering. If i use dojo declaratively, the dojo view helper applies the dijit params as expected as well as the theme specified. But if i add a form element programmatically, though it create the form element none of the dijit

Re: [fw-general] Zend_Dojo Problem

2008-12-22 Thread Matthew Weier O'Phinney
-- dele454 d...@killerinstinct.co.za wrote (on Monday, 22 December 2008, 03:07 PM -0800): I dont know why this is so but this is the problem i am encountering. If i use dojo declaratively, the dojo view helper applies the dijit params as expected as well as the theme specified. But if i add a

Re: [fw-general] Zend_Dojo Problem

2008-12-22 Thread dele454
Thanks Matthew, am quite unclear on your repsonse. What do you mean by saying the paramaters are mixed on client side by Javascript...? I was just wondering why dijit parameters were not applied to the dijit using the programmtic approach. It only applies the html attributes to the widget!!

RE: [fw-general] Zend_Dojo Problem

2008-12-22 Thread Fullarton, Daniel
The javascript modifies the dom to add the parameters, when you view in firebug you view the dom in it's current state. The validator will parse the document downloaded via http, before javascript modifies anything. -Original Message- From: dele454 [mailto:d...@killerinstinct.co.za]

RE: [fw-general] Zend_Dojo Problem

2008-12-22 Thread dele454
Ok i do understand the theory behind these explanations but it still doesnt click to me. I know yes the programmatic style is to allow one's doc to be parsed by the validator because of the dijit specific attributes when compared to the declarative. But if javascript is going to do the inserts

RE: [fw-general] Zend_Dojo Problem

2008-12-22 Thread dele454
because i do understand there are two way of doing something with this context in mind. Irrespective of the approach used shouldnt the output/behaviour be the same?? - dee -- View this message in context: http://www.nabble.com/Zend_Dojo-Problem-tp21136696p21140250.html Sent from the Zend