Cakephp SQL SERVER

Asked

Viewed 135 times

0

I’m in big trouble here.

I have a cakephp application hosted on the Windows server.

The following problem is happening: The save method of NO model is working. In debug I search for validation error and invalide Fields. Nothing returns me problem and when I search the last query of the model and put directly in the database I can insert and update any table.

Does anyone have any idea what it might be?

query example returned:

INSERT INTO [categorias] ([cod], [nome], [garantia]) VALUES (N'teste', N'teste', 3)  

Directly in the bank works, any idea why it doesn’t work by the application?

Thank you!

  • Database user is allowed to write?

  • Yes. I use the same user to connect to the database by sql management studio, and there I can do insert and update, but by the application is not possible. My models do not return any errors. Could it be some relationship problem? Or is it in the application itself?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.