Friday, September 30, 2011

Re: How do I get rid of these errors?

We could help you more if you pasted the code that is generating these errors. It's clear that you are referencing some array keys that don't exist.

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 29 Sep 2011, at 17:01, DaGenius wrote:

Someone please help! This is my first major project in CakePHP and
everything other thing is working fine except the view in User. When I
click to view the details of a user, it brings out the errors as shown
below

User Detail

ID

   Notice (8): Undefined index: User [APP\views\users\view.ctp, line
6]


Username

   Notice (8): Undefined index: User [APP\views\users\view.ctp, line
11]


Password

   Notice (8): Undefined index: User [APP\views\users\view.ctp, line
16]


Email

   Notice (8): Undefined index: User [APP\views\users\view.ctp, line
21]


Firstname

   Notice (8): Undefined index: User [APP\views\users\view.ctp, line
26]


Lastname

   Notice (8): Undefined index: User [APP\views\users\view.ctp, line
31]


Group

   Notice (8): Undefined index: Group [APP\views\users\view.ctp, line
36]


Client

   Notice (8): Undefined index: Client [APP\views\users\view.ctp,
line 41]


Active

   Notice (8): Undefined index: User [APP\views\users\view.ctp, line
46]


Created

   Notice (8): Undefined index: User [APP\views\users\view.ctp, line
51]


Modified

   Notice (8): Undefined index: User [APP\views\users\view.ctp, line
56]



Actions

   Notice (8): Undefined index: User [APP\views\users\view.ctp, line
64]

   Edit User

   Notice (8): Undefined index: User [APP\views\users\view.ctp, line
65]

Can someone please help me out, I have done all I know but with no
success. Thanks in advance.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: