News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Fetching preview problem

Started by gome, February 01, 2008, 02:11:31 PM

Previous topic - Next topic

gome

Hi. Yesterday I changed php4 to php5 from my cpanel hosting provider.  Today a user reports that the preview option for the post forum isn´t working.

I checked it and when i try to preview a post i receive this message "Fetching preview...." nothing else happens.

I went to check it with firebug and i received this error.

"XMLDoc.getElementsByTagName("smf")[0] has no properties

(Document )()

setInnerHTML(document.getElementById("preview_subject"),preview.getElements..."


I changed the php version to php4 again and it works.

Has any problem with php5 and smf ?

Thanks.

My site has smf 1.1.4


rsw686

Might be a configuration problem with php5. I use php5 with my forum and it works fine. Check the phpinfo() when you have php5 installed and verify it against

http://docs.simplemachines.org/index.php?topic=8
The Reptile File
Everything reptile for anyone reptile friendly

Aquaria Talk
Community for freshwater and saltwater aquariums enthusiasts

gome

i verified it and the configuration is fine.

thanks

:-[



Advertisement: