• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
base_url() returning ip instead of url in 3.1.3

#1
I'm having a weird issue where base_url() is returning the IP address of the server instead of the actual URL. I have the site in a folder on the server, similar to another site that I have that's running codeigniter 3.0.6.

The older site is https://www.klccomputing.com/tracker and is running 3.0.6 and works just fine.
The newer site is https://www.klccomputing.com/icingOnTheCake and is running 3.1.3, but returns the IP.

Is there some sort of configuration change that would cause this difference?
Reply

#2
https://www.codeigniter.com/user_guide/i...-not-empty
Reply

#3
I soooo stupid!!! I knew this and forgot to set it!!!

THANK YOU!!!
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.