Re: weird behavior in CakePHP 1.2 (possible bug)

2008-02-04 Thread Michel L

Created a new ticket: https://trac.cakephp.org/ticket/4066

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: weird behavior in CakePHP 1.2 (possible bug)

2008-02-04 Thread Michel L

I'm experiencing the same "Out of memory" errors. What causes the
error for me is if i try to echo an undefined variable.

To reproduce the error just do a  in a view.

Pretty annoying when debugging. My dev setup is MAMP on OSX.

On 28 Jan, 11:44, Lloyd <[EMAIL PROTECTED]> wrote:
> Hey guys, I have been stumped at this for days with something similar
> - I had to upload my entire cakephp app to a remote server because my
> local one was just crashing and I couldn't work out any errors
> whatsoever well I'll explain my situation and see how it goes with
> responses..
>
> I am in my Customers Controller and am using a findAll() query to
> search for any possible 'Clubs'.  THis works fine and sets in my
> 'edit' view.. however, when I go to submit the information through a
> form, it crashes.. if I get rid of displaying this array in the view,
> everything works fine - its only as soon as i try and utilise this
> 'Club' call array in the view that it crashes.. this was myerror
> message...
>
> Fatalerror: Out ofmemory(allocated 37486592) (tried to allocate
> 40961 bytes) in path/to/my/site/cake/libs/debugger.php on line 421
>
> I commented out the same thing and got this result...
>
> Notice (8): Undefined variable: myClubNames [APP\views\customers
> \edit.ctp, line 101]
>
> So.. there's myerror... a definate bug I think and not just me
> missing something.. what do you guys reckon?  I'll post if i can get
> my app working without too many troubles.. cheers!!
> Lloyd

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: weird behavior in CakePHP 1.2 (possible bug)

2008-02-04 Thread Michel L

As it turns out, this error happens for all php syntax errors in
views.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How do sliders work?

2007-10-31 Thread Michel L

Hi.

Even though the CakePHP framework have good functions and classes for
simplifying and speeding up application development - some stuff, like
the Ajax helper, is something in my experience you should stay away
from.

I guess the slider you are talking about is an Ajax helper
"simplifying" calls to the Slider Control in Scriptaculous:
http://wiki.script.aculo.us/scriptaculous/show/Slider

If you are serious in developing Ajax applications or functions then
the best way is to learn either how Ajax calls are made or learning
some Javascript/Ajax library. In this case scriptaculous (although I
would recommend the jquery library). When you've learned the basics
and also understand how POST and GET calls works, interfacing Ajax
calls with your controllers will be a breeze.

Cheers,
Miche

On Oct 31, 1:33 pm, Nina <[EMAIL PROTECTED]> wrote:
> Hello
>
> I am hoping that some expert can help me, I've, been googling my heart
> out and I can't find any cakephp slider examples.
>
> What I need is an example of a working slider. I need to know how to
> specify the controller action that should happen when someone moves
> the slider, I need to know how to tell that action what the slider has
> been moved to, and I need to know how to write that controller action.
> Has anyone here ever succesfully used at slider for a cakephp
> application, and if so, could you please send me an example or do
> something to point me in the right direction?
>
> Sincerely
>
> Nina Jansen


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---