Why does this happen?

Status
Not open for further replies.

nut legend

Active Member
123
2009
0
0
Hey,

When I try to open, close, delete etc... a thread or post I get an error saying I should contact the administrator - however this only happens with my current theme - does anyone know why?

Regards,

Josh

P.S. Just realised it is in wrong place - please move.
 
8 comments
might be error in forum display template try to revert it

Ok - that now works - however posting doesn't - any ideas?

Regards,

Josh

P.S. This is the error I get:

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
 
What you need to do is this;

Find this (in styles & templates):
Code:
<input type="hidden" name="s" value="$session[sessionhash]" />

Add this after it:
Code:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

It should fix it make sure you do it for ALL templates
 
What you need to do is this;

Find this (in styles & templates):
( <input type="hidden" name="s" value="$session[sessionhash]" /> )

Add this after it:
( <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> )
without the ( or )

It should fix it make sure you do it for ALL templates

Thanks, but which file do you mean?

Regards,

Josh
 
Go to Admincp => Styles & Templates => Search in Templates => In the search for text put this in: <input type="hidden" name="s" value="$session[sessionhash]" /> and search. All the templates which have that line of code will be highlighted in orange, open each template and find that code again and enter this after it:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
 
Go to Admincp => Styles & Templates => Search in Templates => In the search for text put this in: <input type="hidden" name="s" value="$session[sessionhash]" /> and search. All the templates which have that line of code will be highlighted in orange, open each template and find that code again and enter this after it:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

Sorry for being such an idea 8-) Sorted +1

Please close thread.

Regards,

Josh
 
Status
Not open for further replies.
Back
Top