Re: Help getting started with CakePHP 2.1.3

2012-06-16 Thread DiabloGeto
Hi Installation procedure could be diff for diff platforms, however , first u can try the default setting as mostly it works by itself. Just access the path of your cake folder from browser through local host If these is a page with some red of green stripes , which instruction to set some salt

Re: Help getting started with CakePHP 2.1.3

2012-06-14 Thread lowpass
I vaguely remember something about a Pear channel but haven't used it. I don't know why the structure would be different. Go here for the goods: https://github.com/cakephp/cakephp/archives/2.1 You'll get an archive -- and subsequent folder -- with Git's supremely annoying naming convention but th

Help getting started with CakePHP 2.1.3

2012-06-14 Thread BasementJack
I'm trying to follow the tutorial at http://book.cakephp.org/2.0/en/installation.html I've downloaded CakePHP-2.1.3.tgz from http://pear.cakephp.org/ My folder structure doesn't match at all. I've got a /bin and /cake folder - the cake folder appears to have all the good stuff (folders for cac

Re: Help getting started - getting 500 server error or 404 on tutorial

2010-02-24 Thread BrendonKoz
Now that you think you have mod_rewrite working properly, you might want to try setting up a separate virtual host just to see if the styles and images show up. If they do not, then mod_rewrite is still not working properly. As for the 500 internal error, that could either be a misconfiguration in

Help getting started - getting 500 server error or 404 on tutorial

2010-02-24 Thread edmicman
So I'm about at wits end and am about to give up in frustration after spending the last couple days messing with this. I just wanted to learn a bit about this framework and try some stuff out, but I'm not even able to get the friggin' tutorial working! I keep coming up with the same suggestions o

Re: Help getting started...

2008-01-20 Thread Peter Lombardo
Take a look at Section 5 here: http://manual.cakephp.org/appendix/blog_tutorial I had the same issue and the above fixed it. And when I revisited the issue, it turned out for some reason I was missing an .htaccess in the root directory. Peter Lombardo On Jan 20, 2008 8:23 PM, Dave Porter <[EMA

Re: Help getting started...

2008-01-20 Thread manish
http://groups.google.com/group/cake-php/browse_thread/thread/d7c7d2bd6635a76f/e976e8d9cb6153d3?lnk=gst&q=manish#e976e8d9cb6153d3 On Jan 21, 6:23 am, Dave Porter <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I have Apache installed on my machine ( WinXP Pro SP2 ) & have a > number of other php b

Help getting started...

2008-01-20 Thread Dave Porter
Hi everyone, I have Apache installed on my machine ( WinXP Pro SP2 ) & have a number of other php based projects running fine. The test page works, but clearly the .css file is not being found. I have tested a phpinfo.php file in the root directory and the /app/ views/users/ directory for a tut

Re: Help getting started: creating related records

2006-09-25 Thread [EMAIL PROTECTED]
Doing all but HABTM with a multiple selectTag you have to manually manage the foreignKey's. What this means is you have to set it. Usually this means that you create one records, get the last inserted id, and use that as the foreignKey for the related records if you are saving them all in the sam

Re: Help getting started: creating related records

2006-09-25 Thread [EMAIL PROTECTED]
Doing all but HABTM with a multiple selectTag you have to manually manage the foreignKey's. What this means is you have to set it. Usually this means that you create one records, get the last inserted id, and use that as the foreignKey for the related records if you are saving them all in the sam

Re: Help getting started: creating related records

2006-09-25 Thread [EMAIL PROTECTED]
Doing all but HABTM with a multiple selectTag you have to manually manage the foreignKey's. What this means is you have to set it. Usually this means that you create one records, get the last inserted id, and use that as the foreignKey for the related records if you are saving them all in the sam

Re: Help getting started: creating related records

2006-09-24 Thread Mikee Freedom
that's how i do it. whenever i'm saving a model I know that whatever is in the data array at the time will be what is saved. so, how you get the foreign key in there doesn't really matter (at the view or in the controller) as long as it is in there it will be saved to the DB. does that answer yo

Re: Help getting started: creating related records

2006-09-24 Thread Andrew
OK I got bake working using the hack described here: http://www.soledadpenades.com/category/cakephp/ And even with a baked version, I still have the problem. I can't imagine this is such a hard thing to overcome, can someone please help me? I'm pulling my hair out, I've been stuck at this point

Re: Help getting started: creating related records

2006-09-24 Thread Andrew
I've tried baking it, but I have problems with that as well... apparently mysql isn't compiled on the command line on my system, so it fails when I try and bake. I'd rather just fix the problem here. Anyone have any ideas? Can I provide more information to make this question easier to answer?

Re: Help getting started: creating related records

2006-09-23 Thread Andrew
I've tried baking it, but I have problems with that as well... apparently mysql isn't compiled on the command line on my system, so it fails when I try and bake. I'd rather just fix the problem here. Anyone have any ideas? Can I provide more information to make this question easier to answer?

Re: Help getting started: creating related records

2006-09-23 Thread Andrew
I've tried baking it, but I have problems with that as well... apparently mysql isn't compiled on the command line on my system, so it fails when I try and bake. I'd rather just fix the problem here. Anyone have any ideas? Can I provide more information to make this question easier to answer?

Re: Help getting started: creating related records

2006-09-22 Thread Brian French
you could try to maybe bake your view and then modify that form to work how you want it. http://wiki.cakephp.org/docs:bake Andrew wrote: > Note: please ignore the line > > echo $html->hidden('Option/decision_id', 55); > > That was in there for debugging and never actually did anything. > > > >

Re: Help getting started: creating related records

2006-09-21 Thread Andrew
Note: please ignore the line echo $html->hidden('Option/decision_id', 55); That was in there for debugging and never actually did anything. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To pos

Help getting started: creating related records

2006-09-21 Thread Andrew
Hi folks, I'm at my wit's end trying to figure out how to create a new related record... should be easy for you seasoned pros. I'll be as detailed as possible. I have two tables: decisions, and options. One decision has many options. Here's the decision model code: and the Option model is