Welcome Guest, Not a member yet? Register   Sign In
Sometimes WSOD in IE6 after refresh or walking through links
#1

[eluser]tobben[/eluser]
Has anyone got a white page of death after interacting the page in IE6?

White page after refresh( 'location'); or just navigating through different page views.

Not often, but "now and then".
#2

[eluser]JoseG[/eluser]
Hi tobben,

I'm experiencing exactly the same problem. It only happens with IE6, using Firefox or IE7 works ok. I've tried removing the .htaccess url rewriting, changing the URI protocol in config.php, etc. with no luck.

Any idea?

Thanks in advance,

Jose
#3

[eluser]xwero[/eluser]
Have you tried the refresh option already?
Code:
redirect('segment/other','refresh');
#4

[eluser]JoseG[/eluser]
xwero, thanks for your fast reply.

It happens when navigating through application links too, when no 'redirect' is involved.

If the browser is in www.myapp.com/page1 and I click a link pointing to www.myapp.com/page2 sometimes (most of the times) I get the white screen. If then I refresh the page (F5) it loads the page ok.

I'm stuck on this, thanks for your help.

Jose
#5

[eluser]Avatar[/eluser]
could this be something to do with browser caching? or caching altogether, just a thought
#6

[eluser]xwero[/eluser]
Have you set the compress_output config option to TRUE? This can be a cause of white pages too.
#7

[eluser]JoseG[/eluser]
compress_output is set to FALSE and I'm not using caching either.

Thanks for your replies.
#8

[eluser]xwero[/eluser]
Are you using routing? Could i see the code of the controller you use?
#9

[eluser]Avatar[/eluser]
I think if it was a routing issue it wouldn't give you a different result upon refresh. yes, code please.
#10

[eluser]JoseG[/eluser]
Even though I use one especial route, it happens when other routes are used so I'm not sure if it could be the cause. Anyway, I'm going to post that code just in case:

routes.php
Code:
$route['patients/show/:any'] = "patients/show";

patients.php (controller)
Code:
class Patients extends Controller {

    function Patients()
    {
        parent::Controller();
            if(!$this->site_sentry->is_logged_in())
                    redirect('login', 'location');
            $this->load->model('patients_model');
    }

    function index()
    {
        $data['tmp'] = 'tmp';

        // List of possible input variables sent via post
        $searchString = $this->input->post('fname');
        $data['pageTitle'] = 'Pacientes';
        $query =  $this->patients_model->GetLetters();
        $data['query_letters'] = $query;

        // If searchString is set let's build the query

        if(isset($searchString) && $searchString != '') {
            $query = $this->patients_model->GetPatients($searchString);
            $data['query'] = $query;
        }
        $this->load->view('patients/index', $data);
    }

    function show()
    {
        $letter = $this->uri->segment(3, TRUE);
        if(strlen($letter)!=1)
            redirect('patients', 'location');

        $data['pageTitle'] = 'Pacientes';
        $data['query_letters'] = $this->patients_model->GetLetters();
        $data['query'] = $this->patients_model->GetLetter($letter);
        $data['selectedLetter'] = $letter;
        $this->load->view('patients/index', $data);
    }

Hope it helps,

Jose




Theme © iAndrew 2016 - Forum software by © MyBB