[fw-general] Serializing select objects supposed to be working but isn't.

2009-04-24 Thread Cameron
Hi guys, I've come up with a situation in my application where serializing a select object to store it in a session variable would be remarkably useful, but it isn't working. It's just throwing the usual can't serialize a PDO object error. This was apparently fixed in

[fw-general] ZF (Zend_Tool)

2009-04-24 Thread Elvin Şiriyev
Hi, is there any useful documentation about zf command? $ alias zf=/home/../ZendFramework-1.8.0b1/bin/zf.sh $ zf show version Zend Framework Version: 1.8.0beta $ export ZF_PATH=/home/../ZendFramework-1.8.0b1/library/ $ zf create project zfnew Fatal error: Class 'Zend_Controller_Action' not found

Re: [fw-general] ZF (Zend_Tool)

2009-04-24 Thread Mon Zafra
I modified zf.php and added a simple autoloader function __autoload($class) { include str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php'; } It got rid of the error below. There's a problem though if you're using Zend Server like me. It seems that its PHP binary is

[fw-general] problem with form file element

2009-04-24 Thread Jacky Chen
Hi there, when i update the latest zend framework from svn, then the form with file element was failed when submit the form with a file to upload. It would get the error message like The file 'x' was not found . what's wrong with it? How should i fixed it?Thanks. Best Regards Jacky

Re: [fw-general] problem with form file element

2009-04-24 Thread Thomas Weidner
Hi there, when i update the latest zend framework from svn, then the form with file element was failed when submit the form with a file to upload. It would get the error message like The file 'x' was not found . what's wrong with it? How should i fixed it? By providing your code to the

Re: [fw-general] Zend_Search_Lucene and Hebrew

2009-04-24 Thread centralniak
Ah, found the solutions here: http://www.nabble.com/Zend_Lucene-%2B-UTF8-search-problem...-Help!(8EB-F5F)-td18630403.html Conversion to ASCII with TRANSLIT was that Lucene was searching for question marks :) Lucene is really great tool :) -- View this message in context:

Re: [fw-general] Zend_Search_Lucene and Hebrew

2009-04-24 Thread Vadim Gabriel
Hey, Great find. Bookmarked for future use. Vince. On Fri, Apr 24, 2009 at 2:12 PM, centralniak kilc...@gmail.com wrote: Ah, found the solutions here:

[fw-general] Iterating through Zend_Paginator items

2009-04-24 Thread dele454
Hi, I am trying to use the Zend_Paginator for the first time. i just need to know how to iterate through the pagination object to get the items from the multidimensional array. echoing the contents of the paginator: Zend_Paginator Object ( [_adapter:protected] = Zend_Paginator_Adapter_Array

Re: [fw-general] ZF (Zend_Tool)

2009-04-24 Thread Elvin Şiriyev
ok, thanks all 2009/4/24 Mon Zafra mon...@gmail.com I modified zf.php and added a simple autoloader function __autoload($class) { include str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php'; } It got rid of the error below. There's a problem though if you're

Re: [fw-general] RFC: Zend_Dojo_Data associative arrays

2009-04-24 Thread lightflowmark
OK, I'll put together some code try to turn it into a proposal in the next week or so. Thanks for the input to this. Matthew Weier O'Phinney-3 wrote: -- lightflowmark 1...@lightflowinterrupted.com wrote (on Thursday, 23 April 2009, 05:39 AM -0700): Is there a bonus to describing the

Re: [fw-general] ZF (Zend_Tool)

2009-04-24 Thread Rob Allen
On 24 Apr 2009, at 09:33, Elvin Şiriyev wrote: Hi, is there any useful documentation about zf command? $ alias zf=/home/../ZendFramework-1.8.0b1/bin/zf.sh $ zf show version Zend Framework Version: 1.8.0beta $ export ZF_PATH=/home/../ZendFramework-1.8.0b1/library/ $ zf create project zfnew

Re: [fw-general] Zend_Application Bootstrapping

2009-04-24 Thread Matthew Weier O'Phinney
-- Rob Allen r...@akrabat.com wrote (on Friday, 24 April 2009, 06:23 AM +0100): On 23 Apr 2009, at 23:42, Matthew Weier O'Phinney wrote: That said, we're seeing some momentum by shared hosts as well as xAMP stacks to include ZF in the default include_path (Zend Server falls in this category

Re: [fw-general] ZF (Zend_Tool)

2009-04-24 Thread Matthew Weier O'Phinney
-- Mon Zafra mon...@gmail.com wrote (on Friday, 24 April 2009, 05:41 PM +0800): I modified zf.php and added a simple autoloader function __autoload($class) { include str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php'; } It got rid of the error below. There's a

[fw-general] Zend_Form Sticky Form

2009-04-24 Thread J DeBord
Is there a method available to make Zend_Form sticky in the event it isn't valid? I came up with the code below, but couldn't determine if there was something already built in to Zend_Form for doing this. if (!$form-isValid($data)) { $elements = $form-getElements(); foreach ($elements

[fw-general] pdf version 1.6

2009-04-24 Thread Kexiao Liao
I create my pdf document by using Adobe Acrobat Pro 9 trial to Create PDF from Web Page, and save it as PDF Version: 1.6(Acrobat 7.x). However when I use Zend_Pdf::load($MyFileName); to load it as a pdf object. I got following error message as showing below: Fatal error: Uncaught exception

Re: [fw-general] Zend_Form Sticky Form

2009-04-24 Thread Matthew Weier O'Phinney
-- J DeBord jasdeb...@gmail.com wrote (on Friday, 24 April 2009, 04:33 PM +0200): Is there a method available to make Zend_Form sticky in the event it isn't valid? I came up with the code below, but couldn't determine if there was something already built in to Zend_Form  for doing this. if

[fw-general] Zend_Xml_Parser Zend_Xml_Writer Proposal feedback

2009-04-24 Thread Vadim Gabriel
Hey, I was wondering if anyone willing to give some feedback about the proposal i made @link http://framework.zend.com/wiki/display/ZFPROP/Zend_Xml+-+Vadim+Gabriel I am not sure how often this is used by other developers but i use this very often. I am also not sure if this is something that was

Re: [fw-general] Zend_Xml_Parser Zend_Xml_Writer Proposal feedback

2009-04-24 Thread Matthew Weier O'Phinney
-- Vadim Gabriel vadim...@gmail.com wrote (on Friday, 24 April 2009, 06:25 PM +0300): I was wondering if anyone willing to give some feedback about the proposal i made @link http://framework.zend.com/wiki/display/ZFPROP/ Zend_Xml+-+Vadim+Gabriel I am not sure how often this is used by other

Re: [fw-general] problem with form file element

2009-04-24 Thread Thomas Weidner
Is there a reason why you are trying to receive the same file 2 times ? Is there a reason why you check for a uploaded file after you received the uploaded file ? Quite useless to check if the user uploaded it after working with it. You should read here for details:

Re: [fw-general] Zend_Xml_Parser Zend_Xml_Writer Proposal feedback

2009-04-24 Thread Vince42
Yo, and later on there will be a Zend_Xsl and Zend_Xsd proposal - that would rock :) @Matthew Wouldn't it be reasonable to create an (abstract) base class and let Zend_Config_Xml and Zend_Config_Xml_Writer (new name :P) inherit that one? -- Cheers,\\|// Vince

Re: [fw-general] Zend_Tool failure in 1.8b1

2009-04-24 Thread maff
Rob Allen-3 wrote: Hi, I've just downloaded 1.8b1 and am getting this with Zend_Tool: $ zf create project zf-app-test Fatal error: Class 'Zend_Controller_Action' not found in /www/tmp/zf- app-test/application/controllers/IndexController.php on line 3 Anyone else seeing this

Re: [fw-general] Zend_Tool failure in 1.8b1

2009-04-24 Thread Matthew Weier O'Phinney
-- maff math...@ailoo.net wrote (on Friday, 24 April 2009, 09:50 AM -0700): Rob Allen-3 wrote: I've just downloaded 1.8b1 and am getting this with Zend_Tool: $ zf create project zf-app-test Fatal error: Class 'Zend_Controller_Action' not found in /www/tmp/zf-

Re: [fw-general] Zend_Xml_Parser Zend_Xml_Writer Proposal feedback

2009-04-24 Thread Vadim Gabriel
Hey, Yea, I thought this will have similarity but yea there is no need to add another component if there is already one that does it. Although i personally use this in my projects, There is no need for duplicating functionality. I guess this can be archived. :) Thanks for taking a look at it.

Re: [fw-general] Zend_Tool failure in 1.8b1

2009-04-24 Thread maff
Matthew Weier O'Phinney wrote: Ralph is working on a solution to this, and may already have something committed to trunk (he can tell you better). I'll take a look, thanks. Matthew Weier O'Phinney wrote: Btw, if you're going to do autoloading... start using Zend_Loader_Autoloader

[fw-general] Little route problem

2009-04-24 Thread José de Menezes Soares Neto
Hello my friends. I have a little problem with zend route, but I am sure you will help me, let me explain... *My application without route:* http://www.mydomain.com/onemodule/onecontroller/oneaction/variable1/value1 /variable2/value2 Works fine! *My application with route:*

Re: [fw-general] Little route problem

2009-04-24 Thread José de Menezes Soares Neto
Thanks very much, you were right! A new question based on the first one. - I would like that www.john.mydomain.com/all list all pages of john´s profile. - I would like that www.john.mydomain.com/1 list page one of john´s profile. www.john.mydomain.com/1 (or 2, 3, 4...) is done and

Re: [fw-general] Zend_Tool failure in 1.8b1

2009-04-24 Thread Ralph Schindler
This was fixed in trunk (new features inside the zf.php) I am documenting then now, but try out whats in trunk and see if it fixes your issues -ralph Tim Fountain wrote: On 23/04/2009, *Ralph Schindler* ralph.schind...@zend.com mailto:ralph.schind...@zend.com wrote: hmm, well in

Re: [fw-general] Zend_Tool failure in 1.8b1

2009-04-24 Thread Ralph Schindler
This too has been fixed in trunk give it a try and let me know if you see any other issues. -ralph maff wrote: Rob Allen-3 wrote: Hi, I've just downloaded 1.8b1 and am getting this with Zend_Tool: $ zf create project zf-app-test Fatal error: Class 'Zend_Controller_Action' not found in

Re: [fw-general] ZF (Zend_Tool)

2009-04-24 Thread Ralph Schindler
This has been fixed in trunk now, go ahead and give it a whirl.. I will merge all my changes to 1.8 branch by the end of the weekend -ralph Elvin Şiriyev wrote: Hi, is there any useful documentation about zf command? $ alias zf=/home/../ZendFramework-1.8.0b1/bin/zf.sh $ zf show version Zend

Re: [fw-general] Iterating through Zend_Paginator items

2009-04-24 Thread dele454
Oops! Thanks mate i see where i should have know better. Thanks for clarifying. Much appreciated. - dee -- View this message in context: http://www.nabble.com/Iterating-through-Zend_Paginator-items-tp23213957p23223768.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Using Zend_Amf with DOMDocument

2009-04-24 Thread cjonesnyc
I'm using 1.7.8 and keep getting : TypeError: Error #1034: Type Coercion failed: cannot convert obj...@2c9ee809 to XML. wadearnold wrote: This has been updated in .7.2 -- View this message in context: http://www.nabble.com/Using-Zend_Amf-with-DOMDocument-tp20482637p23224990.html Sent

Re: [fw-general] Little route problem

2009-04-24 Thread José de Menezes Soares Neto
I fixed the last problem... But now, I can not access www.mydomain.com, it is thinking that www is the username! Anyone know how to fix it?? 2009/4/24 José de Menezes Soares Neto z...@detetive.net Thanks very much, you were right! A new question based on the first one. - I would like

Re: [fw-general] problem with form file element

2009-04-24 Thread Jacky Chen
Thank you very much,Thomas. 2009/4/25 Thomas Weidner thomas.weid...@gmx.at Is there a reason why you are trying to receive the same file 2 times ? Is there a reason why you check for a uploaded file after you received the uploaded file ? Quite useless to check if the user uploaded it after