hi everyone,
i need help. again. since this forum always has answers i thought i
give it a shot :)
on my future website the users have the opportunity to edit their
profile. to do that their profile info gets retrieved from the
database to input fields in a form. after editing their information
now if i hit the save button i get the error:
UsersController::__updateProfile() cannot be accessed directly
whats wrong here?
Cake assumes methods prefixed with double underscores are private, and
therefore can not be access directly, only internally via another
public method.
hth
J
--
thx. seems to work. but cake inserts new data and doesnt updatei
guess i havent declared a where clause, so thats the reason!!!???
wher would i put it?
thx
On 8 Jul., 11:17, Jon Bennett jmbenn...@gmail.com wrote:
now if i hit the save button i get the error:
Also do a Cake Bake on a model to see how cake itself does pretty
basic Create/Read/Update/Delete.
On Jul 8, 10:17 am, Jon Bennett jmbenn...@gmail.com wrote:
now if i hit the save button i get the error:
UsersController::__updateProfile() cannot be accessed directly
whats wrong here?