[fw-general] Zend_Cache_Frontend_Page bug. stable and snapshot

2007-07-20 Thread Кононов Руслан
I'm create simple application for testing Zend_Cache_Frontend_Page, but nothing work!!! No debug header, no data in cache dir, no exceptions. Now I,m check Zend source and found bug in _makeId() function. line 258 of Zend\Cache\Frontend\Page.php written : if ($tmp2===false) { re

Re: [fw-general] how get query from Zend_Db in Exception

2007-06-26 Thread Кононов Руслан
Thanks Bill. I used expanded class of Zend_Db for debugging requests. and use the following code : $profiler = Portal_Db_Zend::getInstance()->getProfiler(); foreach ( $profiler->getQueryProfiles() as $query ) { echo $query->getQuery() . ' ' . round( $query->getEl

[fw-general] how get query from Zend_Db in Exception

2007-06-26 Thread Кононов Руслан
How can I get sql query from Zend_DB using update (), delete (), insert () in the case of Exception ?

Re: [fw-general] echo?

2007-04-23 Thread Кононов Руслан
Peter Pistorius пишет: Hello everyone, I've been stuck in a previous projects that use the older versions, but now I'm using 0.9.2 and can't seem to echo from my controllers::actions(). I tested this theory by using a header location to http://google.com instead of an echo 'I come here'; an

[fw-general] disable dispatch() in init()

2007-04-16 Thread Кононов Руслан
Is possible disable dispatch() in init() function of Zend_Controller_Action ?

Re: [fw-general] leftJoin problem

2007-02-20 Thread Кононов Руслан
Alexander Netkachev пишет: It seems that ZF 0.8 adds `...` for field names so that makes impossible using of 'u.user_surname' constructions. I think that $select->joinLeft(array('users' => 'u'), ...) ); should be available soon. Thanks, it's work fine in last ZF snapshot . And little quest

[fw-general] leftJoin problem

2007-02-20 Thread Кононов Руслан
Hi, all. in ZF 0.7 my  query work fine, but not in 0.8rc1.    $select = $db->select();     $select->from('journal', array('journal_id','journal_group_id', 'journal_user_id', 'journal_title','journal_ts_add') );         $select->joinLeft('users u', 'journal_user_id = u.user_id', arr