Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Variables displaying as variable names in error page templates

Status Resolved
Add-on / Version Custom System Messages
Severity Critical
EE Version

Mediakitchen

Oct 31, 2012

I have created a template to deal with errors when retrieving a new password for a member

i.e Action 33 (Retrieve Password On Error)

When I submit the retrieve password form with an email address that is not a valid member, it correctly displays the template I have assigned for this action.

However none of the variables have any values and simply display how I typed them in the template
e.g {csm:referrer} or {csm:content}.
I have tried it with and without the csm: prefix and I get the same results.

Note I am using the User module and my form code is as follows:

<form id="forgot_password_form" method="post" acti  >
<div class='hiddenFields'>
<input type="hidden" name="XID" value="0f4e61f66a7b4b1eea2a2d838dd6f399b1188b8d" />
<input type="hidden" name="ACT" value="38" />
<input type="hidden" name="RET" value="" />
<input type="hidden" name="params_id" value="uypVgdHTrGOFPpkSRMkvVYKZa" />
<input type="hidden" name="site_id" value="1" />
</div>


 
     <p>
       
        <input type="text" id="email" name="email" value="Email address"   />
    </p>
<p>      </p><p class="login_submit">
            <input type="submit" id="submit" name="submit" value="Send my password" />
         </p>
<p> <br />
    </form>

I really need to know the referrer as I have 2 different retrieve password templates and both of these templates end up on this one error template so I need to link the user back to where they came from.

Any idea why these variables are not being displayed. I am successfully display the variable content on other error templates but this particular one seems to be behaving badly or I am misunderstanding something.

UPDATE: Just installed URL Helper and it is correctly displaying the value of {referrer} which kind of resolves my issue but I am still interested to know why none of the CSM variables were displayed.

Note I am using EE v2.5.3 - Build Date: 20120911

#1

BoldMinded (Brian)

Hi Paul, I’m not sure why they wouldn’t be rendering. I’d have to see the form in action and potentially have access to the php file so I can debug when the action is occurring. If you can edit this ticket and add FTP credentials to the ticket details I can login and take a look at it.

#2

BoldMinded (Brian)

Also, which version of CMS are you using? The latest is 2.4.2.

#3

Brian Litzinger

Paul, are you still having trouble with this? If so please provide a URL to the page so I can see it in action, and possibly FTP access so I can debug the file as the error is happening. Just edit the ticket and enter the info into the form fields, only I will see the info.

#4

Mediakitchen

Thanks Brian - the problem is resolved thanks to your help in identifying the issue on my server. Great extension!!!

Login to reply