Hi Mohammad,

Have you checked on typos in your object/controller/function name? 

Common typos are e.g. your model is named Foo
$this->data['Foos'] instead of $this->data['Foo']
Or the action goes to foo_controller instead of foos_controller
Lastly check your model foo.php on typos.

Good hunt!

Anja

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag von xelios
Gesendet: Donnerstag, 16. Oktober 2008 09:09
An: CakePHP
Betreff: Object not found! error...


I am following a tutorial for CakePHP from "https:// 
www6.software.ibm.com/developerworks/education/os-php-cake1/
section3.html"

I created a view for registration, on submitting it should submit values to the 
database. But it is displaying error  "Object not found!".

Following is my view code:

/***************************************************************/
<form action="/users/register" method="post"> <p>Please fill out the form below 
to register an account.</p> <label>Username:</label><input name="username" 
size="40" />

<label>Password:</label><input type="password" name="password"
size="40"
/>

<label>Email Address:</label><input name="email" size="40"
maxlength="255" />

<label>First Name:</label><input name="first_name" size="40" />

<label>Last Name:</label><input name="last_name" size="40" />

<input type="submit" value="register" /> </form>



/***************************************************************/

please help me...



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to