0
The code is on the link because is in a folder system.
PROBLEM:
I have an MVC architecture.Inside the view I have a class that contains a registration form that is in the initial tela_class.The form field data are sent to a script that contains an ajax this ajax will send the information to the class user control and then there will be a return to script by function (done).
The error is happening in the User class ,every time I try include the connection class present in the Singleton package get an error which is issued by the done function of ajax.
In the code I left commented the inclusion but you can remove the comment include_once of the User class and insert the data ,which will see the error. This is the error image when I include the connection class:
I used the absolute url and it worked. Thanks!
– thiago
is nois Thiago! thanks for considering as a response and voting as useful :D
– Julio Henrique