Re: [fw-general] Where to put my front controller plugin?

2009-03-05 Thread Dan Ballance
Thanks for helping me get that sorted folks. Can I just ask a related question: is the data persistent between dispatch loops? Ie if I set a flag in my front controller plugin the first time the loop runs,will I be able to check against it on the next iteration? My plan is to use the post dispatch

Re: [fw-general] Error Load for file over 100 MB

2009-03-05 Thread sweet-h0n3y
Thank you for your reply.. For uploading file over 100 was succes. But for loading or downloading file over 100 Mb appears warning "file damage or couldn't be repaired" or without warning and only show "0" with white background. But the file doesn't damage. What should i do for downloading this f

[fw-general] Another patch question

2009-03-05 Thread keith Pope
In the docblock headers if I create a new file what do I do with the * @version$Id: TableBugsCustom.php 12290 2008-11-04 22:46:48Z matthew $ Thx :)

Re: [fw-general] Another patch question

2009-03-05 Thread vadim gavrilov
Nothing that's SVN related it auto updates when you commit the changes to the repository. On Thu, Mar 5, 2009 at 11:25 AM, keith Pope wrote: > In the docblock headers if I create a new file what do I do with the > > * @version$Id: TableBugsCustom.php 12290 2008-11-04 22:46:48Z matthew > $ >

[fw-general] Re: BasePath in bootstrap question

2009-03-05 Thread Deepak
> HI, > > In controller I can get the bastpath with [ $request->getBasePath() ] > > how can I get same in bootstrap? > OR how to set the form's action in bootstrap with basepath? currently I am using this for localhost $searchForm->setAction("//localhost/search"); instead I wanted something li

Re: [fw-general] Re: BasePath in bootstrap question

2009-03-05 Thread vadim gavrilov
I personally use a config file that holds an attribute named webhost then i can access it view the Zend_Registery after setting it up in the bootstrap file. On Thu, Mar 5, 2009 at 11:37 AM, Deepak wrote: > > HI, > > > > In controller I can get the bastpath with [ $request->getBasePath() ] > > >

Re: [fw-general] Re: BasePath in bootstrap question

2009-03-05 Thread Deepak
On Thu, Mar 5, 2009 at 5:49 PM, vadim gavrilov wrote: > I personally use a config file that holds an attribute named webhost then i > can access it view the Zend_Registery after setting it up in the bootstrap > file. > > > -- > Vincent Gabriel. > Lead Developer, Senior Support. > Zend Certified En

[fw-general] Zend framework & Fancy upload

2009-03-05 Thread tomasr
Hello, Have anyaone experience with integrate Fancy upload to ZF? 1. How did you solve firefox session (autorization) problem? I'm not sure if it is related with, but after submit form, appears exactly the same page (like you just use) instead Fancy upload box, but only in firefox. 2. In IE7 it wo

Re: [fw-general] Another patch question

2009-03-05 Thread Mon Zafra
Since it's a new file, you must do svn propset svn:keywords Id then all instances of '$Id*$' in the file will be replaced when you commit -- Mon On Thu, Mar 5, 2009 at 5:25 PM, keith Pope wrote: > In the docblock headers if I create a new file what do I do with the > > * @version$Id:

[fw-general] Patch for ZF-4167

2009-03-05 Thread keith Pope
Hi, I have just uploaded a patch for ZF-4167 any feddback, testing would be cool :) http://framework.zend.com/issues/browse/ZF-4167 Thx Keith

[fw-general] .htaccess - avoid request to go to controller

2009-03-05 Thread debussy007
Hi, I have a file directory, which contains .html pages, which should be accessed without passing by MVC model Controller/Action. The url looks like this: http://xyz.com/public/miv/files/reports/histo-report-2009-03-05.html Currently I have the following exception with the URL above: Fatal erro

[fw-general] Simple filter idea

2009-03-05 Thread Baptiste Placé
Hello, I have a simple idea for a filter proposal : Break words of a text that are too long by adding space characters. This can be usefull when creating comment form and avoid the annoying guy who just want to make the html layout go crazy. One other thing that may be usefull is replacing 3

Re: [fw-general] Short Tags in PHPUnit tests

2009-03-05 Thread Matthew Weier O'Phinney
-- Ian Young wrote (on Wednesday, 04 March 2009, 04:24 PM -0600): > My quick and easy solution was to edit the problem test files to use > long tags :D I'm just wondering if I should file this as a bug against > Zend. Sounds like the answer might be yes? No. Pass an option to phpunit when run

Re: [fw-general] Simple filter idea

2009-03-05 Thread vadim gavrilov
You can do that yourself. I mean even using trim will trim out the leading and trialing spaces. On Thu, Mar 5, 2009 at 3:56 PM, Baptiste Placé wrote: > Hello, > > I have a simple idea for a filter proposal : > Break words of a text that are too long by adding space characters. This > can be usefu

Re: [fw-general] Simple filter idea

2009-03-05 Thread Alex
I've seen a couple of functions in the WordPress source that do just that. Maybe borrow from them and implement it as a Zend filter? - Alex On Thu, Mar 5, 2009 at 11:04 AM, Alex wrote: > I've seen a couple of functions in the WordPress source that do just that. > Maybe borrow from them and impl

Re: [fw-general] .htaccess - avoid request to go to controller

2009-03-05 Thread Matthew Weier O'Phinney
-- debussy007 wrote (on Thursday, 05 March 2009, 05:42 AM -0800): > I have a file directory, which contains .html pages, which should be > accessed without passing by MVC model Controller/Action. > > The url looks like this: > http://xyz.com/public/miv/files/reports/histo-report-2009-03-05.html >

[fw-general] Zend_Cache simple practice question

2009-03-05 Thread bytte
I'm working on an application that mostly reads data from the database and occasionally writes data to the database. I'm considering implementing Zend_Cache to cache database queries but was struggling with the question how long the queries should be cached. That's why I thought it may be best to

Re: [fw-general] .htaccess - avoid request to go to controller

2009-03-05 Thread vadim gavrilov
Yes as /index means the document root and index means the current directory. I had the same problem and when removing the / in front of the index.php i got this working. On Thu, Mar 5, 2009 at 4:32 PM, Robert Castley wrote: > OT - ish :-) > > Why does quickstart use: > > > RewriteEngine On > Rewr

RE: [fw-general] .htaccess - avoid request to go to controller

2009-03-05 Thread Robert Castley
OT - ish :-) Why does quickstart use: RewriteEngine On RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ /index.php [NC,L] And the manual RewriteEngine On RewriteCond %{REQUEST_FILENAM

Re: [fw-general] .htaccess - avoid request to go to controller

2009-03-05 Thread Matthew Weier O'Phinney
-- Robert Castley wrote (on Thursday, 05 March 2009, 02:32 PM -): > OT - ish :-) > > Why does quickstart use: > > > RewriteEngine On > RewriteCond %{REQUEST_FILENAME} -s [OR] > RewriteCond %{REQUEST_FILENAME} -l [OR] > RewriteCond %{REQUEST_FILENAME} -d > RewriteRule ^.*$ - [NC,L] > Rewrite

[fw-general] [PHP fatal error] Too many open files

2009-03-05 Thread Sen Haerens
Hi, I got the following errors for an application running under ZF 1.7.5. 2009/03/05 14:56:47 [error] 20630#0: *625069 FastCGI sent in stderr: "PHP Warning: require_once(Zend/File/Transfer/Adapter/Abstract.php) [function.require-once]: failed to open stream: Too many open files in /var/www/examp

Re: [fw-general] Zend_Cache simple practice question

2009-03-05 Thread Giorgio Sironi
2009/3/5 bytte > That's why I thought it may be best to store all select() queries in the > cache forever. Then whenever there's an update to a database table delete > the cached queries that belong to that table. > That's what MySql does - caching select queries that are invalidated when the ta

[fw-general] Using HTML iframes with ZendFramework

2009-03-05 Thread David Toniolo
hello, there is a problem with using iframes in view scripts. In the src attribute of the iframe is a path like this: The PHP file should be called an that's it. It works under XAMPP Windows but not on Linux. ZF version is equal on both systems (1.7.2-minimal). On Linux ZF routing throws mess

Re: [fw-general] Zend_Cache simple practice question

2009-03-05 Thread bytte
So you wouldn't recommend it? Giorgio Sironi wrote: > > 2009/3/5 bytte > >> That's why I thought it may be best to store all select() queries in the >> cache forever. Then whenever there's an update to a database table delete >> the cached queries that belong to that table. >> > > That's wha

Re: [fw-general] [PHP fatal error] Too many open files

2009-03-05 Thread till
On Thu, Mar 5, 2009 at 4:47 PM, Sen Haerens wrote: > Hi, > > I got the following errors for an application running under ZF 1.7.5. > > 2009/03/05 14:56:47 [error] 20630#0: *625069 FastCGI sent in stderr: > "PHP Warning:  require_once(Zend/File/Transfer/Adapter/Abstract.php) > [function.require-onc

[fw-general] Re: [PHP fatal error] Too many open files

2009-03-05 Thread Sen Haerens
If anyone else encounters this updating APC to latest version 3.1.2 fixed the problem and following bug. > APC 3.0.19 * Fix fd-leak (Gopal) Regards, Sen Haerens On Thu, Mar 5, 2009 at 16:47, Sen Haerens wrote: > Hi, > > I got the following errors for an application running under ZF 1.7.5. > > 2

Re: [fw-general] Zend_Cache simple practice question

2009-03-05 Thread Giorgio Sironi
2009/3/5 bytte > So you wouldn't recommend it? > If you're using mysql, it will not improve performance significatively, since it's already done efficiently at a low level from the db. It's also true that php don't have to talk to mysqld, but often they are on the same machine, and time spent fo

Re: [fw-general] Using HTML iframes with ZendFramework

2009-03-05 Thread David Toniolo
solved. Path has to be in docroot, include_path settings do not catch here, because it's HTML. I tried to do something like this: and that works. I do not like this solution with an extra PHP file in docroot, maybe someone knows a better solution. David Toniolo wrote: > > hello, > > ther

RE: [fw-general] Using HTML iframes with ZendFramework

2009-03-05 Thread Terre Porter
I don't think you can use "include" as a src, as "include" executes the php script where the iframe wants a url location to load. Try this ... mailto:davidtoni...@gmx.de] Sent: Thursday, March 05, 2009 2:32 PM To: fw-general@lists.zend.com Subject: Re: [fw-general] Using HTML iframes with ZendF

Re: [fw-general] Using HTML iframes with ZendFramework

2009-03-05 Thread Tim Fountain
On 05/03/2009, Terre Porter wrote: > > > Try this ... > > it's generally much easier to use absolute paths (i.e. start with a /), than trying to work out the correct relative path. And this doesn't really have anything to do with ZF. -- Tim Fountain http://tfountain.co.uk/

RE: [fw-general] Using HTML iframes with ZendFramework

2009-03-05 Thread Terre Porter
Oh, duh! *bonks self in the head Terre _ From: Tim Fountain [mailto:t...@tfountain.co.uk] Sent: Thursday, March 05, 2009 3:10 PM To: fw-general@lists.zend.com Subject: Re: [fw-general] Using HTML iframes with ZendFramework On 05/03/2009, Terre Porter wrote: Try this ... it'

Re: [fw-general] Using HTML iframes with ZendFramework

2009-03-05 Thread David Toniolo
hi Tim, your right, this is not really a ZF problem, but ZF needs a special htaccess RewriteRule, we all know that. So, if you use the RewriteRule of the "Getting started.." tutorial, then you will get a problem, because the src-path of an iframe would be parsed by your bootstrap. I fixed this p

[fw-general] Zend_Form: MultiCheckbox or Checkbox i.c.w. ViewScript and looping through individual elements

2009-03-05 Thread fire-eyed-boy
Hi y'all, I'm using a ViewScript decorator for my Zend_Form. In this form I'ld like each third checkbox in a collection of checkboxes to start on a newline, or in a new block element or something similar. I tried it with a MultiCheckbox. I wish I could do something similar as beneath in my for

Re: [fw-general] Memcache backend for Zend_Cache: missing "weight" ?

2009-03-05 Thread Fabien MARTY
Hi, On Thu, Mar 5, 2009 at 8:05 AM, Apostol Victor wrote: > since this is may first post here, i first wish to say @Hello all. > In our projects we're using memcache for some times, changing from file > system based solutions since the later ones were not stable anymore when > traffic grew up (op

Re: [fw-general] Memcache backend for Zend_Cache: missing "weight" ?

2009-03-05 Thread Apostol Victor
tx for the reply Fabie On Thu, Mar 5, 2009 at 11:28 PM, Fabien MARTY wrote: > Hi, > - Show quoted text - > > On Thu, Mar 5, 2009 at 8:05 AM, Apostol Victor > wrote: > > since this is may first post here, i first wish to say @Hello all. > > In our projects we're using memcache for some times, cha

[fw-general] Dojo, and Zend Studio

2009-03-05 Thread Robert Gormley
Hi all, I realise that this isn't really ZF's "fault", and a bit more related to Zend Studio for Eclipse, but I'm surely not the only person having this issue. Creating a new skeleton ZF project from within ZSE, and including Dojo support "helpfully" gives me a clean slate project with over 3,0

Re: [fw-general] Zend_Form: MultiCheckbox or Checkbox i.c.w. ViewScript and looping through individual elements

2009-03-05 Thread Matthew Weier O'Phinney
-- fire-eyed-...@hotmail.com wrote (on Thursday, 05 March 2009, 09:19 PM +): > Also, with the Zend_Form ViewScript decorator, I thought I would be able to > access the form object with something like $this->form from within the view. > > But I'm not able to access it. How would I be able to ac

RE: [fw-general] Zend_Form: MultiCheckbox or Checkbox i.c.w. ViewScript and looping through individual elements

2009-03-05 Thread fire-eyed-boy
> Date: Thu, 5 Mar 2009 22:43:00 -0500 > From: matt...@zend.com > To: fw-general@lists.zend.com > Subject: Re: [fw-general] Zend_Form: MultiCheckbox or Checkbox i.c.w. > ViewScript and looping through individual elements > > -- fire-eyed-...@hotmail.com wrote > (on Thursday, 05 March 2009, 09