Re: [fw-general] Search Lucene Index Generation

2008-10-05 Thread Matthew Ishii
Thank you all for the suggestions. The offline process, i did not even think about that, i guess im too focused on this damn browser ;0) On Sun, Oct 5, 2008 at 4:29 PM, Matthew Ratzloff <[EMAIL PROTECTED]> wrote: > Offline process. If it's a small index you can rebuild it with a cron job. > -Mat

Re: [fw-general] Change delimiter for Zend Router

2008-10-05 Thread Lepidosteus
> But when i type www.mysite.com/home-usa-2008 > > I get the error : Uncaught exception 'Zend_Controller_Dispatcher_Exception' > with message 'Invalid controller specified (home-usa-2008)' Total guess: try removing the default routes before adding your own $router->removeDefaultRoutes(); $router-

Re: [fw-general] Change delimiter for Zend Router

2008-10-05 Thread DarKA
Hello, I already did this. What I did is extending : class CustomRoute extends Zend_Controller_Router_Route { protected $_urlDelimiter = '-'; } And after : $router->addRoute( 'home', new CustomRoute( 'home-:country-:date', array( 'controller' => 'accueil', 'a

Re: [fw-general] Search Lucene Index Generation

2008-10-05 Thread Matthew Ratzloff
Offline process. If it's a small index you can rebuild it with a cron job. -Matt On Sat, Oct 4, 2008 at 10:42 PM, Matthew Ishii <[EMAIL PROTECTED]>wrote: > Hello, > > I have successfully created a search form and it works very well, > however its a bit slow. > > I believe part of the problem is

Re: [fw-general] Change delimiter for Zend Router

2008-10-05 Thread Matthew Ratzloff
http://framework.zend.com/svn/framework/standard/trunk/library/Zend/Controller/Router/Route.php Check the properties. You can easily extend this class to use your own delimiter. -Matt On Sun, Oct 5, 2008 at 5:00 AM, DarKA <[EMAIL PROTECTED]> wrote: > > Hello, > I would like to change the delimi

Re: [fw-general] Create my own custom model class

2008-10-05 Thread Matthew Weier O'Phinney
-- debussy007 <[EMAIL PROTECTED]> wrote (on Sunday, 05 October 2008, 01:29 PM -0700): > In the directory "models", I usually have classes which are linked to tables > and in which, sometimes, I create custom functions; here is an example: > > class Trajets extends Zend_Db_Table_Abstract { >

Re: [fw-general] Create my own custom model class

2008-10-05 Thread Giorgio Sironi
2008/10/5 debussy007 <[EMAIL PROTECTED]>: > But I would like for some reasons to create a class which is not linked to a > DB (for some POO reasons ...). However, I won't be able to use something > like: return $this->getAdapter()->query( to return results since it is not > linked to a DB. This pr

[fw-general] Create my own custom model class

2008-10-05 Thread debussy007
Hi, In the directory "models", I usually have classes which are linked to tables and in which, sometimes, I create custom functions; here is an example: getAdapter()->query( "select count(*) from trajets T " . "where T.member_id = '" . $memberId .

[fw-general] AllTests.php : 1.6.1 issue with Db

2008-10-05 Thread Bruno Friedmann
During tests launch I encounter a trouble with the DB test. I've Mysql, PgSql activated and for the two I received a "limit for user : too much connexion " I've seen that mysql and pgsql ( on my setup ) have a max_connexion set to 254. And during the tests I've got 254 connexions when I issue a

Re: [fw-general] Favicon and robots.txt errors

2008-10-05 Thread Jason Webster
Not necessarily. Those rewrite rules say "If it's a file that exists, load it... if it doesn't, send it to the bootstrap" To be safe, simply create those files, or add exceptions for them in the .htaccess. Ralf Eggert wrote: Hi Matthew, I guess your rewrite rules in your .htaccess must be wr

Re: [fw-general] Zend_Loader_PluginLoader problems

2008-10-05 Thread Pieter Kokx
Hi Matthew, Here it is working correctly now. Thanks for fixing this problem ;). Regards, Pieter Kokx MaakSite.net PHP Developer Matthew Weier O'Phinney schreef: > -- Christopher Östlund <[EMAIL PROTECTED]> wrote > (on Sunday, 05 October 2008, 06:06 PM +0200): > >> I'm getting this now on

Re: [fw-general] Zend_Loader_PluginLoader problems

2008-10-05 Thread Matthew Weier O'Phinney
-- Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote (on Sunday, 05 October 2008, 11:45 AM -0400): > -- Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote > (on Sunday, 05 October 2008, 11:27 AM -0400): > > -- Codiac <[EMAIL PROTECTED]> wrote > > (on Sunday, 05 October 2008, 02:25 AM -0700): > > > I

Re: [fw-general] Zend_Loader_PluginLoader problems

2008-10-05 Thread Matthew Weier O'Phinney
-- Christopher Östlund <[EMAIL PROTECTED]> wrote (on Sunday, 05 October 2008, 06:06 PM +0200): > I'm getting this now on trunk, works with the version before the performance > commit. > > Zend_Loader_PluginLoader_Exception: Plugin by name HeadTitle was not found in > the registry; paths searched:

Re: [fw-general] Zend_Loader_PluginLoader problems

2008-10-05 Thread Matthew Weier O'Phinney
-- Pieter Kokx <[EMAIL PROTECTED]> wrote (on Sunday, 05 October 2008, 06:00 PM +0200): > It seems that the incubator is giving me a hard time. The Zend_Loader version > in the incubator does not suppress warnings. I know that I shouldn't use the > incubator, so it is mostly my bad. But i think the

Re: [fw-general] Zend_Loader_PluginLoader problems

2008-10-05 Thread Christopher Östlund
I'm getting this now on trunk, works with the version before the performance commit. Zend_Loader_PluginLoader_Exception: Plugin by name HeadTitle was not found in the registry; paths searched: On Sun, Oct 5, 2008 at 6:00 PM, Pieter Kokx <[EMAIL PROTECTED]> wrote: > Hi Matthew, > > It seem

Re: [fw-general] Zend_Loader_PluginLoader problems

2008-10-05 Thread Pieter Kokx
Hi Matthew, It seems that the incubator is giving me a hard time. The Zend_Loader version in the incubator does not suppress warnings. I know that I shouldn't use the incubator, so it is mostly my bad. But i think the incubator should be changed so it will have the same behavior as the version in

Re: [fw-general] Zend_Loader_PluginLoader problems

2008-10-05 Thread Matthew Weier O'Phinney
-- Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote (on Sunday, 05 October 2008, 11:27 AM -0400): > -- Codiac <[EMAIL PROTECTED]> wrote > (on Sunday, 05 October 2008, 02:25 AM -0700): > > I'm experiencing some errors while loading a plugin (in this case the > > translate view helper). I'm seeing w

Re: [fw-general] Zend_Loader_PluginLoader problems

2008-10-05 Thread Matthew Weier O'Phinney
-- Pieter Kokx <[EMAIL PROTECTED]> wrote (on Sunday, 05 October 2008, 04:44 AM -0700): > I have looked in the load method of Zend_Loader_PluginLoader, and it seems > that it will only loop one and then already throws a warning because it > can't find the file. But in the next iteration it does find

Re: [fw-general] Zend_Loader_PluginLoader problems

2008-10-05 Thread Matthew Weier O'Phinney
-- Codiac <[EMAIL PROTECTED]> wrote (on Sunday, 05 October 2008, 02:25 AM -0700): > I'm experiencing some errors while loading a plugin (in this case the > translate view helper). I'm seeing what appears to be escaped directory > separators in the include path. Is this somehow related to the change

[fw-general] html2pdf

2008-10-05 Thread ranfow
Does anyone has solution on converting html to pdf using Zend_Pdf?:-) -- View this message in context: http://www.nabble.com/html2pdf-tp19825577p19825577.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Change delimiter for Zend Router

2008-10-05 Thread DarKA
Hello, I would like to change the delimiter of Zend Framework router. In my case, from "/" to "__". Does anyone has ever experienced this need. -- View this message in context: http://www.nabble.com/Change-delimiter-for-Zend-Router-tp19823902p19823902.html Sent from the Zend Framework mailing l

Re: [fw-general] Zend_Loader_PluginLoader problems

2008-10-05 Thread Pieter Kokx
Hi Matthew, I have looked in the load method of Zend_Loader_PluginLoader, and it seems that it will only loop one and then already throws a warning because it can't find the file. But in the next iteration it does find the file, but the evil is done already, the warning is printed on the screen.

[fw-general] (geen onderwerp)

2008-10-05 Thread Pieter Kokx
-- Met vriendelijke groet, Pieter Kokx MaakSite.net PHP Developer

Re: [fw-general] Zend_Loader_PluginLoader problems

2008-10-05 Thread Pieter Kokx
Hi Matthew, Nope, it still doesn't work correctly. But I have seen your solution, and it may work, but it will only work when you merge all the paths. Here I am seeing something like this in the include path at the moment of inclusion: /var/www/maaksite/trunk/app/models/generated/Masi/View/Help

Re: [fw-general] Zend_Loader_PluginLoader problems

2008-10-05 Thread Codiac
Matthew, I'm experiencing some errors while loading a plugin (in this case the translate view helper). I'm seeing what appears to be escaped directory separators in the include path. Is this somehow related to the changes in Zend_Loader_PluginLoader how it handles plugin loading? Here are the det

Re: [fw-general] Favicon and robots.txt errors

2008-10-05 Thread Ralf Eggert
Hi Matthew, I guess your rewrite rules in your .htaccess must be wrong. Please check out this manual page to amend your rewrite rules: http://framework.zend.com/manual/en/zend.controller.html#zend.controller.quickstart.go.rewrite Best regards, Ralf

[fw-general] Favicon and robots.txt errors

2008-10-05 Thread Matthew Ishii
I am not entirely sure, but I believe that I may have set up my framework incorrectly and that it is affecting a few things. Most importantly, it appears as though the search engines are attempting to crawl my site and are not able to access the robots.txt file. I dont know a whole lot about this