• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
base_url

#1
[eluser]Bob Puzld[/eluser]
Hi, This is probably something easy, but I am somewhat a newbie to Codeigniter. Since I upgraded to the latest version of Codeigniter, my users get this error when logging out of the system:

404 Page Not Found
The page you requested was not found.


With this error my base url ends with /main/something

Here is my code from the logout...

Code:
<a >config->item('base_url')?&gt;login/logout">Logout</a>

Also, my config.php file uses the following code to name the base url...

Code:
$config['base_url']    = "http://www.mywebsite.com/";

Maybe I am looking in the wrong place, but any help would be appreciated.


-Bob


Messages In This Thread
base_url - by El Forum - 12-15-2009, 04:20 PM
base_url - by El Forum - 12-15-2009, 05:22 PM
base_url - by El Forum - 12-16-2009, 09:46 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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