News:

Wondering if this will always be free?  See why free is better.

Main Menu

Possible preview bug

Started by Ashron, June 02, 2009, 02:20:25 PM

Previous topic - Next topic

Ashron

    * Version(s) of SMF
          o 1.1.9/2.0 RC1-1
    o
    * Your Setup:
          o List any Modifications you have installed
                + No Mods Installed
          +
          o List any Themes you have installed
                + No Themes Installed
          +
          o List any non-English Language packs you have installed
                + No packs installed
          +
          o Are you using UTF-8? Not certain
          o Any other related information?
    * Server Software:
          o Apache/IIS version?:
          o PHP version?:
          o Database type and version:
          o Any other related server information?
    * Where the Error Occurred
          o File: index.php
          o Line: it says Line 133, but there's nothing there.  Instead, it's in the line generated by the PHP, I guess.
          o Any relevant errors in the SMF error log (if so please post them)?:
    * How to Reproduce this Error?:
          o When I go to the forum, type a new topic, and then click preview, it locks up and I get the following error message (when I click on the show error page) 'getElementByTagName(...) 0' is null or not an object.  This happens on any board I go to you.  You can reproduce the error by going to hxxp:cottonpatchgoldmine.com/forum [nonactive]
          o
    o
    * Additional Information?

karlbenson

I registered on your forum and can confirm your having this issue.
I don't get this in a default installation of smf 1.1.9.

Are there any errors in your smf error log?

Rowdy

I have this error on SMF 2RC1-1. Here is the info I get from firebug:

Any ideas why our post preview hangs forever saying "Fetching preview"? It started as soon as we upgraded from 1.19 to 2.1RC-1. Id really appreciate some help! :)

Firebug gives this information:

XMLDoc.getElementsByTagName("smf")[0] is undefined
onDocSent(Document )index.ph...plies=229 (line 738)
onreadystatechange()()script.js?b1 (line 124)
[Break on this error] var i, preview = XMLDoc.getElementsB...)[0].getElementsByTagName("preview")[0];


and clicking on links in the above jumps to the code here:

Show the preview section.
var i, preview = XMLDoc.getElementsByTagName("smf")[0].getElementsByTagName("preview")[0];
setInnerHTML(document.getElementById("preview_subject"), preview.getElementsByTagName("subject")[0].firstChild.nodeValue);



if (sendDoc.responseXML != null && sendDoc.status == 200)
124 funcCallback.call(oCaller, sendDoc.responseXML);


I have these mods installed:

1.     Attachments In Message      1.3.0      
2.    Aeva ~ Auto-Embed Video & Audio    6.9.99    
3.    Ad Managment    2.3.5    
4.    SMF Staff Page    1.6
5.    Sweet Profile Area    1.1    
6.    Reply Button in All Posts    1.1    
7.    Advanced Reputation System    1.7.4

Rowdy

I posted here because another post said to and this thread said * Version(s) of SMF
          o 1.1.9/2.0 RC1-1" at the top.

My post preview doesn't work in any major browser. I installed a fresh copy of default theme and sources and no change. The failed preview doesn't seem to generate any errors in the log.  My forum is bridged with mambo. Could it be a javascript conflict between mambo and SMF?


Advertisement: