From: "CakePHP : The Rapid Development Framework for PHP" <tick...@cakephp.org>
Date: Fri, 09 May 2008 15:27:47 -0000
Local: Fri, May 9 2008 11:27 am
Subject: Re: [CakePHP : The Rapid Development Framework for PHP] #4610: ErrorHandler does not check the lowercase method name specifically, which can lead to undefined variable notice
#4610: ErrorHandler does not check the lowercase method name specifically, which
can lead to undefined variable notice -----------------------------------------------------------------+--------- - Reporter: RainChen | Owner: Type: Bug | Status: new Priority: Very Low | Milestone: 1.2.x.x Component: Error Handling | Version: 1.2.x.x Severity: Trivial | Resolution: Keywords: ErrorHandler lowercase undefined notice rainchen | Php_version: PHP 4 >= 4.3.2 Cake_version: 1.2.0.6311 | -----------------------------------------------------------------+--------- - Changes (by Sliv): * keywords: => ErrorHandler lowercase undefined notice rainchen
Old description:
> source code download from
New description:
> http://cakephp.org/files/nightly/1.2.x.x/1.2.x.x_09.05.2008.tar.gz > type a none exists action in the url, then the page display some
> Notice (8): Undefined variable: code [CORE\cake\libs\error.php, line
> Notice (8): Undefined variable: name [CORE\cake\libs\error.php, line
> Notice (8): Undefined variable: message [CORE\cake\libs\error.php, line
> Notice (8): Undefined variable: code [CORE\cake\libs\error.php, line
> Notice (8): Undefined variable: name [CORE\cake\libs\error.php, line
> the bug is in the cake/libs/error.php (line 77) :
> if (!in_array($method, get_class_methods($this))) {
> should be :
> if (!in_array(low($method), get_class_methods($this))) {
source code download from:[[BR]]
Notice (8): Undefined variable: name [CORE\cake\libs\error.php, line 103]
Notice (8): Undefined variable: message [CORE\cake\libs\error.php, line
Notice (8): Undefined variable: code [CORE\cake\libs\error.php, line 105]
Notice (8): Undefined variable: name [CORE\cake\libs\error.php, line 105]
Comment:
Updated for clarity and formatting
-- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||