Re: baking a model of users

2015-09-06 Thread Abdelmajid el Ibrahimi
i did the problem now is it says column name user_id not found. see the question: http://stackoverflow.com/questions/32429448/cakephp-column-not-found-1054-user-id/32429902#32429902 Met vriendelijke groet, A. el Ibrahimi According to cake convention the primary key of any table should be namd id

Re: baking a model of users

2015-09-06 Thread heavyKevy
According to cake convention the primary key of any table should be namd id. Foreign keys consist of a singular table name with _id appended. Rename your primary key to id and bake again and it should work as expected. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter htt

Re: baking a model of users

2015-09-06 Thread Abdelmajid el Ibrahimi
I see what happend but i just don't get why. There is a belongs to made for the same table. When is remove that everything works fine. Anybody knows why? Op zondag 6 september 2015 15:55:33 UTC+2 schreef Abdelmajid el Ibrahimi: > > Hello, > > I have made a table named users with a id and a usern

Re: Baking into an admin sub folder or segmenting admin MVC from public website

2014-08-22 Thread Thomas von Hassel
Actually, in 3.x this is exactly what is going to happen. Admin controllers will live in an Controller\Admin namespace /thomas On 22 Aug 2014, at 10:39, Stephen S wrote: > Hey Paul > > I can understand your reasoning of wanting to bake controllers in an admin > subfolder but I think that t

Re: Baking into an admin sub folder or segmenting admin MVC from public website

2014-08-22 Thread Stephen S
Hey Paul I can understand your reasoning of wanting to bake controllers in an admin subfolder but I think that this is just going to fight against Cake and make life more difficult for you. You can set up an admin prefix which means when you access www.site.com/admin/users/index it will search fo

Re: baking cakephp on MAC OS

2014-04-07 Thread Akitah Blessed
CHANGING THE LOCALHOST from localhost to 127.0.0.1 worked for me... took me forever to find this post on the google group but i tried the IP to localhost and bingo, it now works. A community at work. Thanks Roldan. >> -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter

Re: baking cakephp on MAC OS

2013-02-20 Thread theMojoWill
Check out my post here wrote it during CakeFest last year! On Sunday, January 18, 2009 7:59:57 PM UTC, bookme wrote: > > Hi, > > I am trying to bake cake application on MAC OS but can not get > success. > > I have tried tw

Re: baking cakephp on MAC OS

2013-02-16 Thread lowpass
On Fri, Feb 15, 2013 at 10:39 PM, Roldan Aquino wrote: > This maybe an old topic but I also got into the same issue with CakePHP 2.xx > in MacOS X..The solution for me was > simple. I just changed the host value in database.php from localhost to > 127.0.0.1 and I am able to bake again.. :) What I

Re: baking cakephp on MAC OS

2013-02-16 Thread Roldan Aquino
This maybe an old topic but I also got into the same issue with CakePHP 2.xx in MacOS X..The solution for me was simple. I just changed the host value in database.php from localhost to 127.0.0.1 and I am able to bake again.. :) On Wednesday, 21 January 2009 19:55:36 UTC+8, leo wrote: > > > I in

Re: Baking cake 2.4

2013-01-11 Thread Devario Johnson
make sure you are in the 'app' directory then run cake bake...it happens sometimes... On Sunday, January 6, 2013 8:08:07 AM UTC-5, Olufemi Oluoje wrote: > > Pls can anyone send me the link of how to bake cake 2.4. Because I have > been having issues, due to change in the folder structure from 1.

Re: Baking cake 2.4

2013-01-11 Thread AD7six
On Sunday, 6 January 2013 14:08:07 UTC+1, Olufemi Oluoje wrote: > > Pls can anyone send me the link of how to bake cake 2.4. Because I have > been having issues, due to change in the folder structure from 1.3 to 2.x. > Pls, anyone link to a tutorial? Or pasting it here. > Am baking my cakephp

Re: Baking cake 2.4

2013-01-07 Thread euromark
cake2.4? you mean 2.3 right? or are you "back from the future"? Am Sonntag, 6. Januar 2013 14:08:07 UTC+1 schrieb Olufemi Oluoje: > > Pls can anyone send me the link of how to bake cake 2.4. Because I have > been having issues, due to change in the folder structure from 1.3 to 2.x. > Pls, anyon

Re: Baking fixtures for existing models

2012-12-14 Thread euromark
i would very much welcome that. Currently baking fixtures really is a bit of a mess. Especially, if you try to do that with plugins in your app. Due to the missing model connection it would also always bake all fixtures for all models without respect to the plugin. So some better handling here wo

Re: Baking a plugin from the beginning to the end

2012-01-17 Thread ton jansen
This not enough? http://book.cakephp.org/2.0/en/plugins.html#creating-your-own-plugins -- 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

Re: Baking projects done right from console?

2011-11-08 Thread John
I would expect an "AppModel.php file exitst in \Model do you want to overwrite" prompt for every file in skeleton that is being copied or a message that the app directory you're trying to use already contains folders so no files will be copied from skeleton, or something in the docs saying that it

Re: Baking projects done right from console?

2011-11-08 Thread AD7six
On Nov 8, 3:36 pm, John wrote: > > in what way is suggesting "myapp" - a string you can (and should) > > change, and is unlikely to conflict with any existing applications > > you've got - strange? > > >  while it should be just \app according to the doc suggestions: > > Strange (to me) as I wou

Re: Baking projects done right from console?

2011-11-08 Thread John
> in what way is suggesting "myapp" - a string you can (and should) > change, and is unlikely to conflict with any existing applications > you've got - strange? > >  while it should be just \app according to the doc suggestions: Strange (to me) as I would expect /app folder to be suggested for a

Re: Baking projects done right from console?

2011-11-08 Thread AD7six
On Nov 6, 4:17 am, John wrote: > Let's take an empty folder, hereafter as... (!) and extract a > fresh cake 2.0 download. > > That leaves you with files in \app, \lib etc. > > Run "cake bake project" inside . Cake understands your app > name as and path as . > > Then strangely it offers \myapp

Re: Baking Plugin controllers/models interactively in 2.0

2011-09-23 Thread designv...@gmail.com
Ok figured that out - need to add the --public flag when baking. Next issue is why the baked views is creating the 'actions' links incorrectly? ie: echo $this->Html->link(__('View'), array('controller' => 'accommodation.halls', 'action' => 'view', $hall['id'])); It doesn't seem to handle the pl

Re: Baking Plugin controllers/models interactively in 2.0

2011-09-23 Thread designv...@gmail.com
It also seems to just create empty controllers - am I missing something? I'd like it to create the default actions like for non- plugin controllers... d//t On Sep 23, 12:27 pm, "designv...@gmail.com" wrote: > Hi all, > > Can someone advise me how to bake controllers and models for a plugin > in

Re: baking plugins cakephp2

2011-09-06 Thread p r
but the same for baking views ends in "Error: Plugin PluginName could not be found.".. On 5 Sep., 21:16, p r wrote: > cake bake model PluginName.ModelName works. > > On 5 Sep., 21:10, p r wrote: > > > > > > > > > hello, > > > i tried to bake a plugin in cakephp 2. the help says i coul

Re: baking plugins cakephp2

2011-09-05 Thread p r
cake bake model PluginName.ModelName works. On 5 Sep., 21:10, p r wrote: > hello, > > i tried to bake a plugin in cakephp 2. the help says i could use > parameter -p to bake some models like cake bake model -p PluginName. > but the "bake Model Path" does not changed to /app/Plugin/PluginNam

Re: baking complete cakephp applicaation

2011-02-09 Thread Jeremy Burns | Class Outfit
No - it's strictly forbidden unless you have read (or even glanced at) the online book and tutorials: http://book.cakephp.org/ Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 9 Feb 2011, at 10:24, ambati kiran wrote: > Hi guys, > > I had set up cake console

RE: baking complete cakephp application

2010-12-03 Thread salman farisi
You have to set classpath for cake. Right Click my computer, chose advance tab, click Enviroment Variable's Button and edit PATH. Put this directory C:\xampp\htdocs\cakephp\cake\console From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf Of ambati kiran Sent: Frid

Re: baking 1.3.0 problems?

2010-06-02 Thread berryma4
apply this diff http://cakephp.lighthouseapp.com/projects/42648/tickets/771-wrong-core-path-in-templatephp On May 28, 5:07 am, BJ wrote: > For the more dense... which folder to where :-S > > On May 26, 9:12 am, Ben Mosher wrote: > > > > > Fixed. Move 'templates' folder up into 'libs'. Or co

Re: baking 1.3.0 problems?

2010-05-28 Thread BJ
For the more dense... which folder to where :-S On May 26, 9:12 am, Ben Mosher wrote: > Fixed. Move 'templates' folder up into 'libs'. Or copy. Worked for me. > > On May 25, 3:53 pm, CrotchFrog wrote: > > > > > @invisibleman: > > > Did you ever resolve this problem? I'm having the same issue. >

Re: baking 1.3.0 problems?

2010-05-25 Thread Evangelos
worked for me too. thanks! is this a bug? On May 26, 5:37 am, Ed Propsner wrote: > Worked for me too, thanks Ben. That was an easy fix. > > On Tue, May 25, 2010 at 7:12 PM, Ben Mosher wrote: > > Fixed. Move 'templates' folder up into 'libs'. Or copy. Worked for me. > > > On May 25, 3:53 pm, Crot

Re: baking 1.3.0 problems?

2010-05-25 Thread Ed Propsner
Worked for me too, thanks Ben. That was an easy fix. On Tue, May 25, 2010 at 7:12 PM, Ben Mosher wrote: > Fixed. Move 'templates' folder up into 'libs'. Or copy. Worked for me. > > On May 25, 3:53 pm, CrotchFrog wrote: > > @invisibleman: > > > > Did you ever resolve this problem? I'm having the

Re: baking 1.3.0 problems?

2010-05-25 Thread Ben Mosher
Fixed. Move 'templates' folder up into 'libs'. Or copy. Worked for me. On May 25, 3:53 pm, CrotchFrog wrote: > @invisibleman: > > Did you ever resolve this problem? I'm having the same issue. > > On Apr 27, 6:18 am, invisibleman wrote: > > > i can't seem to bake my models, views or controllers i

Re: baking 1.3.0 problems?

2010-05-25 Thread Ben Mosher
Same problem for me as well. I didn't have 'libs' on my file path. Seems like a Windows install might be the common denominator... On May 25, 5:24 pm, Evangelos wrote: > Same problem here. I updated my app with 1.3.0 stable and the baking > console is not working any more! Same errors as above.

Re: baking 1.3.0 problems?

2010-05-25 Thread Evangelos
Same problem here. I updated my app with 1.3.0 stable and the baking console is not working any more! Same errors as above. See image attached. http://www.screencast.com/users/Sarpidon/folders/Jing/media/b588b42c-b65b-410d-a77a-e5e8ac76e9a8 On May 25, 10:53 pm, CrotchFrog wrote: > @invisibleman:

Re: baking 1.3.0 problems?

2010-05-25 Thread CrotchFrog
@invisibleman: Did you ever resolve this problem? I'm having the same issue. On Apr 27, 6:18 am, invisibleman wrote: > i can't seem to bake my models, views or controllers in the stable of > cakephp 1.3.0 is anyone else having this problem? > > It just seems to create empty files for me. For exa

Re: baking 1.3.0 problems?

2010-05-16 Thread Fran Iglesias
Hi, El 27/04/2010, a las 12:18, invisibleman escribió: > It just seems to create empty files for me. For example if i have a > table called groups and i bake it it just creates an empty group.php > file for me even though i defined relationships and validation etc. I found a similar problem. The

Re: baking 1.3.0 problems?

2010-04-27 Thread invisibleman
a bit more info for anyone who can help, the below just created an empty post.php --- You have more than one set of templates installed. Please choose the template set you wish to use: -

Re: baking and postgresql

2010-03-23 Thread nimbusgb
Ok folks never mind. It appears my php.ini file was wrong. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send em

Re: Baking a HABTM Model

2009-12-05 Thread yevge...@gmail.com
Cakephp core thinks about any table in same way. So if table consists of several words then system sigularize just last one. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to th

Re: Baking. First day at cake

2009-07-07 Thread Taff
Thanks very much for the reply. In essence I was doing it correctly...ish. cake bake was telling me it couldn't find the file. ./cake bake however worked very well (as shown in the screencast). Taff On 4 Jul., 20:40, Gwoo wrote: > You are not supposed to call the scripts directly. Please see t

Re: Baking. First day at cake

2009-07-04 Thread Gwoo
You are not supposed to call the scripts directly. Please see the documentation for the proper usage. Also checkout http://cakephp.org/screencasts --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To po

Re: Baking with associations

2009-02-13 Thread Marcelo Andrade
On Fri, Feb 13, 2009 at 10:12 PM, tatebn wrote: > > I'm new to using bake and I'm having a small issue. I have a parent > table with one to one relationship with about 5 other tables. So I'm > assuming I need to use a hasONE relationship. When I use bake it > automatically assumes a hasMany relat

Re: baking cakephp on MAC OS

2009-01-21 Thread leo
> I  install fresh mysql, phpmyadmin but not working ? phpMyadmin won't help much except to say a PHP is talking to a MySQL. When you did the ps - ef | grep mysql.sock what were the outputs for file= and socket= ? Was there more than one? Do they correspond to the XAMPP directories? What is th

Re: baking cakephp on MAC OS

2009-01-21 Thread Martin Westin
I can probably help if you can be a bit more specific about what is not working? How far along are you? On Jan 20, 9:23 pm, bookme wrote: > Thanks your suggestions...I tired all above solutions but not get > success. > > I  install fresh mysql, phpmyadmin but not working ? > still have same pr

Re: baking cakephp on MAC OS

2009-01-20 Thread Chad Casselman
Are you tied to XAMPP? I am using MAMP on Mac and baking just fine. MAMP is a much tighter package that XAMPP. Chad On Tue, Jan 20, 2009 at 3:23 PM, bookme wrote: > > Thanks your suggestions...I tired all above solutions but not get > success. > > I install fresh mysql, phpmyadmin but not

Re: baking cakephp on MAC OS

2009-01-20 Thread bookme
Thanks your suggestions...I tired all above solutions but not get success. I install fresh mysql, phpmyadmin but not working ? still have same problem. please can somebody help me? Thanks On Jan 20, 2:45 pm, Martin Westin wrote: > I second Mark's reply. If you simply call path/to/cake/console

Re: baking cakephp on MAC OS

2009-01-20 Thread Martin Westin
I second Mark's reply. If you simply call path/to/cake/console/cake you will be using the system's version of php. If you are committed to using a lot of shell stuff (such as bake), you really should switch to using the system's php install. It will make things easier in the long run. The setup

Re: baking cakephp on MAC OS

2009-01-19 Thread mark_story
Also since you are on macos check which php you are using. I bet you are using the stock Apple PHP which php Should give you the path to the PHP that is the cli default. -Mark On Jan 19, 3:36 pm, leo wrote: > If you're using XAMPP, I don't think it's a php/mysql config problem. > that is pre

Re: baking cakephp on MAC OS

2009-01-19 Thread leo
If you're using XAMPP, I don't think it's a php/mysql config problem. that is precisely the problem these *AMP stacks are designed to avoid. However, you might want to try the following. Incidentally, that should be "Applications" PLURAL in your path. Open a terminal, and type: ps -af | gre

Re: baking cakephp on MAC OS

2009-01-19 Thread mark_story
It has less to do with your path and more to do with your PHP is knocking on a door, and nobody is home. You need to find out where your mysql.sock is, and configure PHP to knock on that door instead. -Mark On Jan 19, 2:46 pm, bookme wrote: > Thanks for your solution...but still not working. >

Re: baking cakephp on MAC OS

2009-01-19 Thread bookme
Thanks for your solution...but still not working. I tried both above solution but not working. I am using xampp on MAC OS.. ERROR : Can't connect to local MySQL server through Socket '/var/ mysql/mysql.sock ? I also set envornment variable using echo 'export PATH=Application/xampp/xamppfiles/h

Re: baking cakephp on MAC OS

2009-01-19 Thread leo
I used to use MAMP. It used a non-standard port for the DB. Check which port you're using and add it as shown in the database.php comments: * host => * the host you connect to the database. To add a socket or port number, use 'port' => # * --~--~-~--~~~---~--~~

Re: baking cakephp on MAC OS

2009-01-18 Thread Webweave
Looks to me like you ran into the same problem as I did here: http://blog.accuweaver.com/2008/12/20/moving-my-volunteercake-to-my-mac/ Basically your MySQL and PHP are not configured the same way, so you need to change one of them so that PHP can talk to MySQL. This is a pure PHP problem, the fi

RE: Baking

2009-01-08 Thread Steven Wright
Ok cool. Thanks. -Original Message- From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf Of Gwoo Sent: Thursday, January 08, 2009 5:40 PM To: CakePHP Subject: Re: Baking Because there is no way to tell if a relationship is 1-1 or 1-many in this context

Re: Baking

2009-01-08 Thread Gwoo
Because there is no way to tell if a relationship is 1-1 or 1-many in this context since in both cases the ingredient_lists table would have a measurement_type_id. Choose the one that fits your application. --~--~-~--~~~---~--~~ You received this message because you

Re: Baking on Windows with RC1

2008-06-11 Thread [EMAIL PROTECTED]
Aaaarghh I feel very stupid. The cake script was using the wrong PHP version. As it is a development system we have several versions with different configurations So, it is "fixed", I prepended the PHP statement in bake.bat with the correct path and put an action in our upgrade script so we

RE: Baking on Windows with RC1

2008-06-11 Thread Paul R. Zwiers
Nope, first I installed by copying over the beta. I just now tried freshly installing in a new location (yes, I did change the path): all the same problems. As it is a development system I can safely play around. I just now tested it on the production server and it worked fine, so it seems to

Re: Baking on Windows with RC1

2008-06-11 Thread RichardAtHome
Did you install the RC1 in a different location? You may have to update your path to point to the new install location. On Jun 10, 11:35 pm, "Paul R. Zwiers" <[EMAIL PROTECTED]> wrote: > Dear all, > > Maybe I missed something, but after upgrading to RC1 yesterday I noticed that > when I run "cak

Re: Baking controllers, Missing table for 'Item'

2008-06-10 Thread David Christopher Zentgraf
Okay, sorry, please ignore. There _was_ an 'item' relationship which shouldn't have been there. Better go get some lunch... ;o) On 11 Jun 2008, at 13:16, David Christopher Zentgraf wrote: > Hi, > > I'm trying to bake my controllers via the console. My app and Cake > directories are separated

Re: Baking via web

2008-03-06 Thread Baz
Think you got the URL flipped: http://codegen.devayd.com/ On Thu, Mar 6, 2008 at 7:53 AM, DanielZ <[EMAIL PROTECTED]> wrote: > > > > On 6 mar, 13:51, Greg Baker <[EMAIL PROTECTED]> wrote: > > Is it possible to run the bake script through the web? Is it strictly > > a console app? > > Hey, > > ch

Re: Baking via web

2008-03-06 Thread DanielZ
On 6 mar, 13:51, Greg Baker <[EMAIL PROTECTED]> wrote: > Is it possible to run the bake script through the web? Is it strictly > a console app? Hey, check http://codegen.devyad.com regards dz --~--~-~--~~~---~--~~ You received this message because you are sub

Re: Baking via web

2008-03-06 Thread Baz
Someone had developed a plugin that looked promising. But it wasn't well publicized and had a weird name. Makes finding it rather difficult. On Thu, Mar 6, 2008 at 8:06 AM, Chris Hartjes <[EMAIL PROTECTED]> wrote: > > On Thu, Mar 6, 2008 at 7:51 AM, Greg Baker <[EMAIL PROTECTED]> > wrote: > > > >

Re: Baking Cake with EasyPHP

2008-03-06 Thread Fahad
i installed joomla and phpbb too. they worked absolutely fine according to the error report, the problem occurs on cake/libs/class_registry.php on line 128. any clue how it can be fixed (for wamp)? On Mar 6, 8:32 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On Thu, Mar 6, 2008 at 7:36 AM, fa

Re: Baking Cake with EasyPHP

2008-03-06 Thread Chris Hartjes
On Thu, Mar 6, 2008 at 7:36 AM, fahad19 <[EMAIL PROTECTED]> wrote: > > installed wampserver. the same problem exists here also. > i think there must be something wrong with cake1.2 somewhere. > isnt there anyone else having this problem? > I'm thinking that if there was really a bug with CakeP

Re: Baking via web

2008-03-06 Thread Chris Hartjes
On Thu, Mar 6, 2008 at 7:51 AM, Greg Baker <[EMAIL PROTECTED]> wrote: > > Is it possible to run the bake script through the web? Is it strictly > a console app? > --~--~-~--~~~---~--~~ Strictly console. -- Chris Hartjes Internet Loudmouth Motto for 2008: "Mov

Re: Baking Cake with EasyPHP

2008-03-06 Thread fahad19
this is the output i receive when i visit this page: http://localhost/cake1.2/comments/ === (HTML output from browser source) Fatal error: Class 'Comment' not found in E:\wamp\www \cake1.2\cake\libs\class_registry.php on line 128 === Controller file: comments_controll

Re: Baking Cake with EasyPHP

2008-03-06 Thread fahad19
installed wampserver. the same problem exists here also. i think there must be something wrong with cake1.2 somewhere. isnt there anyone else having this problem? instead of loading the model files, their content (php code) appears right before the 'doctype' tag of html output. and cake says it c

Re: Baking Cake with EasyPHP

2008-03-06 Thread fahad19
have you used cake1.2 on XAMPP or Wampserver? On Mar 6, 12:40 pm, Stephen Orr <[EMAIL PROTECTED]> wrote: > Well, it could also be that EasyPHP just isn't very good. > > So far, my recommended WAMP setups are either XAMPP or Wampserver. > I've had problems with several others, including Bitnami Wa

Re: Baking Cake with EasyPHP

2008-03-05 Thread Stephen Orr
Well, it could also be that EasyPHP just isn't very good. So far, my recommended WAMP setups are either XAMPP or Wampserver. I've had problems with several others, including Bitnami WampStack and EasyPHP. Steve On Mar 5, 9:15 pm, "Juan Luis Baptiste" <[EMAIL PROTECTED]> wrote: > On Wed, Mar 5,

Re: Baking Cake with EasyPHP

2008-03-05 Thread Juan Luis Baptiste
On Wed, Mar 5, 2008 at 2:17 PM, fahad19 <[EMAIL PROTECTED]> wrote: > > i just set up a basic model, and a 'scaffold' controller. > instead of loading the model, all the content of the 'model php file' > is shown in the 'html output' of cake. > Probably you don't have php support configured on

Re: baking problem

2007-12-10 Thread Louie Miranda
Oh i think i got it!! /usr/local/php5/bin/php cake/console/cake.php Welcome to CakePHP v1.2.0.5875 pre-beta Console --- Current Paths: -working: /adminpage/app -root: .../adminpage -app: .../adminpage/app/ -core: ...

Re: baking problem

2007-12-10 Thread Louie Miranda
Also have the same problem. Hope someone knows the answer. On Dec 7, 4:22 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Here's one for all you Cake experts out there - I'm just trying to use > 'bake' for the first time having just setup 1.2 in my 'mysite' > directory. General cake index pa

Re: baking batch or short cuts

2007-12-02 Thread RichardAtHome
Sounds perfect, but the download does'nt work for me - anyone got a mirror? On Dec 2, 3:10 am, kiang <[EMAIL PROTECTED]> wrote: > Try this:http://code.google.com/p/twpug/wiki/PowerBake > > --- > kiang > > On 12月2日, 上午7時59分, RichardAtHome <[EMAIL PROTECTED]> wrote: > > > I posted a similar request

Re: baking batch or short cuts

2007-12-01 Thread kiang
Try this: http://code.google.com/p/twpug/wiki/PowerBake --- kiang On 12月2日, 上午7時59分, RichardAtHome <[EMAIL PROTECTED]> wrote: > I posted a similar request about automating bake with a bake /all > > On Dec 1, 9:55 pm, WordPress Guru <[EMAIL PROTECTED]> wrote: > > > Hello , > > > Is someone of you

Re: baking batch or short cuts

2007-12-01 Thread RichardAtHome
I posted a similar request about automating bake with a bake /all On Dec 1, 9:55 pm, WordPress Guru <[EMAIL PROTECTED]> wrote: > Hello , > > Is someone of you automated the commonly usage options in bake.php , > or if there is a way to force bake.php to use a defined config always. > I want to a

Re: baking and scaffolding

2007-11-25 Thread Indian Baker
Hi, Check out the CakePHP articles on the IBM site.. http://www-128.ibm.com/developerworks/edu/os-dw-os-php-cake1.html Lesson 2 contains the info on bake and scaffolding Also in case you are using veriosion 1.2 then this screen cast will help you. http://cakephp.org/screencasts/view/6 Also check

Re: Baking in cakePHP 1.2

2007-08-07 Thread John David Anderson (_psychic_)
On Aug 7, 2007, at 11:12 AM, Charlie wrote: > > Hi, > > Would anyone could explain to me how I bake in the new cake version? From your cake install: $ ./cake/console/cake bake > Or post a link to the new documentation? I searched a lot but couldn't > find it. There's no officially released

Re: Baking in cakePHP 1.2

2007-08-07 Thread Gwoo
http://cakephp.org/screencasts there is one for "Setting up the console". Once it is setup properly just run "cake bake help" for more information. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group.

Re: Baking without database

2007-05-04 Thread dasiel
Hi Macon I'm already working in a project and I need to consume some web services. But I don't know how to use it in CakePHP, acording to your post it seem that you has used some web services from Cake. Where I can see something about this topic? Excuse me for my english ;-). Thanx. Dasiel On 2

Re: Baking without database

2007-04-27 Thread Macon
Unfortunately this forum is in French language only, and I think it is more intended to beginners, but still I can drop that link: http://www.cakephp-fr.org/forum --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake

Re: Baking without database

2007-04-26 Thread Dr. Tarique Sani
Do let us know which forum was this - if such cool CakePHP hacks are discussed there I would like to hang out there T -- = PHP for E-Biz: http://sanisoft.com Cheesecake-Photoblog needs you!: http://cheesecake-photoblog.org

Re: Baking without database

2007-04-26 Thread Macon
Eventually I found a solution on another forum. There it is, in config/database.php just type class DATABASE_CONFIG { } Happy baking, folks ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To

Re: Baking without database

2007-04-26 Thread Macon
Hi Stacey, > you can use the following line in your models to stop them from > looking for a database connection: > > $useTable = false; > I'm actually using this in every model using SOAP. > i don't know if there is a way to globally disable the db. That's what I'm looking for :) Thanks anywa

Re: Baking without database

2007-04-25 Thread Stacey
you can use the following line in your models to stop them from looking for a database connection: $useTable = false; i don't know if there is a way to globally disable the db. On Apr 25, 12:04 pm, Macon <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm writing a front-end app using Cake relying exc

Re: Baking table with lots of records -> memory exhausted

2007-04-12 Thread schalker
Hi AD, Thanks for your reply! On 12 Apr., 12:28, "AD7six" <[EMAIL PROTECTED]> wrote: > How about just increasing the allocated memory in your php.ini file > (search for memory_limit). As you would never use scaffolding for any > length of time, it's a reasonable temporary solution to a temporary

Re: Baking table with lots of records -> memory exhausted

2007-04-12 Thread AD7six
On 12 abr, 11:07, "schalker" <[EMAIL PROTECTED]> wrote: > Hi there > > I have the latest stable Cake (April 5) and try my first steps locally > with xampp. I also have an existing database with 4 tables and quite a > number of records already inserted. > > 3 tables can be scaffolded and baken ju

Re: baking the scaffolding

2007-03-01 Thread [EMAIL PROTECTED]
On Feb 28, 8:54 am, "hydra12" <[EMAIL PROTECTED]> wrote: > I'm not sure where the documentation is, but here's how I do it: Thank you very much for posting this. While the existing CakePHP documentation is quite good, it does not discuss bake. Nor have I found this information covered in any l

Re: baking the scaffolding

2007-02-28 Thread hydra12
I'm not sure where the documentation is, but here's how I do it: I added php.exe to my path in windows. That makes things a lot easier. My setup is like this: my webroot is in c:\web\projects. Cake is inside projects. I put my apps in my projects directory, too, not in cake. >From the command

RE: Baking @ fosdem?

2007-02-22 Thread Mariano Iglesias
-Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Mariano Iglesias Enviado el: Jueves, 22 de Febrero de 2007 06:57 p.m. Para: cake-php@googlegroups.com Asunto: RE: Baking @ fosdem? These are the things that make me envy you guys up there. You get like 100

RE: Baking @ fosdem?

2007-02-22 Thread Mariano Iglesias
smart, be cool, and share your knowledge. BAKE ON! blog: http://www.MarianoIglesias.com.ar -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de [EMAIL PROTECTED] Enviado el: Jueves, 22 de Febrero de 2007 06:43 p.m. Para: Cake PHP Asunto: Re: Baking

Re: Baking @ fosdem?

2007-02-22 Thread [EMAIL PROTECTED]
Just bumping this thread once more Fosdem will be this weekend !! and it will be great :) just look at the schedule which is now very full http://www.fosdem.org/2007/schedule/days ps: normally Joe Hewitt would have give a session about firebug, but he couldn't make it :( so now Dries Buytaert wi

Re: baking error

2007-01-28 Thread lukemack
i resolved this. you need to make sure that php cli is configured with mysql support. on my system, this meant editing /etc/php5/cli/php.ini to load the mysql.so extension. what i hadnt realised was that the php cli uses its own php.ini. thanks anyway, lukemack. On 28 Jan, 02:37, "Dr. Tariqu

Re: baking error

2007-01-27 Thread Dr. Tarique Sani
On 1/27/07, lukemack <[EMAIL PROTECTED]> wrote: > Fatal error: Call to undefined function mysql_connect() in /var/www/ > cake/libs/model/dbo/dbo_mysql.php on line 102 Might sound like a silly question - but can you connect to MySQL using PHP? If not then you need to install whatever is the equiv

Re: Baking @ fosdem?

2007-01-20 Thread [EMAIL PROTECTED]
There are no more lightning talk slots available.. ps: they will update the schedule with the planning of all dev rooms and lightning talks soon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To

Re: baking cake from command prompt -- problems

2006-08-25 Thread bingo
Okie, I found solution for all of my problems. For others, I am documenting the solutions below >>1. is there any webpage that list all the possible CAKE commands and >>from where they should be initialized php bake.php -help will tell all the possible commands. Another place to look at is http:/

Re: baking cake from command prompt -- problems

2006-08-25 Thread bingo
Hi gwoo, I am not sure what is CLI. But on doing google search found that on windows php.exe is essentially the CLI. xampp does have php.exe. I also checked there forum and found a post related to php.ini that also talk about cli. http://www.apachefriends.org/en/faq-xampp-windows.html And thank

Re: baking cake from command prompt -- problems

2006-08-25 Thread gwoo
Its possible that the CLI is not available in XAMPP. Double check. php bake.php -help should give you the list of available commands --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this g

Re: Baking Day

2006-06-05 Thread majna
Great idea, but there's things to do before play. --~--~-~--~~~---~--~~ 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