Welcome Guest, Not a member yet? Register   Sign In
Having problems with validation class at godaddy
#1

[eluser]lynkyle[/eluser]
I just can't seem to get past this hurdle.

In my development server, the validation class is working perfectly.

But when I tested it at Godaddy, validation errors are not displayed and $_POST variables seems lost too. (ie, the entries in the forms are lost when the page reloads in where the errors also should display).

Any ideas anyone? Thanks a lot.
#2

[eluser]Colin Williams[/eluser]
It is entirely possible that GoDaddy does something strange with its PHP install. You might even have to "turn on" this feature in the GoDaddy CP somewhere. GoDaddy is trash. Move over to (mt)
#3

[eluser]lynkyle[/eluser]
Well, I can't... because its my client's decision.

Just the same, I finally got it to work, thanks to this thread: http://ellislab.com/forums/viewthread/52635/

What I did was to load the validation class in the controller function that actually runs/needs the validation class and NOT LOAD it on my controller's constructor... (a solution for godaddy hosted websites).

I just wasted virtually 3 hours looking for this but nevertheless, I still appreciate it... Lessons learned along the way...




Theme © iAndrew 2016 - Forum software by © MyBB