Re: New site added to 'Cake Apps/Sites In The Wild'

2008-01-10 Thread Charlie van de Kerkhof
And the name of the site and URL: Cloudspeakers.com - http://www.cloudspeakers.com On 10 jan, 17:27, Charlie van de Kerkhof <[EMAIL PROTECTED]> wrote: > New site/app added to > http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild > A music aggragator of reviews, audios and v

More fun with legacy DB - using callbacks vs. using views

2008-01-10 Thread Robby Anderson
I've got a DB with legacy data and column names, and because other applications (currently) use it, we're sticking with the DB naming conventions (which is, of course, totally non-Cake). So, its not an option to change the DB naming convention, and its not an option to not use Cake. :) One of th

New site added to 'Cake Apps/Sites In The Wild'

2008-01-10 Thread Charlie van de Kerkhof
New site/app added to http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild A music aggragator of reviews, audios and videos. Build in cake 1.2. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cak

Re: PHP has encountered a Stack overflow

2008-01-10 Thread lordG
Even tried the ini setting at 512MB, and still no luck...! Like I mentioned, the app was working 100% before the update, and I used to use loadModel, and switched it to the App::import... could this be part of the memory usage error? On Jan 10, 6:08 pm, lordG <[EMAIL PROTECTED]> wrote: > Hey Chr

Re: PHP has encountered a Stack overflow

2008-01-10 Thread lordG
Hey Chris, Thanks, but mine is already set to 128M, which is far too high anyway. My app was working 100% with release 1.2.0.5875, but now with the new one, I get this error above. Any further ideas? G --~--~-~--~~~---~--~~ You received this message because you

Re: converting loadModel to App::import

2008-01-10 Thread rtconner
I dunno why it says App::import. I believe (from whay I know) you should be using ClassRegistry::init now. On Jan 10, 6:15 am, lordG <[EMAIL PROTECTED]> wrote: > Hi Conankun, > > Did you get a solution to this? Sounds like the App class is not being > loaded (sorry for stating the obvious i think

Re: PHP has encountered a Stack overflow

2008-01-10 Thread Chris Hartjes
On Jan 10, 2008 10:37 AM, lordG <[EMAIL PROTECTED]> wrote: > > Hi Guys, > > I just updated my core site to the latest 1.2.0.6311 release and I > keep getting this error on every second or third request: > > "PHP has encountered a Stack overflow" > Imagine my shock when Google pointed out what the

Re: PHP has encountered a Stack overflow

2008-01-10 Thread lordG
Also, when I hit refresh when this happens, I get this error: "Fatal error: Cannot redeclare paths() (previously declared in D: \webserver\cake.1.2\dev.2\cake\cake\basics.php:60) in D:\webserver \cake.1.2\dev.2\cake\cake\basics.php on line 100" Er, um, what? I haven't even redeclared it. Seriou

Re: Submit ajax form using image

2008-01-10 Thread grigri
Hmmm... tough one echo $ajax->submit('your-image-here.png'); > but I cannot find this functionality I'd just point out that I never use the Ajax helper [because I prefer mootools], and this took me all of 10 seconds to find out by browsing the source, although I'm sure you could find it on

PHP has encountered a Stack overflow

2008-01-10 Thread lordG
Hi Guys, I just updated my core site to the latest 1.2.0.6311 release and I keep getting this error on every second or third request: "PHP has encountered a Stack overflow" Any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: Acl->check without alias?

2008-01-10 Thread Dardo Sordi Bogado
Pass array('foreign_key' => $id, 'model' => 'Post') as the aco to check(). On Jan 9, 2008 11:48 AM, Andreas <[EMAIL PROTECTED]> wrote: > > Hi, > > bit new to ACL and having some problems when I want to check for > permissions before deleting a post using the ACL setup from > http://bakery.cakephp

Submit ajax form using image

2008-01-10 Thread Richard
Hi, I need to submit an Ajax form using an image opposed to a submit button. The roadmap suggests this is now possible: https://trac.cakephp.org/ticket/770 but I cannot find this functionality. I am using 1.2 -- can anyone help? Thanks in advance. --~--~-~--~~~

Re: specify field instead of string in conditions array

2008-01-10 Thread grigri
There's a 'magic marker' that tells cake not to interfere with conditions, and it's "-!" (hyphen - bang) So this would work: $conditions = array( 'Post.id' => '-!Post.thread_id') Of course, cake won't quote your field, so it would be better practice to put $conditions =

Re: Making a video screenshot from wmv

2008-01-10 Thread R. Rajesh Jeba Anbiah
On Jan 10, 4:38 am, "Aria Rajasa Masna" <[EMAIL PROTECTED]> wrote: > Hi everyone, > I wanted to take a screenshot from an user uploaded video, any links and > references I can follow regarding that matter? Owh and I was wondering on > how to make a animated gif screenshot like the one displayed >

Re: converting loadModel to App::import

2008-01-10 Thread lordG
Hi Conankun, Did you get a solution to this? Sounds like the App class is not being loaded (sorry for stating the obvious i think). Have you gotten the latest release and ensured all the correct files are in the right places? G --~--~-~--~~~---~--~~ You received t

Re: specify field instead of string in conditions array

2008-01-10 Thread avairet
Hello Brian, Can you explain more? What is your context? Because "conditions" array is normally for SQL conditions (e.g. : "Post.id > 5" or "Post.id <> 10"), not for fields... BR Avairet On 10 jan, 02:32, blange <[EMAIL PROTECTED]> wrote: > $conditions = array( > 'Pos

Re: Some bake problems...

2008-01-10 Thread avairet
I have upgraded the console with nightly build release but problems always exist... Avairet On 10 jan, 11:34, avairet <[EMAIL PROTECTED]> wrote: > Hi everybody, > > I found some problems with bake script in command line. > I'm using 1.2.0.6311 beta release, not the nightly. > > 1) In a control

i18n Translations

2008-01-10 Thread [EMAIL PROTECTED]
I've been using the translation behaviour to translate and it works fine for the translations but not the original default language, when I set my application to the default language (es Spanish) and try to get the content from the Original Model (Page) the Translation behaviour tries to look for

Re: How combine CakePHP + ExtJS?

2008-01-10 Thread foxmask
i tried to repeat the step of your example with ext 1.1.1 here is my ajax.ctp http://www.w3.org/1999/xhtml"; xml:lang="" lang="" dir=""> charset(__('lang_encoding',true));?> link('ext-1.1/adapter/ext/ext-base'); ?> link('ext-1.1/ext-all-debug'); ?

Re: CakePHP webroot strange core.* files

2008-01-10 Thread NRGBilly
Hi, no, I use another server but propably this is the problem. I'll check the log files as DJ Spark pointed out. The problem is that these files remain in the webroot and fill up the available space. On 7 Ιαν, 12:27, AD7six <[EMAIL PROTECTED]> wrote: > On Jan 7, 10:26 am, NRGBilly <[EMAIL PROTEC

Some bake problems...

2008-01-10 Thread avairet
Hi everybody, I found some problems with bake script in command line. I'm using 1.2.0.6311 beta release, not the nightly. 1) In a controller creation, if I answer "no" for: "Would you like to include some basic class methods?", bake doesn't ask me creating Admin routing methods... 2) The valida

Saving Multiple HABTM associations

2008-01-10 Thread leveille
1.2 beta Following is the sql file I am working from: http://pastebin.com/f5d3d7ec5 After I bake my MVC files and add a user, it is apparent that when save reaches the second HABTM association for my model it attempts to save data from my first HABTM association, as well as data from my second

Re: How combine CakePHP + ExtJS?

2008-01-10 Thread inma
Thanks for your answers! Although your examples show a datagrid, I will try to adapt it to show and validate a form... Kind regards. On 9 ene, 20:02, hydra12 <[EMAIL PROTECTED]> wrote: > I'm working on a new version of my tutorial that works with 2.0.  I'll > try to get it done soon, depending

<    1   2