Welcome Guest, Not a member yet? Register   Sign In
Putting codeigniter on a production server
#1

[eluser]Unknown[/eluser]
Hello.

I am a beginner in CI development. Recently i wanted to put a CI application on my hosting. I went into config.php and updated the base url. When i try to access the hosting it redirects me to the default controller but for some reason it doesn't show anything. I tried to view the source and it was empty. But when i try to access it on my home development server, with the base_url properly edited, it works fine.

Can anyone help me with any indication?

Thanks in advance.
#2

[eluser]InsiteFX[/eluser]
If you leave the base_url blank CI will try to figure it out!
Code:
$config['base_url'] = '';

Lots of other things can happen when uploading files to your live server.

Check your server to see if it is case sensitive on characters.

Make sure you uploaded the files with the right protocol.




Theme © iAndrew 2016 - Forum software by © MyBB