Re: CakePHP 3.0.0 dev preview 1 released

2014-01-05 Thread bbf
This is the first time I've read about the reasoning behind the major changes to 3.0. (for background I've been coding PHP since 1999, using Cake since 2008, and "cakephp" is the only tag I follow on Stackoverflow ;) ) What are the strategic goals of Cake v3? Grow adoption of the framework be s

Cache::cleargroup() doesn't make sense to me

2013-01-16 Thread bbf
According to: http://book.cakephp.org/2.0/en/core-libraries/caching.html#using-groups "Groups are shared across all cache configs using the same engine and same prefix. If you are using groups and what to take advantage of group deletion, choose a common prefix for all your configs." So this se

Re: request says put instead of post

2012-10-24 Thread bbf
Just wasted 20 minutes on this and figured I'd post a solution for those that google this problem. It seems that this is a Cake "feature" that won't be fixed (even though it creates more work than v1.3): http://cakephp.lighthouseapp.com/projects/42648/tickets/2528-request-type-put-instead-of-po

Logging of PHP fatal errors not working

2011-02-03 Thread bbf
Cake 1.3.7 core.php: Configure::write('debug', 0); Configure::write('log', true); According to this page: http://book.cakephp.org/#!/view/1584/Error-logging the logging of warning and fatal errors can be handled by the Cake logs ("...Would log only warning and fatal errors."). Warning errors ar

Re: Multiple Cake installation via Apache Virtual Hosts?

2009-09-11 Thread bbf
In fact, if I set both VirtualHosts to point to: DocumentRoot "D:/Apache/Apache/htdocs" NameVirtualHost * ServerName localhost DocumentRoot "D:/Apache/Apache/htdocs" ServerName lh2 DocumentRoot "D:/Apache/Apache/htdocs" the Ca

Multiple Cake installation via Apache Virtual Hosts?

2009-09-11 Thread bbf
I'm trying to get two Cake installs working on my local machine. I used Apache virtual hosts (1.2) to get the local domains working: http://localhost which goes to \htdocs. http://lh2 which goes to \htdocs2. localhost works no problem. lh2 works for anything outside of Cake (e.g. PhpMyAdmin),

Re: Setting Layout for Scaffolding?

2009-03-31 Thread bbf
:11 pm, Amit wrote: > Here's a good > walkthrough:http://teknoid.wordpress.com/2009/01/31/take-control-over-your-bake-a... > > On Mar 30, 5:05 pm, Amit wrote: > > > I think you're referring to cake/libs/views/scaffold/(add|edit| > > view.ctp). These will let

Re: Setting Layout for Scaffolding?

2009-03-30 Thread bbf
ace > the default layout with your own. > The default layout can be found in  the "app/views/layout" folder. > > Enjoy, >    John > > On Mar 30, 10:42 am, bbf wrote: > > > I've searched the groups and Google and can't find an answer for this. >

Setting Layout for Scaffolding?

2009-03-30 Thread bbf
I've searched the groups and Google and can't find an answer for this. How do I set a different layout for the scaffolding? Thanks for your help! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To

How to test the database connection?

2008-08-26 Thread bbf
My flaky webhost's MySQL process goes down randomly every few weeks. Cake doesn't throw an error, but instead gives a "Missing Table" error and displays a weird page (the layout nested 4 times). How and where would I test the db connection myself? (I want to show my own pretty "Temporarily dow

Setting a Custom error_reporting Level?

2008-02-15 Thread bbf
With DEBUG set to 1, I get a bunch of notices/warning. I want to set the error_reporting level to "E_ALL ^ E_NOTICE". I can't seem to figure this out. I tried changing the error_reporting lines in configure.php & cake.php, but there's no change. What's the solution to this? A google search tur