MyBB Community Forums

Full Version: Something Weird Happens When Clicking on Edit Post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
On my site ( http://www.openmarketforums.co.uk/ ) whenever someone clicks on the edit button on their post or thread it opens up the correct page, but it leaves the text box empty instead of putting what is being edited in it.

You guys can go on there to test it out to see if you can find out what is wrong.

How should I go about fixing this?



Some pictures

This is what it looks like before clicking the edit button:
[Image: Mo9BF4n.png?1]

And after clicking the edit button:
[Image: DTLMyWb.png?1]
Please post the content of your template file:

- postbit_edit
This is everything in the postbit_edit template:

<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}"><input type="submit" value="Edit" class="button" /></a>
Tindris probably meant the editpost template. Could you post that?
It is too big to post here so I will have to put it in a .txt document.

[attachment=31736]
Change:
<textarea id="message" name="message" rows="20" cols="110" tabindex="2" ></textarea>
To:
<textarea id="message" name="message" rows="20" cols="110" tabindex="2" >{$message}</textarea>
Thanks, that fixed it!
Yes I did, thanks Jordan, I was half asleep...