Welcome Guest, Not a member yet? Register   Sign In
deployment error
#1

I have an application written in codeigniter 3.
I have developed it on localhost and i have tried to move it to a live server but it throws me a codeigniter 404 error.
It is not the .htaccess's fault since i have properly edited it.
I have no idea what causes this error.Please help me
Reply
#2

If it is not .htaccess, then your filenames probably aren't capitalized properly. You can double-check the relevant portions of the user guide, but in most cases your class names and the files which contain them are supposed to start with a capital letter (generally with the rest in lowercase).
Reply
#3

Yes, read user guide carefully and check class filename:
https://github.com/kenjis/codeigniter3-filename-checker
Reply
#4

But is it possible to work on localhost and not on a live server?
Reply
#5

You were right,thanks.
I have capitalized the libraries,the models and the controllers but the controllers fails to load a library(ion_auth)
Reply
#6

(07-03-2015, 03:19 AM)alindima Wrote: But is it possible to work on localhost and not on a live server?

Yes, if you use Windows or Mac.
Because their file system is case insensitive.
But if your live server is Linux or BSD, probably your file system is case sensitive.
Reply
#7

(07-03-2015, 06:29 AM)alindima Wrote: You were right,thanks.
I have capitalized the libraries,the models and the controllers but the controllers fails to load a library(ion_auth)

You must fix the file names in ion_auth.
See https://github.com/benedmunds/CodeIgnite...patibility
Reply
#8

I have properly fixed the file names as in the docs,but it still fails to load..
Reply
#9

I fixed it.My server was running PHP 5.2 and hence,bcrypt,the encryption library which ion_auth requires wasn't supported
I shall move my website to another server.
Thanks for your help
Reply




Theme © iAndrew 2016 - Forum software by © MyBB