Iâm getting an error while installing suitecrm into my local server (xampp).
Checking Environment
System passed check for compatibility.
Preparing to Install⊠(Stuck on this stage)
below is the error that I received on my last attempt.
Warning: âcontinueâ targeting switch is equivalent to âbreakâ. Did you mean to use âcontinue 2â? in C:\xampp\htdocs\suitecrm\jssource\Minifier.php on line 240
var AlertObj=function(){this.title=âAlertâ;this.options={};this.options.body=â â;this.options.url_redirect=ââ;this.options.target_module=ââ;this.options.type=âinfoâ;};var Alerts=function(){};Alerts.prototype.replaceMessages=[];Alerts.prototype.enable=function(){var alert=new AlertObj();if(!(âNotification"in window)){alert.title=SUGAR.language.translate(âapp_stringsâ,âMSG_BROWSER_NOTIFICATIONS_UNSUPPORTEDâ);Alerts.prototype.show(alert);return;} Notification.requestPermission(function(permission){if(permission===âgrantedâ){alert.title=SUGAR.language.translate(âapp_stringsâ,âMSG_BROWSER_NOTIFICATIONS_ENABLEDâ);} else{alert.title=SUGAR.language.translate(âapp_stringsâ,âMSG_BROWSER_NOTIFICATIONS_DISABLEDâ);} Alerts.prototype.show(alert);});};Alerts.prototype.requestPermission=function(){if(!(âNotification"in window)){return;} Notification.requestPermission();};Alerts.prototype.show=function(AlertObj){Alerts.prototype.requestPermission();if((âNotification"in window)){if(Notification.permission===âgrantedâ){if(typeof AlertObj.options!==âundefinedâ){if(typeof AlertObj.options.target_module!==âundefinedâ){SUGAR.themes.theme_name=undefined;AlertObj.options.icon=âindex.php?entryPoint=getImage&themeName=â+ SUGAR.themes.theme_name+â&imageName=â+ AlertObj.options.target_module+âs.gifâ;} if(typeof AlertObj.options.type===âundefinedâ){AlertObj.options.type=âinfoâ;}} var notification=new Notification(AlertObj.title,AlertObj.options);if(typeof AlertObj.options!==âundefinedâ){if(typeof AlertObj.options.url_redirect!==âundefinedâ){notification.onclick=function(){window.open(AlertObj.options.url_redirect);}}}} else{var message=AlertObj.title;if(typeof AlertObj.options!==âundefinedâ){if(typeof AlertObj.options.body!==âundefinedâ){message+=â\nâ+AlertObj.options.body;} message+=SUGAR.language.translate(âapp_stringsâ,âMSG_JS_ALERT_MTG_REMINDER_CALL_MSGâ)+â\n\nâ;if(confirm(message)){if(typeof AlertObj.options!==âundefinedâ){if(typeof AlertObj.options.url_redirect!==âundefinedâ){window.location=AlertObj.options.url_redirect;}}}}}}};Alerts.prototype.addToManager=function(AlertObj){var url=âindex.phpâ,name=AlertObj.title,description,url_redirect,is_read=0,target_module,type=âinfoâ;if(typeof AlertObj.options!==âundefinedâ){if(typeof AlertObj.options.url_redirect!==âundefinedâ){url_redirect=AlertObj.options.url_redirect} if(typeof AlertObj.options.body!==âundefinedâ){description=AlertObj.options.body} if(typeof AlertObj.options.target_module!==âundefinedâ){target_module=AlertObj.options.target_module} if(typeof AlertObj.options.type!==âundefinedâ){type=AlertObj.options.type} if(typeof AlertObj.options.reminder_id!==âundefinedâ){reminder_id=AlertObj.options.reminder_id}} $.post(url,{module:âAlertsâ,action:âaddâ,name:name,description:description,url_redirect:url_redirect,is_read:is_read,target_module:target_module,reminder_id:reminder_id,type:type}).done(function(jsonData){data=JSON.parse(jsonData);if(typeof data!==âundefinedâ&&typeof data.result!==âundefinedâ&&data.result===1){Alerts.prototype.show(AlertObj);}}).fail(function(data){console.error(data);}).always(function(){Alerts.prototype.updateManager();});};Alerts.prototype.redirectToLogin=function(){var getQueryParams=function(qs){qs=qs.split(â+â).join(â â);var params={},tokens,re=/[?&]?([^=]+)=([^&]*)/g;while(tokens=re.exec(qs)){params[decodeURIComponent(tokens[1])]=decodeURIComponent(tokens[2]);} return params;};var params=getQueryParams(document.location.search);params.entryPoint=undefined;if(params.entryPoint!==âChangenewpasswordâ&¶ms.module!==âUsersâ&¶ms.action!==âLoginâ){document.location.href=âindex.php?module=Users&action=Login&loginErrorMessage=LBL_SESSION_EXPIREDâ;return true;} return false;};Alerts.prototype.updateManager=function(){var url=âindex.php?module=Alerts&action=get&to_pdf=1â;$.ajax(url).done(function(data){if(data===âlost sessionâ){Alerts.prototype.redirectToLogin();return false;} for(var replaceMessage in Alerts.prototype.replaceMessages){data=data.replace(Alerts.prototype.replaceMessages[replaceMessage].search,Alerts.prototype.replaceMessages[replaceMessage].replace);} var alertsDiv=$(â.desktop_notifications #alertsâ);alertsDiv.html(data);var alerts=$(â
â);$(data).appendTo(alerts);var alertCount=$(alerts).children(â.alertâ).length;var alertCountDiv=$(â.alert_countâ);var desktopNotificationsDiv=$(â.desktop_notificationsâ);var alertButtonDiv=$(â.alertsButtonâ);alertCountDiv.html(alertCount);if(alertCount>0){alertsDiv.addClass(âhas-alertsâ);desktopNotificationsDiv.addClass(âhas-alertsâ);alertButtonDiv.removeClass(âbtn-â).addClass(âbtn-dangerâ);alertCountDiv.removeClass(âhiddenâ);} else{desktopNotificationsDiv.removeClass(âhas-alertsâ);alertsDiv.removeClass(âhas-alertsâ);alertButtonDiv.removeClass(âbtn-dangerâ).addClass(âbtn-successâ);alertCountDiv.addClass(âhiddenâ);}});};Alerts.prototype.markAsRead=function(id){var url=âindex.php?module=Alerts&action=markAsRead&record=â+id+â&to_pdf=1â;$.ajax(url).done(function(){Alerts.prototype.updateManager();});};$(document).ready(function(){Alerts.prototype.replaceMessages=[{search:SUGAR.language.translate(âappâ,âMSG_JS_ALERT_MTG_REMINDER_CALL_MSGâ),replace:â"},{search:SUGAR.language.translate(âappâ,âMSG_JS_ALERT_MTG_REMINDER_MEETING_MSGâ),replace:""}];var updateMissed=function(){Alerts.prototype.updateManager();setTimeout(updateMissed,60000);};setTimeout(updateMissed,2000);})
Fatal error: Maximum execution time of 300 seconds exceeded in C:\xampp\htdocs\suitecrm\jssource\Minifier.php on line 182