Re: [fw-general] Mac OS with apache- 1.?

2008-08-22 Thread Wishnu Eka Sidharta
Just a thought, please check the AllowOverride setup in the httpd.conf and change it no All, if this is set to none, the .httaccess will do nothing ( can't overide the default server setting ) till wrote: On Thu, Aug 21, 2008 at 8:46 AM, Kexiao Liao [EMAIL PROTECTED] wrote: Does

[fw-general] tagging output zend caches

2008-08-22 Thread Inash Zubair
Hi. I've been going through the documentation and could not find a way to specify tags for the output capturing frontend (Zend_Cache_Frontend_Output). How is this achieved? -- Inash Zubair

[fw-general] Re: tagging output zend caches

2008-08-22 Thread Inash Zubair
Oh! Don't bother. I hadn't looked enough. Found it. Cheers. On Fri, Aug 22, 2008 at 11:42 AM, Inash Zubair [EMAIL PROTECTED] wrote: Hi. I've been going through the documentation and could not find a way to specify tags for the output capturing frontend (Zend_Cache_Frontend_Output). How is

Re: [fw-general] Zend_Form_Element_File with new Zend_File + ini config

2008-08-22 Thread Marko Korhonen
Hello! You're right, it worked after I changed it to required. But in my form, the file upload is not required so this seems bug to me too. Maybe I'll check SVN... br, Marko enportugal wrote: Hi, Try setting required to true. I was having the same problem (although I wasn't using

Re: [fw-general] Zend_Form_Element_File with new Zend_File + ini config

2008-08-22 Thread Marko Korhonen
No fix there: bug seems to be in: Zend_Form_Element_File::isValid method. br, Marko Marko Korhonen wrote: Hello! You're right, it worked after I changed it to required. But in my form, the file upload is not required so this seems bug to me too. Maybe I'll check SVN... br, Marko

Re: [fw-general] Profiler - query start

2008-08-22 Thread monk.e.boy
Oooops, mean to post this to the DB section, sorry! monk.e.boy monk.e.boy wrote: http://teethgrinder.co.uk/open-flash-chart/ --- free, LGPL flash charts!! Wooo! Zend library coming SOOON! -- View this message in context:

[fw-general] Profiler - query start

2008-08-22 Thread monk.e.boy
Hey, Just taking a look at Profiler.php - queryStart My sql looks like this: class Blah { public function count( $id ) { $sql = EOT SELECT COUNT(*) FROM table EOT; } } so my $sql has a lot of whitespace at the start of the string: if (null

[fw-general] Zend_Console_ProgressBar proposal review

2008-08-22 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi folks, this is a bit the wrong direction, as documentation, unit tests and the component itself are yet finished and in the incubator, but for those who are not in IRC (#zftalk or #zftalk.dev), I announce this on the mailing list. There is an

Re: [fw-general] Using quote() method in LIKE statements

2008-08-22 Thread Bill Karwin
David Di Biase wrote: WHERE B.Name LIKE '% . $db-quote($_GET['name']) . %' OR B.Description LIKE '% . $db-quote($_GET['description']) . %' Here's how I would do this: $select-where('B.Name LIKE ?', '%' . $_GET['name'] . '%') $select-orWhere('B.Description LIKE ?', '%' .

Re: [fw-general] Using quote() method in LIKE statements

2008-08-22 Thread David Di Biase
lol, yeah as I was reading your post I basically slammed my hand onto my forehead and yelped doh!. Yeah, that seems like a no-brainer solution. LOL. Oh man. In response to Bill's suggestion, the fields aren't that big. I am indeed using MyISAM and plan to index it using FULLTEXT. Thanks, -

Re: [fw-general] Using quote() method in LIKE statements

2008-08-22 Thread Jason Webster
Won't this escape the wildcard character, and offer it as a literal? enportugal wrote: HI, Put the % signal inside the quote funciton Like this WHERE B.Name LIKE . $db-quote('%'.$_GET['name'].'%') . Regards, David Di Biase wrote: Hi there, I was wondering how it might be possible

Re: [fw-general] Using quote() method in LIKE statements

2008-08-22 Thread Jason Webster
Bill Karwin wrote: Jason Webster wrote: Won't this escape the wildcard character, and offer it as a literal? Nope. The quote() function only quotes things that may terminate the string literal, such as ', , \0, etc. You can try it yourself to be sure: print

Re: [fw-general] Zend_Dojo Programmatic usage - best practice?

2008-08-22 Thread Bernd Matzner
Hi there, just signed up for the forum, my message seems to have been lost. Here's my question again. Thanks for any ideas. Bernd Bernd Matzner wrote: Hi, using 1.6 RC2, I see no JS generated with Zend_Dojo's Programmatic mode, but perhaps I'm missing something from the documentation

[fw-general] How to access response object's insert method in action helper

2008-08-22 Thread Sudheer
Hi, I followed the Zend_Layout example at http://akrabat.com/2007/12/11/simple-zend_layout-example/ There was no problem in setting up the layout at all. Instantiating the response object and accessing its insert method in the init() function of every controller is repetitious. Therefore, I

Re: [fw-general] Zend_Dojo Programmatic usage - best practice?

2008-08-22 Thread Matthew Weier O'Phinney
-- Bernd Matzner [EMAIL PROTECTED] wrote (on Friday, 22 August 2008, 12:58 PM -0700): Bernd Matzner wrote: using 1.6 RC2, I see no JS generated with Zend_Dojo's Programmatic mode, but perhaps I'm missing something from the documentation - only if the (-1) param value is passed to

Re: [fw-general] Using quote() method in LIKE statements

2008-08-22 Thread Bill Karwin
Jason Webster wrote: That's not necessary. I believe you. I was more curious if it would, rather than attempting to point out an error. :-) Well, *I* sometimes don't believe me, so it's usually worth doing a quick experiment to be sure. Trust but verify! Regards, Bill Karwin -- View

Re: [fw-general] How to access response object's insert method in action helper

2008-08-22 Thread Matthew Weier O'Phinney
-- Sudheer [EMAIL PROTECTED] wrote (on Saturday, 23 August 2008, 01:38 AM +0530): I followed the Zend_Layout example at http://akrabat.com/2007/12/11/simple-zend_layout-example/ There was no problem in setting up the layout at all. Instantiating the response object and accessing its insert

[fw-general] [OT] Throwing an exception from set_error_handler messes up $trace[args]

2008-08-22 Thread Jake McGraw
This isn't necessarily a problem with Zend Framework, but I encountered it while trying to beautify my PHP error screens using ZF MVC. Here's the scenario: I'm using the following code to generate exceptions when an error occurs in PHP: if (!function_exists('exceptions_error_handler')) {

[fw-general] How to put to work 3rd party libs in Zend Frmework? like dompdf?

2008-08-22 Thread Juan Felipe Alvarez Saldarriaga
Hey! I like to use dompdf to render HTML - PDF, but I can't use it in Zend Frameowrk, my bootstrap calls the registerAutoload method: Zend_Loader::registerAutoload(); I already have include the paths to the dompdf in my .htaccess file: dompdf folder content:

Re: [fw-general] How to put to work 3rd party libs in Zend Frmework? like dompdf?

2008-08-22 Thread till
On Fri, Aug 22, 2008 at 7:27 PM, Juan Felipe Alvarez Saldarriaga [EMAIL PROTECTED] wrote: Hey! I like to use dompdf to render HTML - PDF, but I can't use it in Zend Frameowrk, my bootstrap calls the registerAutoload method: Zend_Loader::registerAutoload(); I couldn't make that out from

Re: [fw-general] How to put to work 3rd party libs in Zend Frmework? like dompdf?

2008-08-22 Thread Matthew Ratzloff
Hi Juan, DOMPDF defines an autoload method, but uses __autoload() instead of spl_autoload_register(). You should file a bug with the maker of this software to correct this issue. In the meantime, you need to add this to your code: require_once 'dompdf_config.inc.php';