We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Redirect not working

Development and Programming

mweichert's avatar
mweichert
68 posts
16 years ago
mweichert's avatar mweichert

Hello,

I have a problem I’ve never encountered before. In one of my modules, I have an action that processes a form and then redirects to a different page.

At the end of this function, I have the following:

$FNS->redirect($FNS->create_url('test/results'));

As soon as my module hits this page, activity seems to halt - the browser displays ‘Loading..’ and doesn’t continue. I sit there and wait for a 408 HTTP Request Timeout.

Any ideas?

Thanks, Mike

       
Greg Aker's avatar
Greg Aker
6,022 posts
16 years ago
Greg Aker's avatar Greg Aker

That’s strange. Are you sure everything above it is being processed correctly, and the redirect is what is borking?

       
mweichert's avatar
mweichert
68 posts
16 years ago
mweichert's avatar mweichert

I found out that this occurs when the template hasn’t been created yet for the page that I redirect to.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.