Sorry, but there is something completly wrong.
According to PHP manual the $_FILES array has to have the values:
'name', 'type', 'size', 'tmp_name' and 'error'
As your $_FILES array has no 'tmp_name', no 'name' and no 'error'. 'type'
and 'size' are not used by the file component.
PHP itself sa
Thanks for the responses.
Still a bit stuck. I haven't used the capture helpers, so its very new to
me. Still working on my first ZF app. It seems to be a quick learning
curve,but there is so much to learn.
I have this section in the header.phtml file, in the layouts directory. The
current and s
Hi Thomas,
Thank you for your quick reply.
I downloaded 1.7 and use it currently.
Secondly i'm new to PHP (saw my first code two weeks ago)
Basically what i try to do is upload a file (perhaps at first even without
validation) and i'm not been able to do that so far.
The reason i added the valid
i cant provide a link it is on my localhost :(
However, i cant get it working..
--
View this message in context:
http://www.nabble.com/Question-about-zend-pagination-tp20543032p20547855.html
Sent from the Zend Framework mailing list archive at Nabble.com.
-- S. Alexandre Lemaire <[EMAIL PROTECTED]> wrote
(on Monday, 17 November 2008, 01:26 PM -0500):
> There a webdav-server implementation available for Zend_Framework?
No.
--
Matthew Weier O'Phinney
Software Architect | [EMAIL PROTECTED]
Zend Framework | http://framework.zend.com/
Hi,
I don't understand how this TwoLevels cache should work and I see some odd
results quick tests.
Is that it will use fast cache for untagged entries, and slow for tagged
entries? Cuz sometimes I see both entries in APC and in SQLite
Sometimes I see it only in SQLite.
With the "two lev
Can you provide a link?
I am not using Zend_View but a smarty solution.
When you dump $paginator, do you have the correct results? So only the
necessary amount of rows?
Are you sure $page is filled?
Kinda like:
$page = 1;
if($this->_getParam('page ')){
$page = $this->_g
There a webdav-server implementation available for Zend_Framework?
Thanks
Alex
Thank you for swift replay :)
Now i went with this:
$page = $this->_request->getParam('page') ;
$db = Zend_Registry::get ( 'db' );
$select = $db->select ()
->from ( 'banners', array ('bannerurl',
'height', 'width', '
$paginator = Zend_Paginator::factory($select);
$select has to be an instance of Zend_Db_Select
Build your query with Zend_Db_Select and it shoud work
$select = $this->db->select()
->from(array('a' => 'banners '), array('*'))
->where('active = ?', 'y')
->where('progra
First:
Please use 1.7 and not 1.7PR. There has really much changed since the past
releases.
Second:
You should validate your input before receiving the files.
Otherwise the receivment will fail because you can not receive files which
fail validation.
What should be the reason for adding a vali
Try not to pass the total $result array. Let paginator execute the query.
$paginator = Zend_Paginator::factory($select);
$paginator->setItemCountPerPage(10);
$paginator->setCurrentPageNumber($page);
$paginator->setPageRange(10);
$paginator->setDefaultScrollingSt
I have a problem with zend pagination.
In my controller i have this:
$result = $db->fetchAll ( $sql );
$page = $this->_getParam ( 'page', 1 );
$paginator = Zend_Paginator::factory ( $result );
$paginator->setItemCountPerPage ( 2 );
Excellent, thank you :-)
For the future could the ignore option accept an array of values i.e.
multiple directories?
Cheers,
- Robert
-Original Message-
From: Thomas Weidner [mailto:[EMAIL PROTECTED]
Sent: 17 November 2008 15:31
To: fw-general@lists.zend.com
Subject: Re: [fw-general]
With 1.7 the translation cache works file based and no longer translation
based. As normally you have multiple translation files, you will have one
cache for each translation file. So, having more cache files is no problem
but wished behaviour.
This has a performance benefit for translation.
-- Ace Paul <[EMAIL PROTECTED]> wrote
(on Monday, 17 November 2008, 07:12 AM -0800):
> Is there a way that I can set a tab to have a class such as active from the
> controller?
>
> So that the active tab would show as a different style?
> I know that this can be done with javascript, but I would l
You could give each nav element an id and then just capture a little
Css style in the view with help from the cature helper methods, the Id
would be set to the current nav item from the Controller of the
current page:
In controller:
$this->view->navactive = 'idofnavlink'
In view:
#$this->n
Is there a way that I can set a tab to have a class such as active from the
controller?
So that the active tab would show as a different style?
I know that this can be done with javascript, but I would like to know if it
can be done within Zend framework for ease of use.
thanks for any help
--
Zend Framework 1.7.0 is now available from the Zend Framework download
site: http://framework.zend.com/download/latest
This release introduces many new components and features, including:
* Zend_Amf with support for AMF0 and AMF3 protocols
* Dojo Toolkit 1.2.1
* Support for dijit editor availabl
Hi Matthew,
This has always been the case. Running with ZF 1.6.2 this does not happen
and Zend_Translate + Cache ignores CVS files and directories.
This is my directory under ZF 1.6.2:
17/11/2008 13:3999
zend_cache---internal-metadatas---Magik_Zend_Translate_Csv
17/11/2008 13:
-- Robert Castley <[EMAIL PROTECTED]> wrote
(on Monday, 17 November 2008, 12:09 PM -):
> Hi,
>
> I am just wondering why with the 1.7 release does Zend_Translate (with
> caching)
> create so many cache files now?
>
> Previously (in 1.6.x) there were only two cache files created now I have
Hi,
I am just wondering why with the 1.7 release does Zend_Translate (with
caching) create so many cache files now?
Previously (in 1.6.x) there were only two cache files created now I have all
these, nothing has change in my code, just an installed of 1.7.
17/11/2008 12:0598
On Fri, Nov 14, 2008 at 18:25, Benjamin Eberlei <[EMAIL PROTECTED]> wrote:
> Hello Pawel,
>
> To fix this you have to hack your Zend_Json output with preg_replace
> somehow to
> strip the " around the pager: value.
Maybe good idea is do it like in Zend_Db. If it is in parentheses it would
be str
So, can anyone explain, confirm or deny things I wrote in my post?
ty
agatone wrote:
>
> Hello,
>
> I'm sorry for replying to older post but I need to clear some things.
>
> I don't understand how this TwoLevels cache should work and I see some odd
> results quick tests.
> Is that it will use
Hi,
I want to upload several pictures, and i try to use the
Zend_Form_Element_File.
These are the error messages i get:
Notice: Undefined index: tmp_name in
/library/Zend/File/Transfer/Adapter/Abstract.php on line 577
Warning: Invalid argument supplied for foreach() in
/library/Zend/Validate/Fil
25 matches
Mail list logo