Re: [fw-general] Re: $cache-start() and caching with Zend_Translate together, possible bug?

2008-11-21 Thread kirpit
Hey, don't you offence my friend and no need triple exclamation marks like that. I'm just here trying to be developer who gives feedbacks about possible issues. Something like payback to usage of such a nice architectured and totally free, open source framework. Get it? First, of course sometimes

Re: [fw-general] FCKEditor and Zend_Form integration

2008-11-21 Thread Marko Korhonen
Hi, I use class attribute to bind FCKeditor to textarea fields. Example (I use ini files): ; content element form.elements.content.type = textarea form.elements.content.options.required = true form.elements.content.options.label = Content form.elements.content.options.attribs.class = editor

Re: [fw-general] Re: $cache-start() and caching with Zend_Translate together, possible bug?

2008-11-21 Thread Thomas Weidner
Please read manual about how cache frontends work !!! You used Page as Cache frontend. According to manual: Zend_Cache_Frontend_Page is like Zend_Cache_Frontend_Output but designed for a complete page. It's impossible to use Zend_Cache_Frontend_Page for caching only a single block. Is there

Re: [fw-general] Re: $cache-start() and caching with Zend_Translate together, possible bug?

2008-11-21 Thread Thomas Weidner
Maybe I am missing something, but the example you gave does not call cache-start(). And the manual of Zend_Cache states that when calling start, the cache will fetch all output of the complete page which is sent to browser and write it to the cache. And it will do this until the script has

Re: [fw-general] How the heck do you go into production mode?

2008-11-21 Thread Behzad
Using ZF1.6, I just went to production today, but got the following error: *Uncaught exception 'Zend_Controller_Action_Exception' with message 'ViewRenderer initialization failed: retrieved view base path is empty'* and I'm still struggling to find out the main source of the problem. Anyone

Re: [fw-general] How the heck do you go into production mode?

2008-11-21 Thread till
On Wed, Nov 19, 2008 at 5:50 PM, MrEMan [EMAIL PROTECTED] wrote: I've been developing a Zend app for awhile now. It's a project I adopted from a previous contractor and I am not the one responsible for deploying it. I've recently encountered a production bug and really need to run the app in

Re: [fw-general] FCKEditor and Zend_Form integration

2008-11-21 Thread till
On Fri, Nov 21, 2008 at 9:11 AM, Marko Korhonen [EMAIL PROTECTED] wrote: Hi, I use class attribute to bind FCKeditor to textarea fields. Example (I use ini files): ; content element form.elements.content.type = textarea form.elements.content.options.required = true

Re: [fw-general] Passing an array from PHP to Javascript

2008-11-21 Thread Martijn Korse
dele454 wrote: Thanks for the tips. But i CAN'T apply any of them now. The design has been approved and i need to i implement things as they are. 'Over engineered' - I dont care. As long my code works as expected. I simply want to pass my PHP array into my javascript function. - very

Re: [fw-general] Microsoft Dynamics AX vs. soap-enc:Array

2008-11-21 Thread Radu Gasler
Jan Pieper wrote: Hi guys, I set up an soap service with Zend_Soap_Server and WSDL generation via Zend_Soap_AutoDiscover and it should be used via Microsoft Dynamics AX. But it seems that it cannot handle soap-enc:Array datatype. Detail: Beim Ausführen einer WSDL-Importerweiterung wurde eine

Re: [fw-general] Microsoft Dynamics AX vs. soap-enc:Array

2008-11-21 Thread Jan Pieper
I have to define my own datatype? But how to get a list without an array in php? -- Jan Jan Pieper wrote: Hi guys, I set up an soap service with Zend_Soap_Server and WSDL generation via Zend_Soap_AutoDiscover and it should be used via Microsoft Dynamics AX. But it seems that it cannot

[fw-general] Using Zend_Db_Table_Rowset on a returned set

2008-11-21 Thread CatharsisJelly
Hello, I have had to kind of hack something together. Well let me put it this way, if feels like a hack. I am grabbing a selection from a db using a join. $db = $table-getAdapter(); $select = $db-select() -from( array( 'l' = 'log_email' ), array( 'l.Recipients', 'l.Sender',

[fw-general] Zend_Pdf - layer

2008-11-21 Thread nihilest
Hi! I've a document with three different layers: mask, design and pattern. I'd like to import a picture in the design layer of this PDF-Doctument, or alternatively create a new layer to import it between mask and pattern. Is this possible with Zend_Pdf or would it be possible in the future?

[fw-general] Zend_Search_Lucene timeout / loop problem

2008-11-21 Thread sandstrom
I am trying to familiarize with Zend Lucene. However, I have run into some trouble on one of the first examples. On $index-commit(); the CPU peaks, and PHP just keeps running until the maximum execution time is reached. Tested increasing the maximum execution time, which didn't help. My guess is

Re: [fw-general] How the heck do you go into production mode?

2008-11-21 Thread Matthew Weier O'Phinney
-- Behzad [EMAIL PROTECTED] wrote (on Friday, 21 November 2008, 12:38 PM +0330): Using ZF1.6, I just went to production today, but got the following error: Uncaught exception 'Zend_Controller_Action_Exception' with message 'ViewRenderer initialization failed: retrieved view base path is

Re: [fw-general] Zend_Search_Lucene timeout / loop problem

2008-11-21 Thread sandstrom
Sometimes the error is instead: Fatal error: Maximum execution time of 30 seconds exceeded in [root_dir]/library/Zend/Search/Lucene/Index/SegmentWriter.php on line 616 -- View this message in context: http://www.nabble.com/Zend_Search_Lucene-timeout---loop-problem-tp20619922p20620434.html

[fw-general] Microsoft Dynamics AX vs. soap-enc:Array

2008-11-21 Thread Jan Pieper
Hi guys, I set up an soap service with Zend_Soap_Server and WSDL generation via Zend_Soap_AutoDiscover and it should be used via Microsoft Dynamics AX. But it seems that it cannot handle soap-enc:Array datatype. Detail: Beim Ausführen einer WSDL-Importerweiterung wurde eine Ausnahme ausgelöst:

Re: [fw-general] FCKEditor and Zend_Form integration

2008-11-21 Thread drj201
To follow up my initial post I also resorted to a simple jQuery bind noted here: http://www.fyneworks.com/jquery/FCKEditor/ This allows use of FCKEditor and maintains Zend Form validation etc. David drj201 wrote: Hi all, I want to integrate FCKEditor (WYSIWYG) into a Zend_Form thus

[fw-general] Zend_Feed Error

2008-11-21 Thread Maxime P
Hi Everybody! I have a problem on Zend_Feed. When i do that it returns me an exception Invalid chunk size ... unable to read chunked body There my code: try { $this-view-flux = Zend_Feed::import('http://feedproxy.google.com/francaistechcrunch'); } catch (Exception $e) { echo

[fw-general] Getting Module name from custom Route mask using Zend_Controller_Router?

2008-11-21 Thread drj201
Hi all, I have the following route in my application: $route = new Zend_Controller_Router_Route_Regex( 'MODULE_HERE/news/[0-9a-z\._!;,\+\-%]+-(\d+)', array( 'module' = 'MODULE_HERE', 'controller' = 'entry', 'action' =

Re: [fw-general] Zend_Search_Lucene timeout / loop problem

2008-11-21 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The bug is known and reported. Vote for it to get it fixed: http://framework.zend.com/issues/browse/ZF-3321 ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) |

Re: [fw-general] Microsoft Dynamics AX vs. soap-enc:Array

2008-11-21 Thread FredW
I'd like to suggest using the Zend_Soap_Server in wsdl mode with class-mapping to accomplish what you want to do. Create the wsdl manually (not fun) or with something like Zend Studio's wsdl editor. Then map those classes to the corresponding complex types in the wsdl. A couple class declarations

Re: [fw-general] Zend_Search_Lucene timeout / loop problem

2008-11-21 Thread sandstrom
The bug seem to be on searching. I have problem with timeouts on commit(); $search = new Zend_Search_Lucene(...); $search-find('*'); Are you sure that it this this bug that is affecting me? /Alex DASPRiD wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The bug is known and

[fw-general] Zend_View_Helper_TagCloud is ready for review

2008-11-21 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey peeps, just to inform you, I've just create a proposal (and the code) for a new view helper, so you may probably want to take a look at it: http://framework.zend.com/wiki/display/ZFPROP/Zend_View_Helper_TagCloud+-+Ben+Scholzen Regards, Ben - --

Re: [fw-general] Zend_Search_Lucene timeout / loop problem

2008-11-21 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yeah I'm pretty sure. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ : ::: : Web:

Re: [fw-general] Zend_View_Helper_TagCloud is ready for review

2008-11-21 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Heh, Gotta answer myself. After a talk with some other guys I came to the conclusion, that this topic is to huge for a view helper. So I will go on and rewrite the proposal today, hence wait for comments. Ben ... :

[fw-general] problem with Zend_Dojo_Form_Element_DataTextBox / textbox undefined

2008-11-21 Thread water
I'm having a problem with Zend_Dojo_Form_Element_DataTextBox and ZF 1.7. If I try to create a simple DateTextBox, I get an error in Firebug (textbox is undefined in bootstrap.js line 672). I have tried to isolate to as simple as a form as possible like this: 337 public function

[fw-general] strange Zend_Pdf_Exception (clone)

2008-11-21 Thread Martijn Korse
This very simple script: require_once 'Zend/Pdf.php'; $pdf = new Zend_Pdf(); $page1 = new Zend_Pdf_Page(Zend_Pdf_Page::SIZE_A4); Results in the following error: Fatal error: Uncaught exception 'Zend_Pdf_Exception' with message 'Cloning Zend_Pdf_Page object using 'clone' keyword is not

[fw-general] generic view for Json contextSwitch

2008-11-21 Thread Ralikwen
Hi, Is it possible to use the same view for all Json context actions so that I don't need to create *.json.phtml files separately for each action? If yes how? Something similar has been raised http://www.nabble.com/contextSwitch---AjaxContent-td18866597.html here , but I found no solution there

[fw-general] Zend_Controller_Router_Route_Regex

2008-11-21 Thread Arthur M. Kang
Is there a way to use the regex route and specify that the rest is key/value pairs. Something like the * (asterisk) does in the standard router route. Arthur

Re: [fw-general] generic view for Json contextSwitch

2008-11-21 Thread Jason Webster
I would recommend just disabling the views completely for JSON context actions. Ralikwen wrote: Hi, Is it possible to use the same view for all Json context actions so that I don't need to create *.json.phtml files separately for each action? If yes how? Something similar has been raised

Re: [fw-general] generic view for Json contextSwitch

2008-11-21 Thread Daniel Latter
Couldn't you just render the same .phtml file each time using render() method? And maybe have a little logic in this file also. On Nov 22, 2008, at 1:29, Jason Webster [EMAIL PROTECTED] wrote: I would recommend just disabling the views completely for JSON context actions. Ralikwen wrote:

Re: [fw-general] Re: $cache-start() and caching with Zend_Translate together, possible bug?

2008-11-21 Thread kirpit
I see, when you use a $cache object for $cache-start(), it becomes something like zend cache front object, and cannot be used for anything else. But I wonder is it legal to use same $cache object for any other multiple objects (except page caching) in the same time? Like; $cache =

[fw-general] Inconsistent Error Logs

2008-11-21 Thread Matthew Ishii
(Sorry about the long winded explination. I understand if you pass on this one) I am having very bizzare behavior regarding the 'error_log' files that show up when zend framework is having issues. I have two Zend-Framework sites, one is the primary, which is set up under the webroot and the