[eluser]hoyer801[/eluser]
I recently transferred a site from one server to a new one and now I can't get my login form to work. The old server was CentOS/Plesk and the new one is Ubuntu 12.04/Virtualmin using fastcgi. The only change I made to the code was a slight change to the .htaccess that was required to get CI to work on fastcgi.
When you visit the login page on the new server and enter credentials, whether correct or incorrect, you are redirected back to the login page with no error message. On the old server, you get either the logged in page or an error message about incorrect credentials.
The server logs are identical between the two, but I found a difference in the CI logs.
CI log for old the server (this one works):
Quote:DEBUG - 2012-05-24 02:16:24 --> Config Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Hooks Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Utf8 Class Initialized
DEBUG - 2012-05-24 02:16:24 --> UTF-8 Support Disabled
DEBUG - 2012-05-24 02:16:24 --> URI Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Router Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Output Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Security Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Input Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Global POST and COOKIE data sanitized
DEBUG - 2012-05-24 02:16:24 --> Language Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Loader Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Helper loaded: url_helper
DEBUG - 2012-05-24 02:16:24 --> Helper loaded: form_helper
DEBUG - 2012-05-24 02:16:24 --> Helper loaded: html_helper
DEBUG - 2012-05-24 02:16:24 --> Helper loaded: text_helper
DEBUG - 2012-05-24 02:16:24 --> Database Driver Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Session Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Helper loaded: string_helper
DEBUG - 2012-05-24 02:16:24 --> Session routines successfully run
DEBUG - 2012-05-24 02:16:24 --> Jquery Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Javascript Class Initialized and loaded. Driver used: jquery
DEBUG - 2012-05-24 02:16:24 --> Model Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Model Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Model Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Model Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Model Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Email Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Controller Class Initialized
DEBUG - 2012-05-24 02:16:24 --> Form Validation Class Initialized
DEBUG - 2012-05-24 02:16:24 --> File loaded: application/views/includes/header.php
DEBUG - 2012-05-24 02:16:24 --> File loaded: application/views/includes/footer.php
DEBUG - 2012-05-24 02:16:24 --> File loaded: application/views/login.php
DEBUG - 2012-05-24 02:16:24 --> Final output sent to browser
DEBUG - 2012-05-24 02:16:24 --> Total execution time: 0.0820
The new server the lines are identical up until the point where the Form Validation Class is initialized. Instead of that, all I get is this:
Quote:DEBUG - 2012-05-24 09:03:40 --> Controller Class Initialized
ERROR - 2012-05-24 09:03:40 --> 404 Page Not Found -->
If anyone could give me some suggestions on what I should do here, I would be most grateful.