[fw-general] odd controller behavior

2007-04-20 Thread frosty1
I have a controller that will not route to the index action if an action is not specified. All of the rest of the controllers function as planned. This problem just popped up this afternoon and the whole site is functioning well on the development server (as it has been for a month). For some r

Re: [fw-general] zend_auth error

2007-04-20 Thread José de Menezes Soares Neto
thanks, it works!! i didint know that sessions was saved at disc... 2007/4/20, Darby Felton <[EMAIL PROTECTED]>: Hi José, Ensure that in your php.ini the session.save_path directory is writable. If you do not have session.save_path in your php.ini, then set it to some directory (e.g., /tmp) an

Re: [fw-general] zend_auth error

2007-04-20 Thread Darby Felton
Hi José, Ensure that in your php.ini the session.save_path directory is writable. If you do not have session.save_path in your php.ini, then set it to some directory (e.g., /tmp) and make sure the directory is writable. Best regards, Darby José de Menezes Soares Neto wrote: > I can't find this..

Re: [fw-general] zend_auth error

2007-04-20 Thread José de Menezes Soares Neto
I can't find this please, someone could help me?? where can I fix this?? 2007/4/20, José de Menezes Soares Neto <[EMAIL PROTECTED]>: i didnt find this. here could i look? the tutorial link: http://akrabat.com/wp-content/uploads/getting-started-with-zend-auth_104.pdf 2007/4/20, Matthew W

Re: [fw-general] zend_auth error

2007-04-20 Thread José de Menezes Soares Neto
i didnt find this. here could i look? the tutorial link: http://akrabat.com/wp-content/uploads/getting-started-with-zend-auth_104.pdf 2007/4/20, Matthew Weier O'Phinney <[EMAIL PROTECTED]>: -- José de Menezes Soares Neto <[EMAIL PROTECTED]> wrote (on Friday, 20 April 2007, 01:09 PM -0300): > d

Re: [fw-general] How to implement Zend_Acl ?

2007-04-20 Thread Maurice Fonk
Thank you for your reply, It does help. I hadn't consired using the field names in the priviliges. That does make sense. Using your example, one can refine it to say, make an article readable by all, but create a privilige 'update_title', to allow some users to update it's title field. I gue

Re: [fw-general] zend_auth error

2007-04-20 Thread Matthew Weier O'Phinney
-- José de Menezes Soares Neto <[EMAIL PROTECTED]> wrote (on Friday, 20 April 2007, 01:09 PM -0300): > does anybody knows what is happening here? (I am following the zend_auth > tutorial, but with smarty modifications) > > Fatal error: Uncaught exception 'Zend_Session_Exception' with message > 'Un

Re: [fw-general] problem calling parent::__construct(); inside my class extending from Zend_Acl

2007-04-20 Thread Darby Felton
Hi Raul, Zend_Acl does not have a constructor, and this is why you get the fatal error - because the method does not exist. Best regards, Darby Raul Gomez wrote: > i am new to zend framework and as i was following this article i > encountered this Fatal error: Can not call constructor in... : >

[fw-general] problem calling parent::__construct(); inside my class extending from Zend_Acl

2007-04-20 Thread Raul Gomez
i am new to zend framework and as i was following this article i encountered this Fatal error: Can not call constructor in... : http://devzone.zend.com/node/view/id/1665#comments could someone point me whats happening... thanks

[fw-general] zend_auth error

2007-04-20 Thread José de Menezes Soares Neto
hi friends, does anybody knows what is happening here? (I am following the zend_auth tutorial, but with smarty modifications) *Fatal error*: Uncaught exception 'Zend_Session_Exception' with message 'Unwritable session.save_path: ' in C:\www\projeto\lib\Zend\Session.php:212 Stack trace: #0 C:\www\

Re: [fw-general] How to implement Zend_Acl ?

2007-04-20 Thread Darby Felton
Hi Maurice, Zend_Acl also supports the idea of "privileges" upon resources. If you were to utilize such privileges for updating the username and for the timestamp, to follow your example, then you need not create a resource object for these. To use another simple example, imagine an article resou

Re: [fw-general] Thanks to Gavin Vess

2007-04-20 Thread Richard Thomas
I would like to thank the server host for providing us with a bad hard drive screwing up all my hard work and making me have to start over ;) Hahaah.. Anyone interested feel free to join the mailing list [EMAIL PROTECTED] On 4/20/07, Gavin <[EMAIL PROTECTED]> wrote: I am also grateful to Andrie

Re: [fw-general] Action files

2007-04-20 Thread Pádraic Brady
Having 500 lines per method is a code smell, i.e. a signpost you should refactor. The best start to this is splitting your monster method (start method by method) into smaller bitesize private functions. It's easy to do, just start by putting each new step or block of functionality in the code i

Re: [fw-general] Javascript and Zend_Db_Table

2007-04-20 Thread Klondike
Naneau wrote: > > - Use JSON or not? In Jester the only reason XML is used is because RoR > ActiveRecords can be easily translated into XML (apparantly) > I'm definitely considering adding JSON support. It makes too much sense for a JavaScript API library not to. But the XML that ActiveResou

Fwd: [fw-general] Action files

2007-04-20 Thread Chris Hartjes
On 4/20/07, agatone <[EMAIL PROTECTED]> wrote: So at all this actions file could easily have 500+ lines, what is (in my oponion) very bad. Wouldn't be easier if actions could be in separate files - more simple structure ... ? I'm a big believer in the "fat model, thin controller" architecture

[fw-general] re-test

2007-04-20 Thread Arnaud Limbourg

Re: [fw-general] Action files

2007-04-20 Thread Ian Warner
Hi I simply extend the controller with my own class: class Download_IndexController extends modules_download_classes_Download And then this class: modules_download_classes_Download extends my Zend Action class Modules_Download_Classes_Download extends Zend_Action And then: this extends the

Re: [fw-general] Action files

2007-04-20 Thread Matthew Weier O'Phinney
-- agatone <[EMAIL PROTECTED]> wrote (on Friday, 20 April 2007, 02:28 AM -0700): > I'm sorry if this was already discussed but i could find any topics about it. > Let's say we have in our controllers folder this action file : > > class IndexController extends Zend_Controller_Action { > function

Re: [fw-general] Implementing complex Views with ZF

2007-04-20 Thread Cristian Bichis
Hello, Actually i believe for big sites not just Zend_View is more complex, but also Controller-Action model is not very suitable... For a simple application, or for a simple CMS yeah, news/add news/view news/delete aso are all what we need but for more complex situations... If we a

Re: [fw-general] Action files

2007-04-20 Thread frederic wolf
Hi, I don't remember where I have seen something like this but take a look at the proposals section (MVC), there is something about One file per action, I think regards, fred Xavier Vidal Piera a écrit : You can nest controllers to isolate actions if you want, let's say i have: Autenti

Re: [fw-general] Action files

2007-04-20 Thread Xavier Vidal Piera
You can nest controllers to isolate actions if you want, let's say i have: Autentication LoginController (with 2 actions, "index" and "checkuser") LogoutController News ListController NewController ... IndexControlller To call these controllers you can do: http://www.foo.com/autent

[fw-general] Action files

2007-04-20 Thread agatone
I'm sorry if this was already discussed but i could find any topics about it. Let's say we have in our controllers folder this action file : class IndexController extends Zend_Controller_Action { function indexAction() { ... } function addAction() { ... } function removeAction() { ... }

Re: [fw-general] Thanks to Gavin Vess

2007-04-20 Thread Gavin
I am also grateful to Andries Seutens for his amazing dedication to bringing the community *current* documentation in a friendly form via the wikification of our svn docbook files, and his work on the time sync / NTP / SNTP component. When many changes happen frequently, having access to the late

Re: [fw-general] Thanks to Gavin Vess

2007-04-20 Thread Gavin
My thanks goes out to all who share in the joy of helping to create a phenomenal framework. From the very moment I became involved with the Zend Framework, I became convinced of the extraordinary value of the community, especially the international flavor. The fabric of our community encourages