Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: Miles Marshall on June 10, 2007, 10:34:53 PM

Title: Fetching Preview for posts
Post by: Miles Marshall on June 10, 2007, 10:34:53 PM
I was wondering , Why my Fetching Preview when posting does not seem to work on my forum what could be the possible solution to fix this
Title: Re: Fetching Preview for posts
Post by: greyknight17 on June 11, 2007, 12:12:21 AM
Does the post you have there contain a lot of characters? Did you install any mods lately?

If you don't have any mods installed, you can try uploading a new Post.template.php file to see if it fixes the problem. Get that php file from the SMF install package.
Title: Re: Fetching Preview for posts
Post by: KGIII on June 11, 2007, 01:36:02 AM
I'm not positive but I think it could also be that your browser was blocking JavaScript for that site. If that site is, with Internet Explorer, not in a "zone" that allows scripting then it most likely won't be shown. Have you tried with alternative browsers? Does it work here at this site?
Title: Re: Fetching Preview for posts
Post by: Miles Marshall on June 11, 2007, 04:13:28 AM
Ok, I just tried in Internet Explorer and it still doesn't work I checked the settings on both IE and mozzila and I also cleared out all my cookies and my cache and did a hard refreshing using CTRL+f5 still nothing
Title: Re: Fetching Preview for posts
Post by: SlammedDime on June 11, 2007, 04:23:05 AM
URL?
Title: Re: Fetching Preview for posts
Post by: Miles Marshall on June 11, 2007, 04:29:37 AM
www.geekinc.info
Title: Re: Fetching Preview for posts
Post by: SlammedDime on June 11, 2007, 05:06:06 AM
Can you post a copy of index.php, either inside code tags, or attach it to a post?  You have an extra line break on your site which is affecting the XML documents, thus no AJAX functions will work, including stats, quick quote, quick mod, or preview.
Title: Re: Fetching Preview for posts
Post by: Miles Marshall on June 11, 2007, 05:07:55 AM
Heres my index.php if this is what ur talking about?
Title: Re: Fetching Preview for posts
Post by: SlammedDime on June 11, 2007, 05:09:21 AM
No, thats from a subdirectory... I need the one from the main SMF directory.
Title: Re: Fetching Preview for posts
Post by: Miles Marshall on June 11, 2007, 05:12:09 AM
Lets try this again this is the one from the root folder of /forum
Title: Re: Fetching Preview for posts
Post by: SlammedDime on June 11, 2007, 05:22:46 AM
Give this a shot.  Rename your current index.php to index.bak and upload this one in its place and try...

Title: Re: Fetching Preview for posts
Post by: Miles Marshall on June 11, 2007, 05:26:02 AM
Worked your a Genius thanks so much, Now Do I delete the index.bak? I really appreciate the help thanks so much
Title: Re: Fetching Preview for posts
Post by: SlammedDime on June 11, 2007, 05:28:35 AM
Yea, you can delete index.bak... the only change I made to it was deleting the extra linefeed :)
Title: Re: Fetching Preview for posts
Post by: Miles Marshall on June 11, 2007, 05:30:54 AM
Woo, Thanks that made day are you familiar with SMF? I could use your help alot I run into tons of obsticles I can't figure out my next process

1) Home Page like SMF's
Title: Re: Fetching Preview for posts
Post by: harlock on June 26, 2007, 04:12:35 AM
hello everybody... ehm... which extra linefeed did you remove? i have the same problem... :D thank you ....
Title: Re: Fetching Preview for posts
Post by: SlammedDime on June 26, 2007, 12:33:46 PM
There was an extra one at the top of his index.php file, before <?php.