ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

What did I do wrong? EE {redirect}

December 15, 2008 6:07am

Subscribe [1]
  • #1 / Dec 15, 2008 6:07am

    studioamk

    18 posts

    If a user has the same username and screen name, I forced that user to change his/her screen name.

    <!-- Update Screen Name -->
    {if username==screen_name && segment_2 != "update_screen_name" }
    {redirect="welcome/update_screen_name"}
    {/if}
    <!-- Update Screen Name Ends-->

    It was working fine, but after server maintenance, it stopped working…
    Instead of redirecting, it now showing {redirect="welcome/update_screen_name"}...
    How can I fix it?

  • #2 / Dec 15, 2008 10:27am

    Pascal Kriete

    2589 posts

    Are you on a windows server?

    If so, could please go to Admin ›  System Preferences ›  Output and Debugging Preferences

    And toggle “Redirection Method” to refresh.

    Do you know what happened during this ‘server maintenance’?

  • #3 / Dec 15, 2008 11:13am

    studioamk

    18 posts

    My bad… I uploaded old backup files… 1.6.4…
    But, some how ee control panel was showing as 1.6.5…
    That’s why, I thought, I uploaded the correct files…

    Now, I upgraded to the latest one… 1.6.6…

    Ha ha… sorry all… !

  • #4 / Dec 15, 2008 11:20am

    Pascal Kriete

    2589 posts

    I take that as it being solved.

    Please don’t hesitate to open a new thread if anything else comes up.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases