Hi Alexander,
I'm not 100% sure that I didn't miss anything important but I'm quiet sure,
that the .NET result wasn't cached at all. I changed the query several times
and the response time was still between 0.001 and 0.005. Two days ago I
started the same benchmark with the original java lucene
Sorry for such a long response time. I don't know if this make things happen
faster or no, but this morning I finaly managed to move my Zend_Jabber
proposal to the Ready for Review section.
I am wery excited to hear your reviews.
--
View this message in context:
Hi, guys.
I wrote a helper class (extends Zend_Controller_Action_Helper_Abstract), and
put it in 'wwwroot/zf/application/helpers/', named as MyHelper.
Then I add
'Zend_Controller_Action_HelperBroker::addPath('/zf/application/helpers/',
'MyHelper');' in init() method of my controller class,
and
How to add the text box,buttons using zend framework
--
View this message in context:
http://www.nabble.com/form-preperation-tf4168911s16154.html#a11860577
Sent from the Zend Framework mailing list archive at Nabble.com.
Hi ALL,
I am new to zend and still in learning process. Currently I am working on
Zend_Translate and would like to know the best approach to use the
Zend_Translate.
I am able to create .mo files and getting the translated content. Now, I
would like to know the best way of getting the
Using View Helpers. See
http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial
2007/7/30, sachindoijad1 [EMAIL PROTECTED]:
How to add the text box,buttons using zend framework
--
View this message in context:
Hi
I'm quite sure Zend_Date does not support at least two AD date format. I'd be
very glad if these would be supported. There's example code so it shouldn't
be a problem to implement them.
LDAP Active Directory Last Logon (lastlogon).
http://php.net/manual/en/ref.ldap.php#61144
accountexpires
ZegeeDotCom wrote:
Can someone give me an example of how I use the zend registry. I upgraded
to ZF 0.9 and my zend registry is not working.
Did you ever get this working? I am running into the same problem w zf1.0.0
but it's not clear to me from the thread what actually worked in the
http://framework.zend.com/manual/en/zend.controller.front.html#zend.controller.front.methods.primary
(7.3.2.4.):
Zend_Controller_Front::run($path) is a static method taking simply a path to
a directory containing controllers. It fetches a front controller instance
(via getInstance(), registers
Any reason that only some of the helpers support the 'id' attribute and
others don't as in:
FormButton.php: . ' id=' . $this-view-escape($id) .
'';
FormCheckbox.php: . ' id=' . $this-view-escape($id) .
''
FormFile.php: . ' id=' .
Hello,
there was already some conversation about this. I just cannot see any
error messages when I have a typo or other bug in my controllers.
I have this in my bootstrap:
$front = Zend_Controller_Front::getInstance();
$front-setControllerDirectory('./application/controllers');
It was already there, but I've qouted the value... :$
Thank you, Matthew!
Ádám
On 7/30/07, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote:
Add this to your bootstrap:
error_reporting(E_ALL|E_STRICT);
ini_set('display_errors', true);
Setting the display_errors directive using ini_set() is no good for
fatal errors. You should change the ini file or set it from an apache
config file.
Tony.
Joó Ádám wrote:
It was already there, but I've qouted the value... :$
Thank you, Matthew!
Ádám
On 7/30/07, Matthew Weier O'Phinney
-- Tony Harrison [EMAIL PROTECTED] wrote
(on Monday, 30 July 2007, 05:22 PM +0100):
Setting the display_errors directive using ini_set() is no good for fatal
errors. You should change the ini file or set it from an apache config file.
Um, yes, it *will* display fatal errors, so long as it is
Dear Zend Framework Development Team,
I am trying to use Zend Studio 5.5.0 IDE to Debug the demo codes
(ZFGridDemo) from zend.com/webinar. Following error message show up when
I try to execute following statement from zfgrid/document_root/index.php
file:
$db = Zend_Db::factory(
please see
http://framework.zend.com/wiki/display/ZFPROP/Zend_Session_SaveHandler_Db
Jordan
Hi all,
I've been trying to get ranged queries to work, but unfortunatly with
little success.
When I have the following query:
published:1995
It successfully lists all books from 1995.
But when I have a ranged query it returns 0 hits:
published:[1995 TO 1997]
What could be the problem?
Not if it is an error during compilation (I think)
On Monday 30 July 2007 17:51, Matthew Weier O'Phinney wrote:
-- Tony Harrison [EMAIL PROTECTED] wrote
(on Monday, 30 July 2007, 05:22 PM +0100):
Setting the display_errors directive using ini_set() is no good for fatal
errors. You should
Of course, but parse errors won't, regardless of where it's called.
Matthew Weier O'Phinney wrote:
-- Tony Harrison [EMAIL PROTECTED] wrote
(on Monday, 30 July 2007, 05:22 PM +0100):
Setting the display_errors directive using ini_set() is no good for fatal
errors. You should change the
Hi Jurriën,
1. What is the result of:
-
echo Zend_Search_Lucene_Search_QueryParser::parse('published:[1995 TO
1997]')-rewrite($index)-__toString() . \n;
-
2. It looks like you set TextNum analyzer correctly, but nevertheless I should
ask. Did you set
Hi,
I've been using Zend with my projects since 0.7 and using a Smarty class
with the View to allow me to $this-view-render using the templates.
I've upgraded to Zend 1.0.0 and all my pages broke with a fatal error
message
*Fatal error*: Class Foo_View_Smarty contains 3 abstract methods and
I'm currently looking for a solution before putting together a proposal for a
currently non-existant class Zend_Controller_Router_Route_Immutable.
This would be a caching solution for routes that would allow you to define a
route as always having the same output for a given input and to cache
Hi Alexander,
The result of the echo is:
(published:1995 published:1996 published:1997)
Seems like two OR's are missing?
As for your second question: yes indeed, I set that analyzer as
default (for both indexing and searching).
On 30 Jul 2007, at 21:35, Alexander Veremyev wrote:
Hi
-- mbneto [EMAIL PROTECTED] wrote
(on Monday, 30 July 2007, 03:37 PM -0400):
I've been using Zend with my projects since 0.7 and using a Smarty class with
the View to allow me to $this-view-render using the templates.
I've upgraded to Zend 1.0.0 and all my pages broke with a fatal error
I think this is a great idea, and I imagine it would be best implemented
as a Controller plugin. By hooking the routeStartup() and
routeShutdown(), can you then set the isDispatched flag to not dispatch.
Then at dispatchLoopShutdown(), the response object can be populated
with the cache
Hi everyone,
It is my pleasure to announce the release of Zend Framework 1.0.1,
available now at http://framework.zend.com.
This mini release includes fixes for 33 issues since the 1.0.0 release
only a month ago. These issues are generally bug fixes and improvements,
though some feature
Usually Zend Debugger works fine for me, but I've run into some
strange problems like this too. Could never figure out what was
actually causing it though.
Once it happened when I extended Zend_Controller_Action. I got the
same 'Cannot redeclare class' error even when using
Hi there,
I am using ZF but I am facing problems in my production server. In my
development server everything is fine.
My
I am accessing a url foo.com/projectX/contact/chat but it always goes to
index/index.
My rewrite rule
RewriteEngine on
RewriteBase /projectX/
RewriteRule
It's sign-style notation.
'+' means 'required' term
'-' means prohibited
no sign means optional term.
So, rewrited query is OK
Next step. What is the result of:
-
echo Zend_Search_Lucene_Search_QueryParser::parse('published:[1995 TO
Hi Juan,
Could you give an example of your code?
With best regards,
Alexander Veremyev.
From: Juan Felipe Alvarez Saldarriaga
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 31, 2007 1:05 AM
To: fw-general@lists.zend.com
Hi Matthew,
Thanks for the prompt reply.
Please consider 'definitive' as 'a way to do what I need in a ZendFramework
way without having to wait for a new release' :)
After I posted the message I found another info about using Smarty and
ViewRenderer =
Yes, look, I create a class name Lucene who is extended to
Zend_Search_Lucene, so this is the action where I try to make the find, it's
not done yet, but thes is the base code:
public function searchAction()
{
// Load Lucene lib.
$objLucene = new Lucene( LUCENE_INDEX_PATH );
//
I found that range queries were not working on tokenized fields, at
least tokenized fields that were all numeric -- I used fields of
type keyword and then found that ranges were working.
Jeff Kolber
Lead Developer
Roubini Global Economics, LLC
131 Varick Street, Suite 1005
New York, NY
Fetching realted row should be something like this (if i'm not wrong)
?php
$bugsTable = new Bugs();
$bugsRowset= $bugsTable-fetchAll();
foreach ($bufRowset as $bug1) {
$reporter = $bug1-findParentAccounts();
}
?
My question is: Is there already somekind of function
I'm not sure I understand the question. There must be exactly one
parent row in the referenced table. So there's no reason to specify
anything about what parents are to be fetched. Either you want that
single row, or you don't.
Fetching dependent rows is another issue -- there can be zero,
I'm sorry ... I'll try to explain it a bit better.
Let's say we have table NEWS with fields id, title, content, rel_author_id,
rel_category_id.
So fetching all news would look something like this:
?php
$news = new News();
$newsRowset = $news-fetchAll();
?
Now every news has author, who's
Thanks Darby and all the rest for getting this out the door!
-Original Message-
From: Darby Felton [mailto:[EMAIL PROTECTED]
Sent: Monday, July 30, 2007 1:14 PM
To: [EMAIL PROTECTED]; fw-general@lists.zend.com
Subject: [fw-general] Zend Framework 1.0.1 released
Hi everyone,
Hi, im very new here, is there a PEAR like installer to run the update
or does it have to be overwritten all the time ?
Andi Gutmans wrote:
Thanks Darby and all the rest for getting this out the door!
-Original Message-
From: Darby Felton [mailto:[EMAIL PROTECTED]
Sent: Monday,
Hi there, i seem to be having a problem with a session namespace
problem, and non cookie and cookie sessions. Basically Im going to a
check action on the script which has a temporary session attached like
/index/check?client=502850935809325825039523, when I check that the
session is active
Hi Jeff,
Please don't forget set TextNumeric analyzer as default before indexing and
search:
-
Zend_Search_Lucene_Analysis_Analyzer::setDefault(new
Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum_CaseInsensitive());
With best
40 matches
Mail list logo