[CakePHP : The Rapid Development Framework for PHP] #6484: Fatal error: Cannot redeclare config() cakephp

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6484: Fatal error: Cannot redeclare config() cakephp
--+-
Reporter:  typeoneerror   |  Type:  Bug 
  Status:  new|  Priority:  High
   Milestone:  1.2.x.x| Component:  Config  
 Version:  1.2 Final  |  Severity:  Critical
Keywords:  Config errors  |   Php_version:  PHP 5   
Cake_version:  1.2.3.8166 |  
--+-
 Just downloaded 1.2.3.8166 (stable). Unpacked and added a simple
 controller and pointed the document root to app/webroot. Getting this
 error:

 Fatal error: Cannot redeclare config() (previously declared in
 cake/basics.php:59) in cake/basics.php on line 77

 Viewing my development link at

 uv.dev

 works fine but adding any controller actions shows this error.

 uv.dev/index

 for example - fails

 Seems like a pretty basic issue

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6484: Fatal error: Cannot redeclare config() cakephp

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6484: Fatal error: Cannot redeclare config() cakephp
--+-
Reporter:  typeoneerror   | Owner:   
Type:  Bug|Status:  new  
Priority:  High   | Milestone:  1.2.x.x  
   Component:  Config |   Version:  1.2 Final
Severity:  Critical   |Resolution:   
Keywords:  Config errors  |   Php_version:  PHP 5
Cake_version:  1.2.3.8166 |  
--+-
Comment (by typeoneerror):

 More reports of the same:

 [http://groups.google.com/group/cake-
 php/browse_thread/thread/b70d9187b1d3bf60?fwc=1]

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #6485: Option to specify db config when baking controllers

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6485: Option to specify db config when baking controllers
---+
Reporter:  heathnail   |  Type:  Enhancement
  Status:  new |  Priority:  Medium 
   Milestone:  1.3.x.x | Component:  Shells 
 Version:  1.2 Final   |  Severity:  Normal 
Keywords:  connection bake controller  |   Php_version:  n/a
Cake_version:  |  
---+
 It would be nice to specify what db config bake will look to when baking
 controllers. I think a commandline argument would be nice (similar to cake
 schema):
 {{{
 -connection 
 set db config . uses 'default' if none is
 specified
 }}}
 Currently (1.2.3.8166) you cannot easily bake a controller whose
 model/table isn't in the default database config.

 Attaching patch as it seems an easy add...

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6485: Option to specify db config when baking controllers

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6485: Option to specify db config when baking controllers
---+
Reporter:  heathnail   | Owner:   
Type:  Enhancement |Status:  new  
Priority:  Medium  | Milestone:  1.3.x.x  
   Component:  Shells  |   Version:  1.2 Final
Severity:  Normal  |Resolution:   
Keywords:  connection bake controller  |   Php_version:  n/a  
Cake_version:  |  
---+
Comment (by heathnail):

 Diff is against cake/console/libs/tasks/controller.php

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #6486: ACL Front end Impletation

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6486: ACL Front end Impletation
---+
Reporter:  mahaguruabu |  Type:  Task   
  Status:  new |  Priority:  Medium 
   Milestone:  1.2.x.x | Component:  General
 Version:  1.2 Final   |  Severity:  Normal 
Keywords:  ACL implementation  |   Php_version:  n/a
Cake_version:  |  
---+
 I did not find any Front end management of ACL. So I wana start the Task
 with which one can add ACO and can manage the Permission for same. There
 are tool from back end but the is no front end I think.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #6487: Precision search parameter

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6487: Precision search parameter
+---
Reporter:  Karatecode   |  Type:  Optimization
  Status:  new  |  Priority:  Medium  
   Milestone:  1.2.x.x  | Component:  Model   
 Version:  1.2 Final|  Severity:  Normal  
Keywords:  Levenshtein  |   Php_version:  n/a 
Cake_version:   |  
+---
 It would be interesting to implement a parameter to refine your search
 with find function like Levenshtein.

 something like:

 {{{
 $this->find('all', array('conditions' => array('title' => 'titlename',
 'precision' => 3)));
 }}}

 Regards
 David

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6397: EmailComponent: Sending fails when sendAs === 'both'

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6397: EmailComponent: Sending fails when sendAs === 'both'
-+--
Reporter:  dom111| Owner:  jperras  
Type:  Bug   |Status:  new  
Priority:  Medium| Milestone:  1.2.x.x  
   Component:  Components|   Version:  1.2 Final
Severity:  Major |Resolution:   
Keywords:  EmailComponent, injection, multipart  |   Php_version:  PHP 5
Cake_version:  8004 2009-01-16 20:15:21Z gwoo|  
-+--
Comment (by dom111):

 Thanks for getting back to me.

 I don't concur that the branch to which I'm referring would only be
 reached if the email contains attachments:

 {{{
 // if not empty attachments, there are some attachments
 if (!empty($this->attachments)) {
$this->__createBoundary();
$this->__header[] = 'MIME-Version: 1.0';
$this->__header[] = 'Content-Type: multipart/mixed; boundary="'
 . $this->__boundary . '"';
$this->__header[] = 'This part of the E-mail should never be
 seen. If';
$this->__header[] = 'you are reading this, consider upgrading
 your e-mail';
$this->__header[] = 'client to a MIME-compatible client.';
// else if (attachments must be empty to get here)
} elseif ($this->sendAs === 'text') {
$this->__header[] = 'Content-Type: text/plain; charset=' .
 $this->charset;
} elseif ($this->sendAs === 'html') {
$this->__header[] = 'Content-Type: text/html; charset=' .
 $this->charset;
// else if (still no attachments...)
} elseif ($this->sendAs === 'both') {
$this->__header[] = 'Content-Type: multipart/alternative;
 boundary="alt-' . $this->__boundary . '"';
  // $this->__header[] = '';
}
 }}}

 I apologise if I've misread something there, please let me know if you
 still require a 'test case'.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6485: Option to specify db config when baking controllers

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6485: Option to specify db config when baking controllers
---+
Reporter:  heathnail   | Owner:   
Type:  Enhancement |Status:  closed   
Priority:  Medium  | Milestone:  1.3.x.x  
   Component:  Shells  |   Version:  1.2 Final
Severity:  Normal  |Resolution:  fixed
Keywords:  connection bake controller  |   Php_version:  n/a  
Cake_version:  |  
---+
Changes (by mark_story):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Thank you for the patch :). bake has been rebuilt for the most part for
 the next release, and this feature has already been implemented  Checkout
 the 1.3-bake branch at http://thechaw.com/cakephp for implementation
 details.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6486: ACL Front end Impletation

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6486: ACL Front end Impletation
---+
Reporter:  mahaguruabu | Owner:   
Type:  Task|Status:  closed   
Priority:  Medium  | Milestone:  1.2.x.x  
   Component:  General |   Version:  1.2 Final
Severity:  Normal  |Resolution:  wontfix  
Keywords:  ACL implementation  |   Php_version:  n/a  
Cake_version:  |  
---+
Changes (by mark_story):

  * status:  new => closed
  * resolution:  => wontfix

Comment:

 You mean like this.
 [[BR]]
 [[BR]]
 http://bakery.cakephp.org/articles/view/acl-management-plugin
 [[BR]]
 [[BR]]
 In any case this is not an issue with the framework, and is something you
 or another member of the community can complete and share.  If you need
 project hosting you can talk to gwoo and he can set you up with space on
 thechaw.com and there are many other hosting solutions for Open source
 software that are free to use.
 [[BR]]
 [[BR]]
 If the linked project above is not suitable, you should modify / rewrite
 it and release it :)

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6487: Precision search parameter

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6487: Precision search parameter
-+--
Reporter:  Karatecode| Owner:   
Type:  Optimization  |Status:  new  
Priority:  Medium| Milestone:  1.2.x.x  
   Component:  Model |   Version:  1.2 Final
Severity:  Normal|Resolution:   
Keywords:  Levenshtein   |   Php_version:  n/a  
Cake_version:|  
-+--
Comment (by mark_story):

 So do you have a patch with an implementation?  Because I don't know if
 implementing Levenshtein distance algorithms is something that most people
 would use, or even know how to use.  Is there any reason you feel this
 could not be implemented at the app level?

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6484: Fatal error: Cannot redeclare config() cakephp

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6484: Fatal error: Cannot redeclare config() cakephp
--+-
Reporter:  typeoneerror   | Owner:   
Type:  Bug|Status:  new  
Priority:  High   | Milestone:  1.2.x.x  
   Component:  Config |   Version:  1.2 Final
Severity:  Critical   |Resolution:   
Keywords:  Config errors  |   Php_version:  PHP 5
Cake_version:  1.2.3.8166 |  
--+-
Comment (by typeoneerror):

 I created a sample setup that recreates the error, but it's too big to
 upload. Steps to recreate:

 - Download 1.2.3.8166[[BR]]
 - Add app_controller.php

 {{{
 class AppController extends Controller
 {

 }
 }}}

 - Add IndexController

 {{{
 class IndexController extends AppController
 {

 }
 }}}

 - Add default template (/app/views/layouts/default.ctp)[[BR]]
 - Point webroot to /app/webroot (or don't; error effects bootstrapped app
 as well)[[BR]]

 - Should show the main page if you go to the webroot in a browser (so if
 you create a vhost like "http://myapp.dev";, should work fine)[[BR]]

 - Add /index to see the error ("http://myapp.dev/index"; fails with Fatal
 Error)[[BR]]

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #2551: using $form->input('fieldName'); for date fields creates a label with the wrong "for" attribute

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#2551: using $form->input('fieldName'); for date fields creates a label with the
wrong "for" attribute
+---
Reporter:  scook| Owner:  Any Developer
Type:  Bug  |Status:  closed   
Priority:  Low  | Milestone:  1.2.x.x  
   Component:  Core Libs|   Version:  RC1  
Severity:  Minor|Resolution:  worksforme   
Keywords:  label for|   Php_version:  n/a  
Cake_version:  1.2.0.4853alpha  |  
+---
Changes (by gwoo):

  * status:  reopened => closed
  * resolution:  => worksforme

Comment:

 use $form->year() if that's all you need.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6484: Fatal error: Cannot redeclare config() cakephp

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6484: Fatal error: Cannot redeclare config() cakephp
--+-
Reporter:  typeoneerror   | Owner:  
Type:  Bug|Status:  closed  
Priority:  High   | Milestone:  1.2.x.x 
   Component:  Config |   Version:  1.2 Final   
Severity:  Critical   |Resolution:  needmoreinfo
Keywords:  Config errors  |   Php_version:  PHP 5   
Cake_version:  1.2.3.8166 |  
--+-
Changes (by jperras):

  * status:  new => closed
  * resolution:  => needmoreinfo

Comment:

 A few things:

 1. Your controller does not follow convention; it should be pluralized.

 2. Considering that 'index' is usually used as a controller action, using
 it as a Controller name is not the best idea.

 3. Your example IndexController contains no actions, which will produce an
 error anyways, since the Dispatcher will automatically use the 'index'
 action of your controller if your route does not specify an action.
 [[BR]]
 [[BR]]

 Does this error occur if your controller is not named 'IndexController' ?

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6484: Fatal error: Cannot redeclare config() cakephp

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6484: Fatal error: Cannot redeclare config() cakephp
--+-
Reporter:  typeoneerror   | Owner:  
Type:  Bug|Status:  closed  
Priority:  High   | Milestone:  1.2.x.x 
   Component:  Config |   Version:  1.2 Final   
Severity:  Critical   |Resolution:  needmoreinfo
Keywords:  Config errors  |   Php_version:  PHP 5   
Cake_version:  1.2.3.8166 |  
--+-
Comment (by typeoneerror):

 #2 Oh, ok. Guess I've been using Zend Framework for too long. My bad. It
 does work fine if I rename index_controller.php to something like
 posts_controller.php.

 How exactly do I create a controller for my homepage? Add a route to a
 differently named controller?

 Also, Is there a list of "reserved controller names" somewhere in the
 documentation?

 Thanks for your help.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6487: Precision search parameter

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6487: Precision search parameter
+---
Reporter:  Karatecode   | Owner:   
Type:  Enhancement  |Status:  closed   
Priority:  Medium   | Milestone:  1.2.x.x  
   Component:  Model|   Version:  1.2 Final
Severity:  Normal   |Resolution:  wontfix  
Keywords:  Levenshtein  |   Php_version:  n/a  
Cake_version:   |  
+---
Changes (by gwoo):

  * status:  new => closed
  * type:  Optimization => Enhancement
  * resolution:  => wontfix

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5750: Configure::write() Only Supports Keys 3 Levels Deep

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#5750: Configure::write() Only Supports Keys 3 Levels Deep
-+--
Reporter:  pr1001| Owner: 
Type:  Enhancement   |Status:  new
Priority:  Low   | Milestone:  1.3.x.x
   Component:  Config|   Version: 
Severity:  Minor |Resolution: 
Keywords:  configure, write, key, depth  |   Php_version:  PHP 5  
Cake_version:|  
-+--
Comment (by gwoo):

 your patch should use Set::extract() see Session for an example.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6483: Notice in Http_socket.php when header 'Transfer-Encoding' is not set

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6483: Notice in Http_socket.php when header 'Transfer-Encoding' is not set
--+-
Reporter:  primeminister  | Owner:  
Type:  Bug|Status:  closed  
Priority:  Medium | Milestone:  1.2.x.x 
   Component:  General|   Version:  1.2 Final   
Severity:  Normal |Resolution:  needmoreinfo
Keywords: |   Php_version:  PHP 5   
Cake_version: |  
--+-
Changes (by gwoo):

  * status:  new => closed
  * resolution:  => needmoreinfo

Comment:

 you are not showing anything about how you are using it. please provide a
 test case

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6484: Fatal error: Cannot redeclare config() cakephp

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6484: Fatal error: Cannot redeclare config() cakephp
--+-
Reporter:  typeoneerror   | Owner:  
Type:  Bug|Status:  closed  
Priority:  High   | Milestone:  1.2.x.x 
   Component:  Config |   Version:  1.2 Final   
Severity:  Critical   |Resolution:  needmoreinfo
Keywords:  Config errors  |   Php_version:  PHP 5   
Cake_version:  1.2.3.8166 |  
--+-
Comment (by jperras):

 Hop onto #cakephp on irc.freenode.net (my nick = jperras) or submit the
 question to the Google Group; I'd be more than happy to help you out in
 either of those support venues. We try and keep our ticket tracker
 restricted to bugs/enhancements of the framework.[[BR]][[BR]]

 Thanks!

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6484: Fatal error: Cannot redeclare config() cakephp

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6484: Fatal error: Cannot redeclare config() cakephp
--+-
Reporter:  typeoneerror   | Owner:   
Type:  Bug|Status:  reopened 
Priority:  High   | Milestone:  1.2.x.x  
   Component:  Config |   Version:  1.2 Final
Severity:  Critical   |Resolution:   
Keywords:  Config errors  |   Php_version:  PHP 5
Cake_version:  1.2.3.8166 |  
--+-
Changes (by jperras):

  * status:  closed => reopened
  * resolution:  needmoreinfo =>

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6484: Fatal error: Cannot redeclare config() cakephp

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6484: Fatal error: Cannot redeclare config() cakephp
--+-
Reporter:  typeoneerror   | Owner:   
Type:  Bug|Status:  closed   
Priority:  High   | Milestone:  1.2.x.x  
   Component:  Config |   Version:  1.2 Final
Severity:  Critical   |Resolution:  invalid  
Keywords:  Config errors  |   Php_version:  PHP 5
Cake_version:  1.2.3.8166 |  
--+-
Changes (by jperras):

  * status:  reopened => closed
  * resolution:  => invalid

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6100: 'hasMany' won't bind in a behavior, just in controller

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6100: 'hasMany' won't bind in a behavior, just in controller
+---
Reporter:  sethdavis| Owner:   
Type:  Bug  |Status:  reopened 
Priority:  Medium   | Milestone:  1.2.x.x  
   Component:  Model|   Version:  1.2 Final
Severity:  Normal   |Resolution:   
Keywords:  model hasmany behaviors  |   Php_version:  PHP 5
Cake_version:   |  
+---
Changes (by AbhimanyuG):

  * status:  closed => reopened
  * resolution:  needmoreinfo =>

Comment:

 Same problem encountered in behavior. 'hasOne' works, but not 'hasMany'. I
 also tried setting $reset to false, but still.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #6488: time dropdowns generate a NULL on insert when midnight is selected

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6488: time dropdowns generate a NULL on insert when midnight is selected
---+
Reporter:  calzone |  Type:  Bug
  Status:  new |  Priority:  High   
   Milestone:  1.2.x.x | Component:  Helpers
 Version:  1.2 Final   |  Severity:  Major  
Keywords:  form helper time dropdowns null insert  |   Php_version:  PHP 5  
Cake_version:  1.2.3.8166  |  
---+
 Using the form helper to generate fields for a MySQL column of type TIME
 (not datetime!) results in three dropdown menus as expected (hour - min -
 meridian).
 [[BR]][[BR]]

 However, upon submitting this form, if the user selects a time of midnight
 (12:00am), Cake then attempts to insert a NULL value for the TIME field
 into the database.
 [[BR]][[BR]]

 My specific ctp configuration for this field, in case it matters, included
 defining the interval:
 {{{
 echo $form->input('starts',array('label'=>'starts','interval'=>30));
 }}}
 Cake is translating the value of 12:00 am to NULL.  I assume this is
 because 12am is the same as 0, and 0 is being expressed as NULL but this
 is just a wild guess. I have no actual clue.
 [[BR]][[BR]]

 On submit, my controller is not processing the data, and has nothing
 fancy, just:
 {{{
  $this->Inquiry->create();
  if($this->Inquiry->save($this->data))
 }}}
 It works perfectly fine for all other time values.  It's just midnight
 that messes it up.
 [[BR]][[BR]]

 I have set the priority and severity moderately high for this bug as
 midnight is a fairly common time selection and this effectively kills the
 ability to seamlessly save user inputted data under those conditions as
 the database either needs to be configured to accept null values for this
 field and the developer must later somehow account for null values as if
 they were midnight values, or the query must result in an error with no
 data saved to the database.
 [[BR]][[BR]]

 The only workaround I can think of would be to completely rehash the
 $this->data array and manually create a single time field from the three
 individual dropdowns for every time these are used in a form and to then
 replace the $this->data array with the new custom rehashed array.  For
 many developers, this is probably not obvious, and the bug itself may not
 even come up in casual testing.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6477: Sets localhost cookies to domain 127.0.0.1, not accessible to localhost or computer's name

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6477: Sets localhost cookies to domain 127.0.0.1, not accessible to localhost 
or
computer's name
--+-
Reporter:  jdp| Owner:   
Type:  Test Case  |Status:  new  
Priority:  Medium | Milestone:  1.2.x.x  
   Component:  Auth   |   Version:  1.2 Final
Severity:  Normal |Resolution:   
Keywords: |   Php_version:  n/a  
Cake_version: |  
--+-
Changes (by mark_story):

  * type:  Bug => Test Case

Comment:

 Moved to testcase until a way to reproduce is provided.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6488: time dropdowns generate a NULL on insert when midnight is selected

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6488: time dropdowns generate a NULL on insert when midnight is selected
---+
Reporter:  calzone | Owner:  
mark_story
Type:  Bug |Status:  
assigned  
Priority:  High| Milestone:  
1.2.x.x   
   Component:  Helpers |   Version:  1.2 
Final 
Severity:  Major   |Resolution: 
   
Keywords:  form helper time dropdowns null insert  |   Php_version:  PHP 5  
   
Cake_version:  1.2.3.8166  |  
---+
Changes (by mark_story):

  * owner:  => mark_story
  * status:  new => assigned

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6405: Patch - oracle and database owner

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#6405: Patch - oracle and database owner
+---
Reporter:  djogopatrao  | Owner:  phishy   
Type:  Enhancement  |Status:  new  
Priority:  Very Low | Milestone:  1.2.x.x  
   Component:  Oracle   |   Version:  1.2 Final
Severity:  Trivial  |Resolution:   
Keywords:   |   Php_version:  n/a  
Cake_version:   |  
+---
Changes (by gwoo):

  * type:  Bug => Enhancement

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---