• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
redirect() returns blank page in live server but works in localhost

i think i have tried all the solution in stackoverflow&ci forum but still, i cant make it work. i have no problem storing sessions and if i manually type the url i dont encounter any problems at all but when using redirect() in live server it doesnt work at all . it returns blank page and i am still at the current page/url

 function __construct() {

        if($this->session->userdata('logged_in_admin')) { 

on autoload.php
$autoload['helper'] = array('url','pis');

PHP Code:

You don't use base_url() in a redirect.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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