Hi DPer's, I'm having an issue with a site that I moved to a new host. The site is not showing correctly, and I have no idea how to fix it. I have a feeling it is a php version issue but I thought I'd ask the experts first! I re uploaded the site on a temporary subdomain at my original hosting and it works fine: http://seniorfitness.bjohnsonco.com This has php version 4.4.4 This address is on the new host and isn't loading properly (only the home page) http://www.seniorfitnessfacts.com and has php version 5.2.0 I would appreciate any expert advice or opinions! Thanks. Denise
Sorry, can you be more specific as to what the problem is? By the way, I don't know much about the AdSense rules but I don't think those image ad pairs are allowed as there is clear intent to pair them up with only a fairly pale border between.
Yes, I know about the adsense. Thank you. Try this: The site that works http://sitetest1.bjohnsonco.com old host The site with the error http://www.seniorfitnessfacts.com new host The error is at the bottom and says: XML error: Invalid character at line 218 Please for give me, I'm a idiot when it comes to php, and css. Denise
could you post lines 217 through 219 so that we can see what's happening? you could be using a deprecated command of some sort.
looks like the error in on a file called pngfix.js on its line #28. I'm not a javascripter, so can't really help you there. I think that's the problem, but not 100% sure.
Here is the pngfix.js : I highlighted line 28. Once again, thank you to everyone who is trying to help. // Global PNG transparency fix for Internet Explorer up to version 6 - Combined by Fotis Evangelou, http://www.webpr.gr/joomla // The inline PNG fix, courtesy of Bob Osola, http://homepage.ntlworld.com/bobosola/ function correctPNG() { for(var i=0; i<document.images.length; i++) { var img = document.images var imgName = img.src.toUpperCase() if (imgName.substring(imgName.length-3, imgName.length) == "PNG") { var imgID = (img.id) ? "id='" + img.id + "' " : "" var imgClass = (img.className) ? "class='" + img.className + "' " : "" var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' " var imgStyle = "display:inline-block;" + img.style.cssText if (img.align == "left") imgStyle = "float:left;" + imgStyle if (img.align == "right") imgStyle = "float:right;" + imgStyle if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle var strNewHTML = "<span " + imgID + imgClass + imgTitle + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";" + "filterrogidXImageTransform.Microsoft.AlphaImageLoader" + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" img.outerHTML = strNewHTML i = i-1 } } } window.attachEvent("onload", correctPNG); // The background PNG fix, courtesy of Youngpup (http://www.youngpup.net) and Drew McLellan (http://www.allinthehead.com) if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent) { window.attachEvent("onload", alphaBackgrounds); } function alphaBackgrounds(){ var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, ''); var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5); for (i=0; i<document.all.length; i++){ var bg = document.all.currentStyle.backgroundImage; if (itsAllGood && bg){ if (bg.match(/\.png/i) != null){ var mypng = bg.substring(5,bg.length-2); document.all.style.filter = "progidXImageTransform.Microsoft.AlphaImageLoader(src='"+mypng+"', sizingMethod='scale')"; document.all.style.backgroundImage = "url('/mambots/system/bot_ultimatepngfix/x.gif')"; } } } }
Sorry for the delay in response - I hope your problems are resolved! I'm not much of a javascripter so I can't help you with this one.