[fw-general] Maximum execution time and Zend Framework

2007-08-20 Thread Dinh
Maximum execution time is a common fatal error in PHP. I wonder if there is any way to catch the type of error and replace its message with more friendly and less sensitive one in Zend Framework. I feel that it is impossible at this time due to the limitation in PHP because the compiler halted afte

[fw-general] Why this error occurre when i use url-rewrite

2007-08-20 Thread 张心灵
I wan't deploy my work which was based on Zend Framework 1.0,if i use url-rewrite just like the manual,i must encounter a internal error in apache! If the .htaccess is like this: RewriteEngine on RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php The result must be like this: Internal Server Er

RE: [fw-general] Zend_Db_Table_Abstract bug?

2007-08-20 Thread Bill Karwin
Okay, I see what's going on. The declaration of Zend_Db_Table_Abstract::find() is as follows: /* * @param mixed The value(s) of the primary key. * @return Zend_Db_Table_Rowset_Abstract Row(s) matching the criteria. * @throws Zend_Db_Table_Exception

[fw-general] Problems setting up RewriteEngine

2007-08-20 Thread TravisJ
I've been having trouble setting up my server so that I can have a public directory that is not affected by mod_rewrite. the relevant file structure is: .htaccess /app/ /lib/ /www/ /www/index.php /public/ /public/.htaccess the base directory .htaccess has: RewriteEngine on RewriteRule .* www/in

RE: [fw-general] Dependant Rowsets in Zend_Db

2007-08-20 Thread Bill Karwin
Image is a parent of ImageGallery; ImageGallery is a dependent of Image. You need to use findParentRow('Image'). Regards, Bill Karwin > -Original Message- > From: Jamie Learmonth [mailto:[EMAIL PROTECTED] > Sent: Sunday, August 19, 2007 6:01 AM > To: fw-general@lists.zend.com > Subject

[fw-general] Changes to the HTTP Socket adapter

2007-08-20 Thread Shahar Evron
Hi all, I've just committed a patch proposed by Alex Adriaanse that allows us to support stream context for the HTTP connection. You can now set an SSL certificate for HTTPS connections. This does not break any APIs, but it is relatively a big change because we no longer use fsockopen() etc. but

[fw-general] Zend_Db_Table_Abstract bug?

2007-08-20 Thread cbijlsma
I have a class that extends Zend_Db_Table_Abstract. Just before calling the parent::__construct() method, I make a call to Zend_Server_Reflection::reflectClass(get_class($this)). When I do so, I get a fatal error: Fatal error: Call to a member function isOptional() on a non-object in /opt/zf/lib

Re: [fw-general] Beginner demo - feed reader

2007-08-20 Thread Markus Wolff
Am Montag, den 20.08.2007, 07:44 -0700 schrieb kabel: > Similar problem here with $item->link(). For podcasts, the iTunes > namespace seems to either overwrite or cause the same array issue as > previously stated. > > I find myself using the firstChild->data of the DOM Element, which I'm > fairly

Re: [fw-general] Beginner demo - feed reader

2007-08-20 Thread kabel
> The problem is when you don't know in advance which feed you will be > consuming. If the goal is to just type in an arbitrary feed URL, you > currently have no way of ensuring your code will work with all thinkable > feed types. I'm not asking for something that will always work as > intended - j

Re: [fw-general] "make check" errors in English Documents

2007-08-20 Thread Matthew Weier O'Phinney
-- Jason Qi <[EMAIL PROTECTED]> wrote (on Sunday, 19 August 2007, 12:02 PM -0700): > I found in these 4 files, in the first line, there is > a extra stuff of > "xmlns:xi="http://www.w3.org/2003/XInclude"; > > so that it looks like > > xmlns:xi="http://www.w3.org/2003/XInclude";> > > But others

Re: [fw-general] Beginner demo - feed reader

2007-08-20 Thread Markus Wolff
Am Montag, den 20.08.2007, 13:46 +0200 schrieb Markus Wolff: > Here's an example feed that doesn't work too well with Zend_Feed: > http://toyflish.de/service/feed.php > > When you iterate through the feed items and try to access $item->title() > or $item->description(), what you'll get instead of

Re: [fw-general] geeting last inserted id

2007-08-20 Thread Jamie Learmonth
Jijo ha scritto: hi , can anybody help me how to get last inserted id from database.I have used lastInsertId() method.But its not working Regards, Jijo Anthony. It gets returned by your $db->insert(); if your primary key is set correctly. Jamie Learmonth Lead Developer [EMAIL PROTECTE

[fw-general] Dependant Rowsets in Zend_Db

2007-08-20 Thread Jamie Learmonth
Hi all, I am trying to use the dependantRowSet functionality of Zend_Db in order to retrieve a Rowset from a second table liked by a foreign key constraint. Below is some test code which I have knocked up to achieve this, but Zend_Db is throwing an Exception of 'No reference from table Image

Re: [fw-general] Beginner demo - feed reader

2007-08-20 Thread Markus Wolff
Am Montag, den 20.08.2007, 14:07 +0200 schrieb till: > > When you iterate through the feed items and try to access $item->title() > > or $item->description(), what you'll get instead of the expected string > > is an array with two DOMElement objects. The reason being, that there > > are two of thes

Re: [fw-general] Beginner demo - feed reader

2007-08-20 Thread till
On 8/20/07, Markus Wolff <[EMAIL PROTECTED]> wrote: > Am Samstag, den 14.07.2007, 12:38 +0200 schrieb Andries Seutens: > > Hi all, > > > > I have written a small demo app for those of you looking for a quick > > start with Zend Framework. > > > > You can view, and download the demo at: > > http://a

Re: [fw-general] Beginner demo - feed reader

2007-08-20 Thread Andries Seutens
Hello Markus, I fully agree with you, and I think that it would be a nice feature request to allow Zend_Feed to auto-recognize a given feed format. This way you would not have to write tons of if statements as you have indicated. I did not want to include this into my demo, because it would

Re: [fw-general] Beginner demo - feed reader

2007-08-20 Thread Markus Wolff
Am Samstag, den 14.07.2007, 12:38 +0200 schrieb Andries Seutens: > Hi all, > > I have written a small demo app for those of you looking for a quick > start with Zend Framework. > > You can view, and download the demo at: > http://andries.systray.be/zf-demos/feed-reader/ Hi Andries, just like y

Re: [fw-general] geeting last inserted id

2007-08-20 Thread Andries Seutens
Jijo schreef: hi , can anybody help me how to get last inserted id from database.I have used lastInsertId() method.But its not working Regards, Jijo Anthony. Hi, If your table is defined with an auto-incrementing primary key, you can call the |lastInsertId()| method after the insert.

[fw-general] geeting last inserted id

2007-08-20 Thread Jijo
hi , can anybody help me how to get last inserted id from database.I have used lastInsertId() method.But its not working Regards, Jijo Anthony. -- View this message in context: http://www.nabble.com/geeting-last-inserted-id-tf4297922s16154.html#a12233309 Sent from the Zend Framework mailing