Hi,
setFromArray does not returns object. You can use
$annonce_test = $annonce->fetchNew();
$annonce_test->setFromArray($_POST['annonce']);
Sincerely,
On 4/13/07, Yann Nave <[EMAIL PROTECTED]> wrote:
Hye everybody,
Having this code with ZF 0.0.2beta
$annonce = new annonce();
Hey,
I'm getting only one mail. It seems that everything is Ok.
Sincerely,
On 4/13/07, Markus Wolff <[EMAIL PROTECTED]> wrote:
Hey there,
am I the only one getting almost every mail multiple times? It's been
going on for the past two weeks or so I think... I didn't mind a lot as
long as I go
typo:
Zend_Controller_Front::getInstance()->getRouter()->addRoute('RouteName', new
Zend_Controller_Router_Route('/dir1/:parameterName', array('action' =>
'action', 'controller' => 'dir1')));
On 4/10/07, Alexander Netkach
Greetings,
You need to specify a custom route for this as follows:
Zend_Controller_Front::->getRouter()->addRoute('RouteName', new
Zend_Controller_Router_Route('/dir1/:parameterName', array('action' =>
'action', 'controller' => 'dir1')));
and then you can get the parameter in the action by using
How it is going:
1. {Zend_Auth}->authenticate($adapter);
2. in Zend_Auth::authenticate():
$this->getStorage()->write($result->getIdentity());
3. in Zend_Auth_Storage_Session::write():
$this->_session->{$this->_member} = $contents;
4. in Zend_Session_Namespace::__set():
$name = (string) $n
Thank you!
But where the question arise:
authenticate($adapter) then saves the identity in the storage and default
storage is session-based storage. This storage accepts only strings, as I
understand. So before the example below can work I should change the storage
too?
Sincerely,
On 4/10/07,
Thank you, that clarifies a lot!
However, I would like to know where you changed the identity of Zend_Auth?
E.g. what makes
$this->_auth->getIdentity()->getUser()->role;
possible?
I think that $identity->setUser(...) means that you use some class to store
identity-related information. Do use your
Hi,
I'm implementing Zend_Auth scheme and do not understand what is the best way
to store role of the user.
My scheme is based on http://devzone.zend.com/node/view/id/1665 (which seems
broken now because last code fragment is incomplete) and I want to store
user's identity and all associated inf
Hi,
Is there any action planned or taken because of the following?
Thanks,
On 4/3/07, Alexander Netkachev <[EMAIL PROTECTED]> wrote:
Hi,
I think it should be something similar to the following:
appendChild($doc->createElement('feed'));
$feed->setAttribute('xmlns&
Hi,
Please look at this tread:
http://www.nabble.com/Any-idea-how-to-have-PDO%3A%3AATTR_PERSISTENT-%3D%3E-true-tf2707756.html#a7550717
Sincerely,
On 4/9/07, mreverman <[EMAIL PROTECTED]> wrote:
The application that i have developed would benefit from making persistent
connections to my MYSQ
Maybe off-topic, but:
I so many times have seen that one schema is better for SE then another but
they are all different :-)
When it is obvious that using query sting is less SE-friendly then using
:module/:controller/:action/ ... params ..., it is quite hard for me to
understand why
/descriptive-
Hi,
I believe there are two issues here:
1. How application updates the database with the data.
2. How application makes the search.
PHP does nothing with the data you entered and sends it into the database
just as you typed them into the text field. If you have some parameter the
"echo"-ing thi
Hi,
For me it looks like:
1. Portability. The SQL generation depends on the data adapter used. So,
when you change database of your app from MySQL to MS SQL you probably will
not change anything in your selects.
2. Manageability. Just what Bill has wrote about. I've used such technique
for buildi
Hello,
On 4/8/07, Martin Hujer <[EMAIL PROTECTED]> wrote:
Hello,
I think, that func_get_arg(0) always return '', because _run() doesn't
have
any argument.
func_get_arg(0) returns just the first argument function is called with
even if there are no parameters.
Martin Hujer
Cristian Bi
Hi,
Your rewrite rules are quite uncommon.
Could you please try the following:
RewriteEngine on
RewriteBase /~myuser/myproject
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
and set
Zend_Controller_Front::getInstance()->setBaseUrl('/~myuser/myproject');
Sincerely,
On 4/8/07, mbneto <[EMAI
Hello,
On 4/8/07, Maurice Fonk <[EMAIL PROTECTED]> wrote:
Hello,
During my daily feed-reading I came across an interesting bit of
javascript-magic called 'Jester' at
http://giantrobots.thoughtbot.com/2007/4/2/jester-javascriptian-rest .
It deals with using RoR ActiveRecords in javascript, usin
returns
http://www.w3.org/2005/Atom";>
http://www.w3.org/1999/xhtml";>
testtest
BTW, Atom format supports different types of content, not only html/xhtml.
Of course, it is not required to support it right now, but API can accept
type as one of {html|xhtml|MIME TYPE}, not as boolea
the test:
$feedArray = array(
'title' => $blog['title'],
'link' => MYSPHERE_URL . '/blog/' . $id . '/atom',
'lastUpdate' => $feedUpdateDate,
'charset' =>
sue has been created here:
> http://framework.zend.com/issues/browse/ZF-1183
> Thanks for the report!
>
> Olivier
>
> Le lundi 2 avril 2007, Alexander Netkachev a écrit :
> > Hi,
> >
> > Currently feed sets all entry updated time to current time.
> >
&g
Hi,
Currently feed sets all entry updated time to current time.
273$updated = isset($array->lastUpdate) ? $array->lastUpdate :
time();
should be
273$updated = isset($dataentry->lastUpdate) ?
$dataentry->lastUpdate : time();
array -> dataentry
?
Sincerely,
--
Alexander
help in this case because
= <div<</div>
and it is incorrect format of the atom feed.
Check the following feed:
http://www.w3.org/2005/Atom";>
2006-07-20T20:07:00Z
Alexander Netkachev
http://alexatnet.com/blog/2
using the http://validator.w3.org/feed/.
It says that "Miss
Hi,
Are there any plans to support XHTML atom content type like
<...>...entry content
here...<...>
?
I have my content in XHTML with all those , etc and that
leaves me only three options for now:
1. Extend Zend_Feed_Atom and change _mapFeedEntries() or use another method
for similar functionali
BTW, in my CMS I'm using prototype.js and send result of an action execution
in JSON.
On 3/24/07, Alexander Netkachev <[EMAIL PROTECTED]> wrote:
Hello,
Consider this:
http://www.alexatnet.com/blog/2/2006/07/26/create-ajax-login-page-with-dojo-toolkit-and-zend-framework
Sincerel
Hello,
Consider this:
http://www.alexatnet.com/blog/2/2006/07/26/create-ajax-login-page-with-dojo-toolkit-and-zend-framework
Sincerely,
On 3/24/07, Kai Meder <[EMAIL PROTECTED]> wrote:
Hello,
first of all, 0.9.1 is a very nice release, congratulations.
i searched the mailinglist-archives bu
The :D and :p strings are threated as named parameters:
http://framework.zend.com/manual/en/zend.db.html#zend.db.adapter.queries
Sincerely,
On 3/23/07, Gerry CrsH Put <[EMAIL PROTECTED]> wrote:
Dear List,
I don't know if anyone had the same problem before but when I do an update
or insert qu
Hi,
1. Probably it is better to address this issue to the author of the
tutorial...
2. It would be nice to narrow down the problem and create example that shows
a problem and this example should be as small as possible.
Sincerely,
Alex
On 3/22/07, José de Menezes Soares Neto <[EMAIL PROTECTED]
Consider the following:
* Primitus application: http://framework.zend.com/wiki/x/hw0, now available
in SVN.
* http://akrabat.com/zend-framework-tutorial/
* External Resources - Tutorials, Articles, and Examples:
http://framework.zend.com/wiki/x/q
Sincerely,
On 3/22/07, José de Menezes Soares Net
Here is code from CMS of my site:
function errorHandler($errno, $errstr, $errfile, $errline) {
throw new Exception($errstr, $errno);
}
set_error_handler('errorHandler');
... skip initialization code
try {
$front->dispatch();
} catch (Exception $e) {
if
http://framework.zend.com/releases/ZendFramework-0.8.0.zip
On 3/22/07, José de Menezes Soares Neto <[EMAIL PROTECTED]> wrote:
Could someone send me the ZF 0.8.0?
I will start with it, cause there is no tutorial for ZF 0.9.0...
Best Regards,
José
--
Alexander
http://www.alexatnet.com/ -
On 3/21/07, Werner <[EMAIL PROTECTED]> wrote:
Hello, fellow ZF users
I ran into trouble with setControllerDirectory() when switching from
0.8.0 to 0.9.0Beta.
The following worked fine in 0.7.0 to 0.8.0:
$frontController->setControllerDirectory(
array(
'
On 3/19/07, Jude Aakjaer <[EMAIL PROTECTED]> wrote:
I'm not sure if this is a related issue or a different one, but using the
following code I cannot catch the failing exception
try {
$db = Zend_Db::factory($config->db->adaptor, array('host' =>
'localhost',
'username' =>'noexistant', '
On 3/18/07, fendtele83 <[EMAIL PROTECTED]> wrote:
I'm trying to setup the zend framework on the media temple grid server but
I'm having a problem. I keep getting the following error message
Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception'
with message 'Invalid controller s
On 3/17/07, ReynierPM <[EMAIL PROTECTED]> wrote:
Hi every one:
I'm newbiew using ZF so I'm asking if exists a tutorial, not a
documentation, for a fresh start. I'm looking in a ZF Site but can't find
any. I speak Spanish as native language so if any can help me ...
Cheers and thanks in advance
-
On 3/12/07, Kai Meder <[EMAIL PROTECTED]> wrote:
Michał Minicki wrote:
> Kai Meder <[EMAIL PROTECTED]> napisał(a):
>> is there any way that the a view-helper may access the view, in which
it
>> was executed?
>
> I was discussing this problem with Matthew some time ago and he agreed
to
> do it ev
On 3/12/07, Adler Medrado <[EMAIL PROTECTED]> wrote:
Hello all.
I don't know if this is the correct list to post this. If it is not, i am
sorry.
I've upgraded my app to the Zend Framework Previw to 0.8.0 and my app work
fine with the 0.7.0 version.
The source code is:
$frontController = Zend_C
On 3/9/07, Kyohere Luke <[EMAIL PROTECTED]> wrote:
Hello,
I'm using ZF 0.8.0 on windows with Sqlite version 3.3.7 and PHP 5.2.0.
I've tried everything to get ZF to successfully insert data into the
database but I keep getting the error:
*Fatal error *: Uncaught exception 'PDOException' with me
On 3/8/07, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:
-- Ian Warner <[EMAIL PROTECTED]> wrote
(on Thursday, 08 March 2007, 05:56 PM -):
> That would be why then :)
>
> Been pulling my hair out for quite a while to solve this.
>
> So it is basically not possible to do a COUNT(*) etc o
On 3/7/07, Olivier Revollat <[EMAIL PROTECTED]> wrote:
Hello, I've tryed to set magic_quotes_gpc to off within a .htaccess file
on my hosting but it's disable ... and I can't change php configuration for
security reasons ... does this configuration affect the framework ? and if
yes, in which way
Hi,
On 3/5/07, Adam Balgach <[EMAIL PROTECTED]> wrote:
I am trying to form the query:
Select firstname, lastname, email from table where user_id = 1
so when i do:
$select=$this->_db->select();
$select->from('table', 'table.firstname ');
$select->from('table', 'table.lastname');
Olivier Revollat wrote:
> I try to find a web hosting service who support Zend Framework (PHP5,
> mod_rewite, PDO ...)
> Do you have any idea ?
> Thanks
Host my projects on GoDaddy.com, economy linux hosting. It matches my needs
at 100%. I'm using: Zend Framework, mod_rewrite, PDO.
--
Alexande
On 3/1/07, Christopher Thompson <[EMAIL PROTECTED]> wrote:
I just did a quick survey to see what in Zend.php is used within the
framework. I note that Zend_Cache chose not to use Zend::loadClass. And
the controller code, which was the original user of this code, should
probably have its own spec
Phillip,
Check that you have file IndexController.php in
/home/roopgroup/application/Lead/controllers
and that the name of the class in it is Lead_IndexController.
Sincerely,
--
Alexander
http://www.alexatnet.com/
On 2/28/07, Phillip B. Roberts <[EMAIL PROTECTED]> wrote:
I apologize if I a
On 2/26/07, Kevin McArthur <[EMAIL PROTECTED]> wrote:
Bill,
> The benefit of this change is to simplify integration of a Zend
> Framework tree in an application tree. You could use svn externals, for
> instance.
This brings up the question on whether this is how we want to recommend
the
deplo
On 2/26/07, Shekar C Reddy <[EMAIL PROTECTED]> wrote:
Bill,
I guess this was discussed earlier and much desired. However, to work
around the exception, could we look into renaming the Zend class to
something like: Zend_Main or Zend_Public or Zend_Shared or Zend_Common or
Zend_General or Zend_Ba
On 2/25/07, Georg von der Howen <[EMAIL PROTECTED]> wrote:
I had a similar error when updating ZF to 0.8.0. The cause was that the
parameters for the Zend_Controller->_forward() method have changed from
0.7.0 to 0.8.0(is there actually a place where I can look up API changes
from one version to
On 2/25/07, Jakub Podhorský <[EMAIL PROTECTED]> wrote:
Hello,
Is there any way in Zend Framework how to determinate default controller
and action for each module?
Default controller is by default a controller called
_IndexController. So why to not put the logic of ArticleController
in it?
A
On 2/20/07, Кононов Руслан <[EMAIL PROTECTED]> wrote:
Hi, all.
in ZF 0.7 my query work fine, but not in 0.8rc1.
$select = $db->select();
$select->from('journal', array('journal_id','journal_group_id',
'journal_user_id', 'journal_title','journal_ts_add') );
$select->
47 matches
Mail list logo