Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: Relemar on July 19, 2008, 11:39:40 AM

Title: 'Fetching Preview..'
Post by: Relemar on July 19, 2008, 11:39:40 AM
Recently moved hosts to boost our bandwith, we had 6GB now have 10GB. They both have Safe_mode off and Send_mail on, just incase you want to know.

When you go to post, and click preview it says 'Fetching preview..' and doesn't ever 'fetch' it.

Any assistance?

Below are two files, which you may need. I've searched, im scared to edit them!
Title: Re: 'Fetching Preview..'
Post by: Robbo_ on July 19, 2008, 11:52:40 AM
A simple, hacky, fix would be to turn of the javascript for the preview and let it do it via loading the page. To test if this will work turn off your browsers javascript and see if you get a preview. To turn off the javascript update you should just have to change a var or maybe just remove the javascript from the preview input.
Title: Re: 'Fetching Preview..'
Post by: N3RVE on July 19, 2008, 11:56:22 AM
Attach

./index.php
./Sources/Post.php

meanwhile, I'd look through the attached files.

-[n3rve]
Title: Re: 'Fetching Preview..'
Post by: Relemar on July 19, 2008, 11:57:59 AM
There you go sir.
Title: Re: 'Fetching Preview..'
Post by: N3RVE on July 19, 2008, 12:09:30 PM
There could be an extra space at the top of one of your php files, it could be any - however, the attached files appear to be okay.
Which files have you manually modified?
`<?php` must be the very first line of every php file

Can I have a link to this site as the one in your sig doesn't work?

-[n3rve]
Title: Re: 'Fetching Preview..'
Post by: Relemar on July 19, 2008, 12:34:48 PM
www.gamers-source.co.nr

i have edited nothing.
Title: Re: 'Fetching Preview..'
Post by: N3RVE on July 19, 2008, 01:09:25 PM
Quote from: Relemar on July 19, 2008, 12:34:48 PM
www.gamers-source.co.nr

i have edited nothing.

I'll take a look.

-[n3rve]
Title: Re: 'Fetching Preview..'
Post by: Relemar on July 19, 2008, 01:31:39 PM
Ok, so what's wrong? :P
Title: Re: 'Fetching Preview..'
Post by: N3RVE on July 19, 2008, 01:41:14 PM
As earlier stated, this most likely has to do with a space in one of your source files.
We've had similar issues with other users (http://www.simplemachines.org/community/index.php?action=search2;search=fetching+preview) which you may want to look at.

-[n3rve]