Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Hide redirect message - possible?


Reply


6 Posts   1873 Views

Avatar
Moose

Community Member, 26 Posts

22 April 2009 at 9:07pm

Hi

I had a requirement for a specific type of multi-step form. I extended the userform module to achieve the result. In the controller I use Director::redirect(...). The problem is that the visitor sees an ugly redirect message - including line numbers etc. while the redirect happens.

Is there any way to suppress this?

Thanks!

Avatar
Carbon Crayon

Community Member, 598 Posts

22 April 2009 at 10:31pm

Yea I started getting this on a site I upgraded from 2.23 to 2.31. It happens when using a redirector page for me and also when uploading an image through the CMS (inside the ImageField Iframe).

Not sure what's causing it or how to fix it but it's certainly not normal behavior......

Anyone got any ideas?

Avatar
Bruce B

Community Member, 147 Posts

24 April 2009 at 9:28am

So - the good news is other people are seeing the ugly redirect pages and therefore someone might find an answer.
The bad news is that aram is seeing them and hasn't found an answer.

Avatar
_Vince

Community Member, 162 Posts

10 July 2009 at 3:26pm

Any news on this?

I was having the same problem, then today I clicked on the message displayed by the redirect and the problem has gone away and redirect occurs without the message.

Sounds very odd and voodoo like. Anybody have any ideas on how to fix the problem?

Avatar
Ricardona

Community Member, 26 Posts

28 December 2009 at 4:19am

I have the same issue, any news about this ?

Thanks for help

Ricardo Cardona R

Avatar
Ricardona

Community Member, 26 Posts

5 January 2010 at 3:47pm

I found

http://www.silverstripe.org/archive/show/217783#post217783

Look for extra spaces to file end.

Ricardo