supplierdeeply

Preview not working or very slow?

  • 20 Replies
  • 2045 Views
*

Offline reyalp

  • ******
  • 11394
Preview not working or very slow?
« on: 26 / May / 2016, 16:16:54 »
Advertisements
Recently, pressing the preview button seems to just show "Fetching preview" forever, or a very long time (well over a minute). Using firefox on Win7, new theme.

edit:
Seems to be working in chrome
« Last Edit: 26 / May / 2016, 21:52:26 by reyalp »
Don't forget what the H stands for.

Re: Preview not wroking or very slow?
« Reply #1 on: 26 / May / 2016, 16:19:19 »
Worked instantly here, Chrome on OS X... :/ Have you tried a different browser?




Re: Preview not wroking or very slow?
« Reply #2 on: 26 / May / 2016, 16:20:40 »
I don't have Firefox installed, have you checked for anything strange on the inspector?

*

Offline reyalp

  • ******
  • 11394
Re: Preview not wroking or very slow?
« Reply #3 on: 26 / May / 2016, 16:24:05 »
Old theme is affected too.

In firebug console
Code: [Select]
POST https://chdk.setepontos.com/index.php?action=post2;board=2;preview;xml
script.js?rc3 (line 25)

TypeError: XMLDoc.getElementsByTagName(...)[0] is undefined


x[x.length] = checkboxFields[i] + '=' + document.forms.postmodify.elements[checkboxFields[i]].value;
edit:
 Hmm, that looks like the wrong bit of code. Maybe
Code: [Select]
TypeError: XMLDoc.getElementsByTagName(...)[0] is undefined


var preview = XMLDoc.getElementsByTagName('smf')[0].getElementsByTagName('previe...
« Last Edit: 26 / May / 2016, 16:27:10 by reyalp »
Don't forget what the H stands for.


Re: Preview not wroking or very slow?
« Reply #4 on: 26 / May / 2016, 17:15:01 »
I can't look at this properly right now, but it's weird, in the js file (which is unchanged since last year) the object is actually oXMLDoc, not XMLDoc...


Are you just posting text or anything in bbcode?



*

Offline srsa_4c

  • ******
  • 3654
Re: Preview not wroking or very slow?
« Reply #5 on: 26 / May / 2016, 19:15:46 »
I can confirm the issue (also FF here). Happens also when trying to preview simple text.
This issue (and those below) seems to coincide with the latest forum-adjustments (tapatalk-related?).
Also happening since then:
- "Post reply" page looks somehow ugly (larger font size used for various text, for example the edit box, last 3 posts on that page have lost their proper formatting). I'm using the old theme, if that matters.
- Default forum clock has shifted backwards a few hours.
- When using the new default theme, the "last post" timestamp of the "related topics" is not visible. Not happening when using the old theme.

edit:
added one more issue
« Last Edit: 26 / May / 2016, 19:22:36 by srsa_4c »

Re: Preview not wroking or very slow?
« Reply #6 on: 28 / May / 2016, 15:33:42 »
- "Post reply" page looks somehow ugly (larger font size used for various text, for example the edit box, last 3 posts on that page have lost their proper formatting). I'm using the old theme, if that matters.
- Default forum clock has shifted backwards a few hours.
- When using the new default theme, the "last post" timestamp of the "related topics" is not visible. Not happening when using the old theme.


Hi, thank for commenting those:
1. I'll check the old theme to see if it's something changed later globally;
2. Yes, to match the server location/tz;
3. That's on purpose; you'll see the timestamp only if logged in. This will stay that way because it was messing up google indexing. (https://chdk.setepontos.com/index.php?topic=12861.msg128593#msg128593)


Cheers






*

Offline reyalp

  • ******
  • 11394
Re: Preview not working or very slow?
« Reply #7 on: 25 / June / 2016, 15:50:00 »
The reply page is very weird now (screenshot attached, assume same issue srsa mentioned)

Also, RE the orinal issue, I have "Show WYSIWYG editor on post page by default." disabled in my profile, just in case that's related.
Don't forget what the H stands for.


*

Offline srsa_4c

  • ******
  • 3654
Re: Preview not working or very slow?
« Reply #8 on: 25 / June / 2016, 16:11:12 »
The reply page is very weird now (screenshot attached, assume same issue srsa mentioned)
No, that "this feature is deprecated..." text is something new. I see that on the login page and on the forum "home" page in multiple copies. Affects only the new theme.

Re: Preview not working or very slow?
« Reply #9 on: 25 / June / 2016, 16:15:45 »
Hi,
My bad - it should be ok now. If not just refresh the page to reload the cache.

Cheers

 

Related Topics