Welcome Guest, Not a member yet? Register   Sign In
Loading library - error
#1

[eluser]lombriz[/eluser]
For some reason, when i try to load form_validation, i get the error "unable to load class form_validation".
I've doublechecked all files etc, and it's there, in its right place.

It works on my local server, but not on my LAMP-server.
I have other CI-applications running there without problems, on 2.1.4.

Any idea?
#2

[eluser]LuckyFella73[/eluser]
please provide your code otherwise it's hard to tell what might went wrong.
#3

[eluser]lombriz[/eluser]
Code:
$autoload['libraries'] = array('database', 'session','user_agent','form_validation','pagination');

If i remove form_validation, it loads just fine.

It works on my local server, but not on my remote server, however, 2.1.4 works just fine on that remote server.

This is 2.2.0
#4

[eluser]InsiteFX[/eluser]
Check the case of your files some servers want all lowercase file names and others do not care
#5

[eluser]lombriz[/eluser]
I run several 2.1.4 sites on that same server, working just fine though.
2.2.0 is the only one giving this problem.

Also tried uppercase, lowercase, manually loading it etc
#6

[eluser]InsiteFX[/eluser]
Well then I would try downloading and uploading the complete CI again, I have gotten
bad downloads before that seemed to work but then they would not.




Theme © iAndrew 2016 - Forum software by © MyBB