It doesn't work with 5.2.1, too :)
Since I migrated to 5.2.5 it works fine.
But I have to agree with Simon, because in the Zend_Form.php it's also an
array which stores the attributes! So why to build two different solutions
for the same problem?
Best regards
--
View this message in context:
On 21 Jan 2008, at 22:50, Ralph Schindler wrote:
Hey everyone,
Its awesome to be on-board! I am pretty excited that I will be able
to
contribute to this project on a full time basis as I've always had
more
ideas than time.
I took a pretty nice vacation last week in the Caribbean (which
Hi there,
I have been playing with Zend_Feed since yesterday. I finally managed to
create my first rss feed. I have on problem though. This is how I
convert mysql datetime to rss date time
$newstime = $thisProduct-addDate;
list($date, $hours) = split(' ', $newstime);
I'm not sure what kind of problem the Zend Feed
component can confront when dealing with your code,
but if I may, you can extract the date as a Unix
timestamp directly from MySQL using it's built-in
function:
UNIX_TIMESTAMP(date),
then format it in PHP with a simple:
date('r',
Thanks for the quick reply Ionut,
Unfortunately I cannot the SQL which retrieves the data. So I cannot use
builtin mysql functions.
Thanks
b
Ionut Gabriel Stan wrote:
I'm not sure what kind of problem the Zend Feed
component can confront when dealing with your code,
but if I may, you can
Hello Bill,
Zend_Feed's date format expects a timestamp format. It will automaticly
convert it to the RFC format. So instead of providing a string date,
provide a timestamp, like so:
$feedData = array(
'title' = 'title of the feed',
'link'= 'canonical url to the feed',
Another thing, the key for publication date is published and not
pudDate. So use:
$feedData = array(
'title' = 'title of the feed',
'link'= 'canonical url to the feed',
'lastUpdate' = mktime(1, 1, 1, 1, 1, 2007),
'charset' = 'utf-8',
'published' =
See my posted code sample, works fine as is.
Best,
Andriesss
Bill YILDIRIM schreef:
Andries,
I have changed the code like this
list($date, $hours) = split(' ', $newstime);
list($year,$month,$day) = split('-',$date);
list($hour,$min,$sec) =
On Jan 26, 2008 1:05 PM, Bill YILDIRIM [EMAIL PROTECTED] wrote:
Andries,
I have changed the code like this
list($date, $hours) = split(' ', $newstime);
list($year,$month,$day) = split('-',$date);
list($hour,$min,$sec) = split(':',$hours);
Andries,
I have changed the code like this
list($date, $hours) = split(' ', $newstime);
list($year,$month,$day) = split('-',$date);
list($hour,$min,$sec) = split(':',$hours);
*$date = mktime($hour, $min, $sec, $month, $day,
$year); *
I've reported exactly the same problem a few weeks ago – seems that in
the manual the wrong key is presented.
Ádám
Hi Wil,
I just downloaded the 1.5.0PR Version and get lots of errors with
Zend_Db_Select and Zend_Db_Table. I am not quite sure if this has to do
with my own extended Zend_DB_Table class of if this is a general problem.
This is the exception I get:
Zend_Db_Select_Exception: Invalid token
Hi Ralf - a LOT has changed!
How have you subclassed your Zend_Db_Table? Do you overwrite _setup or
generate your own select() 's? Feel free to contact me directly if you
want some help determining the cause of the errors.
Cheers
Hi Wil,
I just downloaded the 1.5.0PR Version and get
Hi all ZF guys,
for my current project, I decided to use ZF (btw. wonderful work, guys!).
It's rewrite of current app with some new features. Administration part is
not far from being complete right now, so I started thinking about front-end
part.
I don't have current stats, however, about half
-- Simon Mundy [EMAIL PROTECTED] wrote
(on Saturday, 26 January 2008, 02:57 PM +1100):
Would it be possible to identity form elements passed to a display group
either as strings or as the elements themselves? I'm trying to do the
following:-
(Where each variable is an already-added instance
-- dinok [EMAIL PROTECTED] wrote
(on Saturday, 26 January 2008, 02:31 AM -0800):
It doesn't work with 5.2.1, too :)
Since I migrated to 5.2.5 it works fine.
But I have to agree with Simon, because in the Zend_Form.php it's also an
array which stores the attributes! So why to build two
Look at APC Cache system it's mandatory for me with ZF.
http://www.php.net/apc
Regards,
Le samedi 26 janvier 2008, Nogyara a écrit :
Hi all ZF guys,
for my current project, I decided to use ZF (btw. wonderful work, guys!).
It's rewrite of current app with some new features. Administration
Hi Simon,
thanks for your help. I already sent you some private messages but was
not able to solve my problems yet. I am really afraid the 1.5 release
breaks all my model classes.
The main reason for this is the fact that I extended Zend_Db_Table at a
very early stage more than a year ago when
But you're not using the mvc part of zend framework, are you? I'm wondering
how you would archive more than 125 requests / second on each node while
using the mvc part.
Best regards,
Daniel
-Original Message-
From: Hervé Piedvache [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 26,
Ralf,
Can you please post code which worked before and doesn't now? Please cut
it down to the shortest reproducing case.
Thanks.
Andi
-Original Message-
From: Ralf Eggert [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 26, 2008 8:38 AM
To: Zend Framework General
Subject: Re:
Yep mananing 2 big services all in ZF one with 6 web servers and the other
with 2 web servers and I have most of the time 1000 requests per seconds with
APC and memcache ;o)
Le samedi 26 janvier 2008, Nogyara a écrit :
Perfect, thanks for your tips, I'll use APC as Zend_Cache backend then.
Hi Andi,
it took me already half the day to track it down to this current
problem. I already fixed other issues but whenever I fix one issue the
next problem occurs.
Basically, I implemented a feature to add some joins without using the
Zend_Db_Table relationship feature, simple because this
On Jan 26, 2008 2:33 PM, Joó Ádám [EMAIL PROTECTED] wrote:
I've reported exactly the same problem a few weeks ago – seems that in
the manual the wrong key is presented.
If in doubt, scroll down to private function _createEntries(array
$data) at the url (1) and I only see lastUpdate in there. So
Impressive numbrers, even 125 req/sec is much more than I hoped, because ZF
loads and uses quite a lot of files for any request.. APC must be really
powerful
Thanks for all your experiences sharing
Best regards
Daniel Freudenberger wrote:
But you're not using the mvc part of zend
-- Nogyara [EMAIL PROTECTED] wrote
(on Saturday, 26 January 2008, 12:25 PM -0800):
Impressive numbrers, even 125 req/sec is much more than I hoped, because ZF
loads and uses quite a lot of files for any request.. APC must be really
powerful
APC and other opcode caches (Zend Platform,
Hi Ralf
By default an 'integrity check' is performed on the select object to
prevent joins. But you can manually override this:-
protected function _fetch(Zend_Db_Table_Select $select)
{
// extend select
$select-setIntegrityCheck(false);
$select =
Hi Matthew
OK, using your sample form to illustrate my request:-
$form-addElements(array(
'username' = 'text',
'password' = 'password',
'fullname' = 'text',
'email'= 'text',
'address' = 'text',
'postal' = 'text',
commercial ad so don't read on if you prefer not to :)
You may also want to take a look at Zend Platform 3.6 which we just released
(http://www.zend.com/en/products/platform/) besides byte-code-caching it also
has a lot of additional scalability features including easy to configure
URL-based
Hi,
Judging by the emails it looks like quite a few people on this list have
some high-volume public Web sites built on ZF.
We are always interested in hearing your stories and when possible
exposing them by writing a case study
(http://framework.zend.com/whyzf/casestudies/) or in some other
Hi there,
Although Michał fixed the issue that prevented to omit a root level
from Zend_Config_Ini, addConfig() still requires a segment to be
specified. However it doesn't make sense to have a segment for routes
if you have a config file only for them. Should I post an issue in
Jira to fix this?
thanx for the work on 1.5!
slight problem i have: all camel-cased view scripts throw execptions:
Fatal error: Uncaught exception 'Zend_View_Exception' with message 'script
'user/list-data.phtml' not found in path.
the view script is called listData.ptml - worked in 1.0.3.
changing it to
I just wanted to chime in here with the what's in it for me? angle.
Lots of exposure to your site for minimal effort- maybe a few hours of
one person's time at most. And obviously the more sites deployed on
framework, the better quality the software will be. And it's a great way
to get out of your
32 matches
Mail list logo