Post preview does not work. It says "fetching preview" but that's it.
I am using a custom theme Black Pheonix3, but have been for some time.
Do you have any suggestions on where I could start looking for the problem, and what to look for.
This is one of the 2 remaining problems after cleaning up from the recent code injection attack.
Thanks
Does the same problem occur on default core theme ?
Thanks for your reply
Don't know?
I 'll try it on the default theme tonight and see, then get back to you.
The PM post preview works, just not the one on the boards. If that is any help
Take a look at this topic and use the file_check tool that is mentioned.
http://www.simplemachines.org/community/index.php?topic=294342.msg2048965#msg2048965
Thank you.
I used the tool suggested to find the errors.
I also Downloaded and used the Bablepad mentioned to find the blank spaces that were not obvious in NotePad.
Great, did that fix your issue? If this is solved, please mark it solved by clicking the Mark Topic Solved link at the bottom left.
Quote from: JimM on May 18, 2009, 11:00:45 PM
Great, did that fix your issue? If this is solved, please mark it solved by clicking the Mark Topic Solved link at the bottom left.
Sorry I wasn't clear in my previous post. Yes After finding and editing the files, it did sove the issue.
The link on the bottom right?
Thanks again
Hi i am having the same PReview too...
I tried the File_Check.php file & it shows many as below?
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Themes/default/languages/PrettyUrls.french.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Themes/default/languages/TreasuryHelp.english-utf8.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Themes/default/languages/PrettyUrls.english.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Themes/default/languages/TreasuryHelp.english.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Themes/default/languages/Modifications.french.php
o File does not begin with <?php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Themes/default/languages/GlobalAnnouncementsAdmin.english.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Themes/default/GlobalAnnouncements.template.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Themes/default/GlobalAnnouncementsAdmin.template.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Themes/default/PrettyUrls.template.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/ssi_examples.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/index.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Sources/GlobalAnnouncementsAdmin.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Sources/PrettyUrls-Filters.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Sources/GlobalAnnouncements.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Sources/TreasuryUpdate.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Sources/Subs-GlobalAnnouncementsAdmin.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Sources/PrettyUrls.php
o File does not end with ?>
* /home/vol4/xyz.org/accountid/abc.xyz.com/htdocs/Sources/Subs-PrettyUrls.php
o File does not end with ?>
what to do next?
Should i add what it says is not there...without taking any measure?
Thanks in advance
Yes and keep in mind that posting your issue in a topic that is marked solved will severely limit the number of members that will see your post. It's always best to start a new topic with your issue fully described.
i just looked that index.php and i see that ?> is do there but not at the end...actually i aded some html banner there...long back...
so what shd be done?
i mean i shd move that ?> to end and include that html banner code before it or
add another ?> i end
Thanks
any way ..i edited all the files
and placed another ?> 2nd time in the end after that banner html code
now no file is shown by that php utility as having problems...but i cant still use preview function..whats wrong?
Each php file can only contain 1 ending marker ?>. My recommendation would be to place the end marker ?> at the end of the file and remove the banner code to see if that is possibly causing some of the problem.
i will try..any better way to put these html banners then?
There are lots of folks that use this mod http://custom.simplemachines.org/mods/index.php?mod=255 to place ads, banners, just about anything on their site. You can also use the search for "adding banners" and will get a number of hits.