Author Topic: On forums, can't preview post on the screen where you write it  (Read 7009 times)

webhead

  • Committee Member
  • Autococker
  • Posts: 1185
On forums, can't preview post on the screen where you write it
« on: January 22, 2016, 12:39:31 PM »
On the very page I am writing this post, clicking the Preview button results in a bar that says "Fetching preview..." and never shows the actual preview.

I investigated using Firefox's inspector, and the AJAX response coming back from the server is as follows (HTTP 200 status code):
Code: [Select]
<div>
<table border="0" width="80%" cellspacing="0" align="center" cellpadding="4" class="tborder">
<tr class="titlebg">
<td>An Error Has Occurred!</td>
</tr>
<tr class="windowbg">
<td style="padding: 3ex;">
Your session timed out while posting.  Please go back and try again.
</td>
</tr>
</table>
</div>
<div align="center" style="margin-top: 2ex;"><a href="javascript:history.go(-1)">Back</a></div>

But nothing has timed out because when I hit Post, it works fine.

Jits, maybe you can figure this out.

Cameron

  • Global Moderator
  • Autococker
  • Posts: 2686
Re: On forums, can't preview post on the screen where you write it
« Reply #1 on: January 22, 2016, 04:59:54 PM »
Ah so it's not just me.  The preview in quick reply doesn't seem to have an issue though.

webhead

  • Committee Member
  • Autococker
  • Posts: 1185
Re: On forums, can't preview post on the screen where you write it
« Reply #2 on: January 22, 2016, 05:06:05 PM »
Yeah the quick reply preview button doesn't use AJAX so that's probably part of it.

Davew_

  • PGP
  • Posts: 46
Re: On forums, can't preview post on the screen where you write it
« Reply #3 on: January 23, 2016, 06:06:34 AM »
SMF is the forum brand it is always way behind the times.. always was.. :)

TheRealUMaster

  • PGP
  • Posts: 45
Re: On forums, can't preview post on the screen where you write it
« Reply #4 on: January 23, 2016, 07:10:37 AM »
Jits should better switch to somethin else, like buddypress (on wp) or phpbb or mybb.

webhead

  • Committee Member
  • Autococker
  • Posts: 1185
Re: On forums, can't preview post on the screen where you write it
« Reply #5 on: January 24, 2016, 06:34:39 PM »
SMF is the forum brand it is always way behind the times.. always was.. :)
But even worse, he's not on the latest version. They're on 2.x or something now.

Jits should better switch to somethin else, like buddypress (on wp) or phpbb or mybb.
the only one of those I would support would be MyBB.

pvtjimmy

  • Committee Member
  • Autococker
  • Posts: 2098
Re: On forums, can't preview post on the screen where you write it
« Reply #6 on: January 25, 2016, 12:47:07 AM »
Yeah the quick reply preview button doesn't use AJAX so that's probably part of it.

good decision. ;)


webhead

  • Committee Member
  • Autococker
  • Posts: 1185
Re: On forums, can't preview post on the screen where you write it
« Reply #7 on: January 25, 2016, 08:27:42 AM »

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: On forums, can't preview post on the screen where you write it
« Reply #8 on: June 29, 2016, 10:16:51 PM »
Weird.  Works for me in Opera.  What browser are you using?

Cameron

  • Global Moderator
  • Autococker
  • Posts: 2686
Re: On forums, can't preview post on the screen where you write it
« Reply #9 on: June 30, 2016, 05:42:17 PM »
Firefox for me, still not working.  Just gave it a run in Edge and Chrome and it worked fine.