Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter redirect to localhost after online migration
#5

(This post was last modified: 11-27-2015, 10:45 AM by JackIlpazzo.)

(11-27-2015, 09:26 AM)arma7x Wrote: What is your default controller? Request to http://primodebug.esy.es/Calendario always redirect to http://localhost/Calendario/user/login. Try check your default controller. Another question, why put your web based folder in public_html??

I put the application "Calendario" folder in public_html 'cause in the root of the system there's a file the specific 'do not upload file here'. Why this question? As you saw in my configuration file I call this variable: 

PHP Code:
$config['base_url']    = SystemConfiguration::$base_url

the content of this variable is:  http://primodebug.esy.es/Calendario
I've also try to change into:

PHP Code:
$config['base_url'] = "http://primodebug.esy.es/Calendario" 

But still redirect on localhost..

UPDATE:

If I insert this url: http://primodebug.esy.es/Calendario/user/login

The application login is loaded correctly but if I try to login with this credential:

Username: Test
password: 123456789

(just for debug scope).

Seems that the server doesn't return any data response.. But I've checked the login is performed successfully.
Reply


Messages In This Thread
RE: CodeIgniter redirect to localhost after online migration - by JackIlpazzo - 11-27-2015, 10:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB