Hello,
From the manual
(http://framework.zend.com/manual/en/zend.db.table.row.html):
"Next, retrieve one record from the database using Zend_Db_Table::find()
with a single key, or by using Zend_Db_Table::fetchRow(). The returned
result will be a Zend_Db_Table_Row object where each property in
Hi Alex,
If you're trying to validate data like your name using
Zend_Validate_Alpha, you may want to try and set PHP's locale to German
using setlocale() if it's not already done.
Regards,
Guillaume
Lx a écrit :
Simon R Jones schrieb:
Hi Alexander,
Some domain names have been set up to
--- Wojtek Andruszkiewicz <[EMAIL PROTECTED]> wrote:
>
> Hello,
> i'm using ZF version 0.9.1 and i have problems with connect to mysql
> database
> my code is:
>
>
> $params = array('host' => '',
> 'username' => 'xxx',
> 'password' => 'xxx',
> 'dbname' => 'xxx');
> $db = Zend_Db
> -Original Message-
> From: Wojtek Andruszkiewicz [mailto:[EMAIL PROTECTED]
> Fatal error: Call to a member function execute() on a non-object in
> /www/zend/lib/Zend/Db/Adapter/Abstract.php on line 153
>
> so, the connection, and the query seems to be ok.
> PDO library probably is instal
Now i have something like this:
'xxx',
'username' => 'xxx',
'password' => 'xxx',
'dbname' => 'xxx');
mysql_connect($params['host'], $params['username'], $params['password']);
mysql_select_db($params['dbname']);
$sql=mysql_query("SELECT * FROM tblmieszkania");
echo mysql
Possibilities include that the connection is failing for some reason
(database not reachable, wrong user/password, etc.) or that the
statement "SELECT * FROM tablea" is failing (table doesn't exist, user
has no privileges to that table, etc.).
Actually because the error is on a line calling $db->e
Hi,
I'm using Zend_Acl for a community site. I would like to
use a lazy loading for access right because number of acl
is too big, and acl already loaded are saved in session.
When the user arrives on a new page, I load some new roles
and I want to add the current user as a child of some of thes
Hello,
i'm using ZF version 0.9.1 and i have problems with connect to mysql
database
my code is:
$params = array('host' => '',
'username' => 'xxx',
'password' => 'xxx',
'dbname' => 'xxx');
$db = Zend_Db::factory('PDO_MYSQL', $params);
Zend_Registry::set('db', $db);
Zend_Db_Table
Trying to open an index twice in the same script causes an error when
adding a new document.
1. open index
2. delete doc from index
3. commit change
4. unset index
5. open index
6. add new document
7. commit change
At step 6 the script terminates abrubtly
Arnaud,
I ran into the same thing. I opened an issue for this
http://framework.zend.com/issues/browse/ZF-1146.
Jim
Arnaud Limbourg wrote:
>
> Hi all,
>
> When using the form helpers I noticed that passing an attribute of
> readonly => readonly effectively disables (in the framework sense)
Simon R Jones schrieb:
Hi Alexander,
Some domain names have been set up to accept international characters, DE
domains being one of them. More info on how to use it is on
http://framework.zend.com/manual/en/zend.validate.validating_hostnames.html
However, there have been reports of it not wor
Hi Alexander,
Some domain names have been set up to accept international characters, DE
domains being one of them. More info on how to use it is on
http://framework.zend.com/manual/en/zend.validate.validating_hostnames.html
However, there have been reports of it not working reliably for some pe
Hello,
I have chosen to override Zend_Controller_Action. My template structure
is as follows:
/templates
/default
/blog
archive.html
post.html
...
/news
archive.html
post.html
...
blog.html
news.html
template.html
When i call *_Action:
Hello together,
i try to get Zend_Validate to work with german umlauts,
but they are not recognized as normal Alpha chars?
Also I couldn´t find any solution using regex to validate.
does any one know of a solution?
Greatly appreciated,
Alexander Jäger
-- Kevin McArthur <[EMAIL PROTECTED]> wrote
(on Tuesday, 27 March 2007, 10:22 AM -0700):
> Isn't that crossing the view/controller relationship boundary a bit. Would
> it not be more correct to subclass Zend_View to provide $this->module and
> $this->controller if you were going to take that appr
Isn't that crossing the view/controller relationship boundary a bit. Would
it not be more correct to subclass Zend_View to provide $this->module and
$this->controller if you were going to take that approach?
If you're going to create an engine view, maybe create an engine model to
interact wit
-- Greg Neustaetter <[EMAIL PROTECTED]> wrote
(on Tuesday, 27 March 2007, 08:14 AM -0700):
> The problem I see with an approach like this is that the view is tied very
> closely with the controller. Should the controller have any idea about which
> javascript files need to be included on a particu
The problem I see with an approach like this is that the view is tied very
closely with the controller. Should the controller have any idea about
which javascript files need to be included on a particular page? Finding a
solution that minimizes the amount of common code that has to be placed in
http://www.nabble.com/Layout-templates-tf3432215s16154.html
--
View this message in context:
http://www.nabble.com/Controller-and-View-Question-tf3462561s16154.html#a9694397
Sent from the Zend Framework mailing list archive at Nabble.com.
-- Dale McNeill <[EMAIL PROTECTED]> wrote
(on Tuesday, 27 March 2007, 09:19 AM -0500):
> I've got some CSS and javascript that I would like to dynamically add to
> the HTML header depending on the controller/action. I would like to be
> able to append information like appending to the response b
I've got some CSS and javascript that I would like to dynamically add to
the HTML header depending on the controller/action. I would like to be
able to append information like appending to the response body. Then
use this information in a site wide template. The only solution that
comes to m
I was digging through Zend_Session_* code and i noticed that while
Zend_Session_Abstract defines methods to access the "low level"
data store $_SESSION array, Zend_Session and Zend_Session_Namespace
which inherit from Zend_Session_Abstract use $_SESSION directly as well.
Shouldnt stuff like
if (!i
Hi,
I'm using Zend_Acl for a community site. I would like to
use a lazy loading for access right because number of acl
is too big. acl already loaded are saved in session.
When the user arrives on a new page, I load some new roles
and I want to add the current user as a child of some of these
ne
23 matches
Mail list logo