Welcome Guest, Not a member yet? Register   Sign In
Custom form validation not working on live server
#1

[eluser]DrDave[/eluser]
I have been developing my first CI site on my local development environment. I have a library called MY_form_validation.php that contains a number of validation methods, for example, to check for a valid url, or to check if a username already exists. Everything works fine locally, but none of the custom validation rules work at all on the live server.

Is there something I should be looking for on the server that could cause these to not work? Everything else on the site seems to work fine. It is running Php 5.2.17

Thanks in advance!
#2

[eluser]helmutbjorg[/eluser]
Generally if things like that happen - where the local and live versions don't seem to be working the same - you may need to check on the case sensitivity. Make sure the library is called MY_Form_validation (rather than MY_form_validation). Make sure the class name is correct as well as the filename.
#3

[eluser]DrDave[/eluser]
That was it, thanks!!
#4

[eluser]neerose[/eluser]
cheers worked for me..
thank you so much for tip
#5

[eluser]Unknown[/eluser]
thanks much1




Theme © iAndrew 2016 - Forum software by © MyBB