No scaffolding from fresh install !!
Hi all, I am testing out cakePHP and am having problems getting scaffolding to work from a fresh install version cake_0.10.9.2378_finalcake_0.10.9.2378_final. I have the database and tables set up correctly and I have the model and controllers set up correctly. The only way I can get scaffolding to work is turn off mod rewrite and turn on pretty Urls in core.php. Then I can get it to work with the link http://cake1.localhost/index.php/users but it does not save any of the files in the view to the filesystem, they are only generated in the browser. All the functions work (CRUD) but nothing is saved to the web site. IT will not work from the url http://cake1.localhost/users like it is supposed to either. If I turn on mod rewrite and un comment pretty Urls then scaffolding will not work at at all. According to the examples I have seen this should be easy but for some reason its not working for me. I suspect the problem has something to do with either mod rewrite or a path misconfiguration. Can anyone offer any advice. Has anyone had the same problem ?? --thanx --dusty --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: No scaffolding from fresh install !!
my guess is that the server doesn't have AllowOverride All set for your directory or are you on IIS? On 4/25/06, Dusty [EMAIL PROTECTED] wrote: Hi all, I am testing out cakePHP and am having problems getting scaffolding to work from a fresh install version cake_0.10.9.2378_finalcake_0.10.9.2378_final. I have the database and tables set up correctly and I have the model and controllers set up correctly. The only way I can get scaffolding to work is turn off mod rewrite and turn on pretty Urls in core.php. Then I can get it to work with the link http://cake1.localhost/index.php/users but it does not save any of the files in the view to the filesystem, they are only generated in the browser. All the functions work (CRUD) but nothing is saved to the web site. IT will not work from the url http://cake1.localhost/users like it is supposed to either. If I turn on mod rewrite and un comment pretty Urls then scaffolding will not work at at all. According to the examples I have seen this should be easy but for some reason its not working for me. I suspect the problem has something to do with either mod rewrite or a path misconfiguration. Can anyone offer any advice. Has anyone had the same problem ?? --thanx --dusty --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: No scaffolding from fresh install !!
Samuel, Yes I do have AllowOverride All in the apache httpd..conf. I know it is not file permissions either because I opened the right up on the devel server I am using. I am not sure where else to start looking. --thanx --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: No scaffolding from fresh install !!
Have you tried changing the mod rewrite stuff to something really simple like a redirect just to see if that part is getting called. It does seem that your issue is that the mod rewrite is not working, if you have access the the server config maybe try turning up the loggging for mod rewrite and see if you can get any insight Or get on the irc channel and ask some of the big brains there Sam D On 4/25/06, Dusty [EMAIL PROTECTED] wrote: Samuel, Yes I do have AllowOverride All in the apache httpd..conf. I know it is not file permissions either because I opened the right up on the devel server I am using. I am not sure where else to start looking. --thanx --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---