On Mar 24, 2011, at 16:31, mhamann wrote:
> I'm trying to access a DB2 database via ODBC and I'm getting the
> following error when Cake attempts to list all of the tables:
> "Fatal error: Allowed memory size of 33554432 bytes exhausted (tried
> to allocate 551995385 bytes)"
Your PHP is configur
Well, there you go. It was my jQuery function that was supposed to clear my
form. Was removing the values on the radios instead of removing 'checked'
attributes.
Thanks again, Cricket!
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakeP
On 25 March 2011 14:03, Tran Cao Thai wrote:
> you can do that with jquery as well
>
Impressive !
--
Kind Regards
Stephen
http://www.ninjacodermonkey.co.uk
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http:/
you can do that with jquery as well
On Fri, Mar 25, 2011 at 7:00 PM, Stephen wrote:
> Flash may be your answer:
>
> http://board.flashkit.com/board/showthread.php?t=737944
>
>
> On 25 March 2011 10:21, Rishab Jain wrote:
>
>> Hi All,
>>
>> I need a "video capturing through webcam" plugin for cak
What a stupid error.
key passed to controller was saveAndAddAgain but check inside
controller was on SaveAndAddAgain.
Sorry, for loss of time :(
On 25 Mar, 14:11, euromark wrote:
> did you check that "action" is actually "saveAndAddAgain"?
>
> pr($action); die();
>
> i bet thats your problem
> i
No.
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 25 Mar 2011, at 11:10, vineet verma wrote:
> Hey can you send me the code for delete entries from array by select
> all jquery script.
>
> --
> Our newest site for the community: CakePHP Video Tutorials
>
Hey can you send me the code for delete entries from array by select
all jquery script.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To
did you check that "action" is actually "saveAndAddAgain"?
pr($action); die();
i bet thats your problem
if(false) is always false!!! the code inside will never be executed
On 25 Mrz., 13:46, Stephen wrote:
> set 'value' => '' in your inputs on add.
>
> On 25 March 2011 12:43, Mariano C. wrote:
I found what works
at the Wheel model use the counterscope
http://book.cakephp.org/view/816/counterCache-Cache-your-count
'counterScope' => array('Wheel.status' => 'active') // only count if
"Wheel" is active
Please double ensure that the child counter field has no plural like
wheel_count inst
set 'value' => '' in your inputs on add.
On 25 March 2011 12:43, Mariano C. wrote:
> Nothin change.
>
> On 25 Mar, 13:08, Stephen wrote:
> > unset $this->data ?
> >
> > On 25 March 2011 11:18, Mariano C. wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > I have a form inside add.ctp view:
> > >
Nothin change.
On 25 Mar, 13:08, Stephen wrote:
> unset $this->data ?
>
> On 25 March 2011 11:18, Mariano C. wrote:
>
>
>
>
>
>
>
>
>
> > I have a form inside add.ctp view:
> > echo $form->create('...');
> > // ...
> > echo $form->submit('Save and back', array('name'=>'saveAndBack'));
> > echo $
By the way - have a go and come back if you can't get it to work.
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 25 Mar 2011, at 12:10, Zeu5 wrote:
> Thank you Jeremy.
>
> Would you give me a bit more details?
>
> some example code perhaps?
>
>
> On Mar
I'm sure you can work it out. When a Wheel is saved (or deleted), run a find on
the Wheel model that matches the conditions you want that returns a count of
records. Take that value and update the wheel_count field on the Car model
where Car.id = Wheel.car_id.
Jeremy Burns
Class Outfit
jeremyb
Thank you Jeremy.
Would you give me a bit more details?
some example code perhaps?
On Mar 25, 8:06 pm, Jeremy Burns | Class Outfit
wrote:
> I think you'll need to write your own custom function for that and put in the
> afterSave callback of the 'Wheel' model.
>
> Jeremy Burns
> Class Outfit
unset $this->data ?
On 25 March 2011 11:18, Mariano C. wrote:
> I have a form inside add.ctp view:
> echo $form->create('...');
> // ...
> echo $form->submit('Save and back', array('name'=>'saveAndBack'));
> echo $form->submit('Salva and add new',
> array('name'=>'saveAndAddAgain'));
> echo $for
I think you'll need to write your own custom function for that and put in the
afterSave callback of the 'Wheel' model.
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 25 Mar 2011, at 11:39, Zeu5 wrote:
> Hi
>
> i need help understanding counterquery
>
> i
Hi
i need help understanding counterquery
i know right now cakephp allows me to store children count in parent
table
eg a Car hasMany Wheel
so in cars table, there is a wheels_count column.
but i only want to store the wheel associated with a particular car
AND has a status as 'active'.
Meani
I have a form inside add.ctp view:
echo $form->create('...');
// ...
echo $form->submit('Save and back', array('name'=>'saveAndBack'));
echo $form->submit('Salva and add new',
array('name'=>'saveAndAddAgain'));
echo $form->end();
Now, add function inside controller is something like:
// grab butto
Flash may be your answer:
http://board.flashkit.com/board/showthread.php?t=737944
On 25 March 2011 10:21, Rishab Jain wrote:
> Hi All,
>
> I need a "video capturing through webcam" plugin for cakephp. If not
> cake, then in simple php will also do.
>
> Does anybody know of such a plugin?
>
> re
Hi All,
I need a "video capturing through webcam" plugin for cakephp. If not
cake, then in simple php will also do.
Does anybody know of such a plugin?
regards,
Rishab
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
Indeed, some .htaccess files were flawed/missing.
Thanks for your help!
On 11 Mrz., 14:52, Stephen wrote:
> The webroot directory is exactly what it says web*root*
>
> So any URL Request i.e. /css/style.css will access
> /app/webroot/css/style.css
>
> Check the following:
>
> 1. Mod Rewrite is
Hello,
I'm trying to access a DB2 database via ODBC and I'm getting the
following error when Cake attempts to list all of the tables:
"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried
to allocate 551995385 bytes)"
I'm using the ODBC Datasource located in the cakephp/datasources
Thanks for clearing that up!
I am in the unfortunate situation where I have ZERO control over the
server, so I am at the mercy of php 4.3 :-(
On Mar 24, 4:32 pm, mark_story wrote:
> CakePHP maintains compatibility with PHP 4.4, nothing earlier.
>
> -Mark
>
> On Mar 23, 6:23 am, "designv...@gmail
On Fri, Mar 25, 2011 at 1:10 PM, thom wrote:
> On Fri, Mar 25, 2011 at 9:33 AM, thom wrote:
>>>
>>> Perhaps you need to unBind() the other associations and then add those
>>> joins to $paginate, as well.
>>>
>
>
> Why is my 'join' not works in this case?
> It just unbind the model and paginate i
24 matches
Mail list logo