The tutorial is based off of code from the 1.1 branch, hence the
warnings and the errors when using 1.2.
I know it's not easy for a beginner, but follow the warnings about
depricated functions and see if you can make them go away.
On 6/7/07, Hans <[EMAIL PROTECTED]> wrote:
>
> New here to CakePhp, really excited since this is exactly what i´m
> looking for! (writing endless repititive/boring code became a big
> demotivator for building websites)
>
> Installation went perfect, however now i'm coping with some problems
> with the Cakephp Blog Tutorial which i can't seem to solve (already
> searched extensively for answers)
> Viewing the index and example blog posts = no problem, however when i
> add the "add posts" and "edit posts" form, i get numerous errors on
> these pages (see details below):
>
> Can someone point me in the good direction for solving this?
>
> Thanks,
>
> Hans
>
> =====
> Title:
> Notice: Method input() is deprecated in htmlhelper: see
> FormHelper::input or FormHelper::text in [dir]/cake/libs/view/helpers/
> html.php on line 610
>
> Notice: Method tagErrorMsg() is deprecated in htmlhelper: see
> FormHelper::error in [dir]/cake/libs/view/helpers/html.php on line 676
>
>
> Body:
> Notice: Method textarea() is deprecated in htmlhelper: see
> FormHelper::input or FormHelper::textarea in [dir]/cake/libs/view/
> helpers/html.php on line 534
>
>
> Warning (512): Method htmlhelper::submit does not exist [CORE/cake/
> libs/view/helper.php, line 148]
>
> Context
> $this = htmlhelper object
> $method = "submit"
> $params = array(0 => "Save")
>
>
> Code
> function get__($name) {}
> function set__($name, $value) {}
> function call__($method, $params) {
> trigger_error(sprintf(__('Method %1$s::%2$s does not exist', true),
> get_class($this), $method), E_USER_WARNING);
> }
>
>
> htmlhelper::call__() - CORE/cake/libs/view/helper.php, line 148
> htmlhelper::__call() - CORE/cake/libs/overloadable_php4.php, line 84
> htmlhelper::debug_backtrace() - [internal], line ??
> include - CORE/app/views/posts/add.thtml, line 14
> view::_render() - CORE/cake/libs/view/view.php, line 779
> view::render() - CORE/cake/libs/view/view.php, line 346
> postscontroller::render() - CORE/cake/libs/controller/controller.php,
> line 654
> dispatcher::_invoke() - CORE/cake/dispatcher.php, line 343
> dispatcher::dispatch() - CORE/cake/dispatcher.php, line 322
> [main] - CORE/app/webroot/index.php, line 83
>
>
> Cakephp version info:
> +---------------------------------------------------------------------------------------------------
> + //
> // + $Id: VERSION.txt 5165 2007-05-24 04:42:33Z phpnut $
> // + Last Modified: $Date: 2007-05-23 23:42:33 -0500 (Wed, 23 May
> 2007) $
> // + Modified By: $LastChangedBy: phpnut $
> //
> +---------------------------------------------------------------------------------
> 1.2.0.5165alpha
> ====
>
>
> >
>
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---