Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Website Crashed and Can't save the Masterpage View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
gitesh-kudosweb - 11/8/2010 5:57:00 PM
   
Website Crashed and Can't save the Masterpage
Hi Guys,

Today our website went down suddenly, we have noticed that few minutes back it was fine(www.waterfrontauckland.co.nz).

When we went to the CMSEditor we found that the code in Masterpage was deleted. We had many lines of code in masterpage but only top 10 lines were visible now, all the other lines were deleted. We had flash

For making the website running again, we had a backup which we installed on localhost and found the Masterpage code. But now when pasted the code back in live website masterpage , we got an error while saving(Error: "Recieved and invalid response").

Then we tried taking out the below (Javascript flash)code from the masterpage and it allowed us to save it.



<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','100%','height','100%','src','http://www.waterfrontauckland.co.nz/aucklandwaterfront/media/flash-map/swfs/awda-stage','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','allowfullscreen','true','movie','http://www.waterfrontauckland.co.nz/aucklandwaterfront/media/flash-map/swfs/awda-stage' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="100%" height="100%">
<param name="movie" value="http://www.waterfrontauckland.co.nz/aucklandwaterfront/media/flash-map/swfs/awda-stage.swf" />
<param name="quality" value="high" />
<param name="allowFullScreen" value="true" />
<param name="wmode" value="transparent" />
<param name="allowscriptaccess" value="always" />
<PARAM NAME="SCALE" VALUE="default">
<embed src="http://www.waterfrontauckland.co.nz/aucklandwaterfront/media/flash-map/swfs/awda-stage.swf" width="100%" height="100%" SCALE="default" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" allowfullscreen="true"></embed>
</object>
</noscript>



Can someone please tell me what does this error stand for "Recieved and invalid response". and also why this thing happened?

Also we had installed Lighbox Slideshow Plugin Yesterday in the website. 3 lines of code for lightbox in <Body> tag is also not there. Can this plugin bw the reason of this crash?

Thanks
Gitesh Shah








User avatar
Certified Developer v7
Certified  Developer v7
gitesh-kudosweb - 11/11/2010 10:23:10 PM
   
RE:Website Crashed and Can't save the Masterpage
Raised a support ticket...

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/22/2010 3:01:30 AM
   
RE:Website Crashed and Can't save the Masterpage
Hi,

I will post here the answer just for other users. We have solved this issue over e-mails.

The web site crash was caused by mistake in WHERE condition in one of the web parts, which was fixed immediately.

The second issue with saving data on pages was caused by custom javascript on the master page, which was interacting with CMS scripts executed after the save button hit.

Best regards,
Juraj Ondrus