Welcome Guest, Not a member yet? Register   Sign In
submit form and weird 404 error
#1

I have the app running on CI 2.2.x and migrating over 3.1.4 and found this kinda
weird error

the post action = 'employee/process' and it has been working fine for few years under legacy 2.2
now as it is running 3.1.4 it caused error 404 as /employee/process not found!

The Employee.php class has surely contained the method 'process'

What is really happenning here?  IF anyone can tell, 

Thank you
Reply
#2

Which server are you using?
Make sure your htaccess rewrite rules are working.
Reply
#3

What does your config/routes.php look like?
Reply
#4

Best thing to do here is to check your error log files to see what is causing the error.

Also make sure that you followed all the CodeIgniter 3x upgrade steps.

Make sure that you set the base_url in ./application/config/config.php

Make sure that Controllers and Libraries are ucfirst uppercase named.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#5

(06-05-2017, 10:29 PM)pks11 Wrote: Which server are you using?
Make sure your htaccess rewrite rules are working.

My bad,  I forgot to copy .htaccess from my old code over! my bad

Cheers
Reply




Theme © iAndrew 2016 - Forum software by © MyBB