[Catalyst] IE6 shows page cannot be displayed
Ascii King
tech at swattermatter.com
Fri Oct 16 15:53:17 GMT 2009
Oleg Kostyuk wrote:
> 2009/10/14 Ascii King <tech at swattermatter.com>:
>
>> # Redirect to the list_prior page
>> $c->response->redirect($c->uri_for('list_prior'));
>>
>
> Long time ago I have problems with calling uri_for, using string as
> first argument. For me solution was to use action argument, and now I
> use only this way. May be, this help you to:
>
> $c->response->redirect($c->uri_for($self->action_for('list_prior')));
>
> HTH
Thanks, Oleg. I tried it, but it didn't resolve my problem. I kept it
in the code though.
It seems that even though 'list_prior' is being called, it tries to load
the page 'new_prior'. In Firefox, it makes the GET request properly:
[debug] Redirecting to "http://localhost:3000/prior/list_prior"
[info] Request took 7.597684s (0.132/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /auto | 0.002454s |
| /prior/new_prior | 7.481939s |
| /end | 0.000714s |
'------------------------------------------------------------+-----------'
[info] *** Request 28 (0.134/s) [2516] [Fri Oct 16 11:11:09 2009] ***
[debug] "GET" request for "prior/list_prior" from "127.0.0.1"
[debug] Found sessionid "a78032d6668b68496d032b58142f921ffb76b9e9" in
cookie
[debug] Restored session "a78032d6668b68496d032b58142f921ffb76b9e9"
[debug] Path is "prior/list_prior"
[debug] Rendering template "prior/list_prior.tt2"
But, in IE6 it hangs right here and displays a blank page if the form
had errors on it or a 'page cannot be displayed' message if the
form was submitted and valid. You can see that it is processing the
redirect to the list_prior but it doesn't seem to send the "GET" request.
[debug] Redirecting to "http://localhost:3000/prior/list_prior"
[info] Request took 6.539849s (0.153/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /auto | 0.002566s |
| /prior/new_prior | 6.488534s |
| /end | 0.000663s |
'------------------------------------------------------------+-----------'
More information about the Catalyst
mailing list