[fw-general] New proposal: Zend_Mime_Magic

2007-03-09 Thread Matthew Ratzloff
Hi everyone, I've posted a new proposal, Zend_Mime_Magic. It's a native PHP implementation of the standard Mime Magic functionality. For those unfamiliar with it, Mime Magic is an umbrella term that describes programs that use byte comparison to (attempt to) identify files by their content. PHP

Re: [fw-general] ZendFW chat

2007-03-09 Thread Gavin Vess
Hi Patrick, Yes, thanks to the efforts of Richard :) http://framework.zend.com/wiki/display/ZFDEV/Wildfire+Jabber+Server Cheers, Gavin Patrick Veach wrote: Did we ever set up a ZendFW chatroom? I know there was talk, but I don't know what was decided. thanks. pat

RE: [fw-general] Zend_Db Exception throwing?

2007-03-09 Thread Bill Karwin
That's a good point. Using the PDO adapters should be transparent, and the Zend_Db classes should throw exceptions that extend Zend_Db_Exception in all cases. So we need to catch PDOException in the PDO adapters and re-throw as a more appropriate exception. Can you please log a bug on this in JI

[fw-general] Zend_Db Exception throwing?

2007-03-09 Thread Ralph Schindler
Bill et. al., Out of curiosity, if I am using Zend_Db(_Adapter_Abstract) to execute a select object (query), should I be getting a Zend_Db_Exception or derivative thereof when invalid sql is queried? Ie., i cannot catch the following: try { $s = $database_connection->select(); $s->fro

Re: [fw-general] can one module adds more than one controller directory?

2007-03-09 Thread Matthew Weier O'Phinney
-- Jacky Chen <[EMAIL PROTECTED]> wrote (on Friday, 09 March 2007, 03:31 PM +0800): > i just want to add more than one controller directory to one module. > for example: > ... > $front->addControllerDirectory("./controllers/n1","news"); > $front->addControllerDirectory("./controllers/n2","news"); >

[fw-general] ZendFW chat

2007-03-09 Thread Patrick Veach
Did we ever set up a ZendFW chatroom? I know there was talk, but I don't know what was decided. thanks. pat

Re: [fw-general] DB Table

2007-03-09 Thread Matthew Weier O'Phinney
-- Alexander Netkachev <[EMAIL PROTECTED]> wrote (on Friday, 09 March 2007, 01:08 AM +0200): > > On 3/8/07, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > > -- Ian Warner <[EMAIL PROTECTED]> wrote > (on Thursday, 08 March 2007, 05:56 PM -): > > That would be why then :) >

Re: [fw-general] Notice in Zend_Controller_Router_Route

2007-03-09 Thread Olivier Sirven
Thanks Michal Le vendredi 9 mars 2007, Michał Minicki a écrit : > Olivier Sirven <[EMAIL PROTECTED]> napisał(a): > > Sorry it's not line 210 but line 208 ;) > > Attached a small script to demonstrate the notice. > > Thanks, Olivier. Should be fixed now.

Re: [fw-general] ANN: Zend.php refactored and deprecated

2007-03-09 Thread Arnaud Limbourg
Philip Iezzi wrote: Right, quite a lot of code to update... It took me quite a lot of like 30 seconds for the whole search-replace on my two medium-sized projects. I said a lot of code, i didn't mention time :-p Great thanks to Bill Karwin for the clean transition! Great thanks to everybody

Re: [fw-general] Notice in Zend_Controller_Router_Route

2007-03-09 Thread Michał Minicki
Olivier Sirven <[EMAIL PROTECTED]> napisał(a): > Sorry it's not line 210 but line 208 ;) > Attached a small script to demonstrate the notice. Thanks, Olivier. Should be fixed now. -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=

Re: [fw-general] Notice in Zend_Controller_Router_Route

2007-03-09 Thread Olivier Sirven
Sorry it's not line 210 but line 208 ;) Attached a small script to demonstrate the notice. Le vendredi 9 mars 2007, Michał Minicki a écrit : > Olivier Sirven <[EMAIL PROTECTED]> napisał(a): > > There is a notice in Zend/Controller/Router/Route.php on line 210: > > "Undefined index: name" > > May

RE: [fw-general] DB Table

2007-03-09 Thread Ian Warner
You meant drop the Zend Table altogether and just build normal queries? I would hope that Zend Table would include the select options very soon. Another query is how to I pull out the changed table names from the rowSet i.e. Zend_Db_Table::setDefaultAdapter($db); $table

Re: [fw-general] Notice in Zend_Controller_Router_Route

2007-03-09 Thread Michał Minicki
Olivier Sirven <[EMAIL PROTECTED]> napisał(a): > There is a notice in Zend/Controller/Router/Route.php on line 210: > "Undefined index: name" May I ask for a code needed to reproduce the problem? Route instantiation and used URL should suffice. PS: Line 210 has only a closing bracket in the c

Re: [fw-general] ANN: Zend.php refactored and deprecated

2007-03-09 Thread Philip Iezzi
Right, quite a lot of code to update... It took me quite a lot of like 30 seconds for the whole search-replace on my two medium-sized projects. Great thanks to Bill Karwin for the clean transition! Great thanks to everybody for your help getting us to "solution E" which really seems to go into th

[fw-general] Notice in Zend_Controller_Router_Route

2007-03-09 Thread Olivier Sirven
There is a notice in Zend/Controller/Router/Route.php on line 210: "Undefined index: name" Here is my patch: Index: Zend/Controller/Router/Route.php === --- Zend/Controller/Router/Route.php (revision 3836) +++ Zend/Controller/Route

[fw-general] Zend_Session error after Zend.php refactory

2007-03-09 Thread Olivier Sirven
Hi, Zend_Session includes Zend_Loader.php instead of Zend/Loader.php resulting in a fatal error: --- Zend/Session.php (revision 3836) +++ Zend/Session.php (working copy) @@ -23,7 +23,7 @@ /** * Zend */ -require_once 'Zend_Loader.php'; +require_once 'Zend/Loader.php'; Olivier

Re: [fw-general] ANN: Zend.php refactored and deprecated

2007-03-09 Thread Nick Lo
Bill Karwin wrote: All code in Zend Framework library and tests has been updated to use the new classes. So you'll only see the E_USER_NOTICE if you have been using Zend.php methods directly. One that got away: Zend_Session: line 26 - require_once 'Zend_Loader.php'; + require_once 'Zend/

Re: [fw-general] Sqlite "SQL logic error or missing database"

2007-03-09 Thread Alexander Netkachev
On 3/9/07, Kyohere Luke <[EMAIL PROTECTED]> wrote: Hello, I'm using ZF 0.8.0 on windows with Sqlite version 3.3.7 and PHP 5.2.0. I've tried everything to get ZF to successfully insert data into the database but I keep getting the error: *Fatal error *: Uncaught exception 'PDOException' with me

[fw-general] Sqlite "SQL logic error or missing database"

2007-03-09 Thread Kyohere Luke
Hello, I'm using ZF 0.8.0 on windows with Sqlite version 3.3.7 and PHP 5.2.0. I've tried everything to get ZF to successfully insert data into the database but I keep getting the error: *Fatal error*: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1 SQL logic err