News:

Join the Facebook Fan Page.

Main Menu

Post Preview Not Working

Started by cme1st2302, March 18, 2008, 11:09:21 PM

Previous topic - Next topic

cme1st2302

I am having a problem with the preview button not working.  When I click on it it just hangs and says "Fetching Preview" and says error on page at the bottom.  Here is the error I get (From Internet Explorer):

Line: 144
Char: 12
Error: 'getElementsByTagName(...)0'is null or not an object
Code: 0
URL: http://sjaaaa.com/Forum/index.php?
     action=post;topic=4.0;num_replies=8

There are no errors in the Forum Error Log and I have already updated all the javascript files.  I took them from a fresh download of SMF 1.1.4.

I have read every topic on this on the site and i can't seem to find the answer, due to most of the askers not responding to people asking if they found an answer.  I will answer every question I get to the best of my knowledge.

Here is the usual requested info:
Site: http://www.sjaaaa.com/Forum
Version: SMF 1.1.4 using Blocked Theme
Mods: SMF + G2 Integration (Beta 3.1)
SMF Version: 1.1.11
SimplePortal Version: 2.3.2

Admin

He who waits for perfect conditions sees nothing!!
If you need help adding a button or tab PM me!!

!Hachi!

who made that theme?try reuploading post.template.php from fresh copy of smf.its in post.template.php.and what about default theme?
Happy Ramadan

cme1st2302

The theme was created by Crip.  The default theme has the same error. I will try uploading a new post.template.php and post with results.  Thanks for your help Hassan.

Chris
SMF Version: 1.1.11
SimplePortal Version: 2.3.2

Admin

He who waits for perfect conditions sees nothing!!
If you need help adding a button or tab PM me!!

cme1st2302

#3
I installed a fresh copy of post.template.php in every theme and still the same error.  Please help!!! Does anyone have any suggestions??

Chris
SMF Version: 1.1.11
SimplePortal Version: 2.3.2

Admin

He who waits for perfect conditions sees nothing!!
If you need help adding a button or tab PM me!!

SlammedDime

Look at the source code to your site, see the very first line before the doctype declaration, that <title> tag?  You need to remove it.  My guess is that it is in index.php at the top of the php file before the <?php tag.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

cme1st2302

 :D :D :D :D You nailed it right on the head.....I am forever greatful!!!!  :D :D :D :D

Thanks,
Chris
SMF Version: 1.1.11
SimplePortal Version: 2.3.2

Admin

He who waits for perfect conditions sees nothing!!
If you need help adding a button or tab PM me!!

Advertisement: