Hi.
I have model which extends Zend_Db_Table_Abstract, and I'm inserting more
than 1 records in table using Zend_Db_Table_Abstract::insert() in one
foreach loop. I get Service Temporarily Unavailable 503 error. I profiled,
there is nothing wron with queries. For less than 7000 it works
Thesee pisze:
chrisweb wrote:
you could do it like this:
$stmt = $db-query('SELECT * FROM bugs LIMIT 100');
$rows = $stmt-fetchAll();
foreach ($rows as $row) {
$db-query('UPDATE bugs SET solved = 1 WHERE bug_id =
'.$row[bug_id']);
}
Thank you for answer,
I know I can
If you read my first post you can see that I used al type of Zend_Db methods,
first of all the Zend_Db_Statement
Thank you
Kamil N wrote:
Hi
You can use Zend_Db_Statement
http://framework.zend.com/manual/en/zend.db.statement.html
Example
$stmt = $db-query('SELECT * FROM
Op Wednesday 20 May 2009 17:58:58 schreef fire-eyed-boy:
Jurian Sluiman wrote:
snip
Hi,
I'd go for neither of these methods. Create models for Users, Videos and
Images and connect them together by using the relational features of
Db_Table.
Then call the getter for images only when
Op Friday 22 May 2009 17:11:50 schreef bytte:
Thanks Deanna. I was hoping to gain insight from other people's solutions
as well. Anyone?
I use almost the same method. I set a cookie with the id from
Zend_Session::getId(). In the db there is a table with prim. key the session
id. Also the user
Hi all,
I use the Zend_Navigation in my system. To point to the homepage, I use an
empty uri element. In the Zend_View_Helper_Navigation_Menu there is a
htmlify() method which resets the element to a span instead of an a tag.
It seems this isn't possible to setup with some option. Can this
'Twas brillig, and iceangel89 at 23/05/09 05:18 did gyre and gimble:
i am starting with creating a site that integrates with paypal. does zend
framework has any integration with paypal?
or is there any guides to help me get started? was looking in paypal sandbox
site ... still playing arnd
hmm i better wait for it to be more stable 1st shldnt play with payments ...
Colin Guthrie-6 wrote:
'Twas brillig, and iceangel89 at 23/05/09 05:18 did gyre and gimble:
i am starting with creating a site that integrates with paypal. does zend
framework has any integration with paypal?
Hi to all.
I have Zend framework app created by Zend Tool, with default project
structure. I use models, and my library, everithing is set up, autoload.. My
bootstrap file:
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap {
protected function _initAutoload() {
return new
hi,
sry but i need to resend this message, yesterday i hit the send button a few
times cause the nabble form did not respend, then i tried to delete the
messages, but unfortunately i deleted the whole thread, now i don't see
anymore if somebody sends a reply ... so sry for posting again, and if
Hello,
I have another problem related to the bootsrap, i have created a main
bootsrap which uses the db resource to setup database, then i created two
modules:
application
bootstrap (the application bootstrap)
-modules
--articles
---bootstrap (the articles module bootstrap)
--categories
'Twas brillig, and iceangel89 at 23/05/09 14:07 did gyre and gimble:
hmm i better wait for it to be more stable 1st shldnt play with payments ...
Well it needs people to use it and work with it for it to become stable :)
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day
chrisweb wrote:
If i open my browser and enter www.mysite.dev/admin/ (its a virtualhost on
my dev server), it opens show the form i have in my login action, the form
has an hash, but the session is empty, there is no hash in the session, so
if i click on the login button, the form
I don't know if anything else helped you, but this error happens when the
multipart encoding is not present. Set the encoding in the form tag and it
should solve your problem.
I don't think decorators matter but I may be wrong :P It did not matter for
the code I was looking at
Regards,
A
--
Sorry... my problems have been reported already, and even fixed here :
http://framework.zend.com/code/browse/Zend_Framework/standard/trunk/library/Zend/Db/Table/Abstract.php?r1=13554r2=15576
:)
Jérémy a écrit :
Hi,
I have a problem with autloading of row and rowset class in a
Zend_Db_Table
Hi,
I want to disable the view and layout when my application is runing in
console environnement.
I can disable them from the Action_Controller :
$this-_helper-layout-disableLayout();
$this-_helper-viewRenderer-setNoRender();
But how can I disable it directly from the bootstrap (for every
Hi all, I'm using ezcWorkflow in my application,
According to Sebastian Bergmann someone developed a storage
backend using Zend_Db for ezcWorkflow objects two years ago.
(http://www.slideshare.net/sebastian_bergmann/workflow-engine-for-php-5)
The slides are two years old as well. I've Googled
Hi,
I don't know how to do it from the bootstrap or from application.ini,
but you can call those lines of code to disable layout from your custom
controller action class.
The inconvenient of this solution is that all your controllers must exending
it...
Sergio Rinaudo
Date: Sat, 23 May
Chris,
I'm having problems with module configs too, but I'm guessing that your
function name should be _initRouter(). Are you seeing your error message
logged? If your logger is working, log your routes before you send them to
the router to verify they're being read properly.
HTH.
chrisweb
hmm but how do i use it then, since its new and in development, i cant find
much abt it... what i need actually is a way for users to pay during
registration. after registration, i must get the response from paypal (using
IPN) so that i can activate the account.
Colin Guthrie-6 wrote:
'Twas
when i go to something like
Home Register, home is there as a link, when i click home to goto /,
there is not breadcrumbs ... why is this so? and menu view helper does not
seem to work for MVC pages?
--
View this message in context:
21 matches
Mail list logo