Installation Help!!!!(With Nas)

Permalink 1 user found helpful
I have a synology Nas ( model no.DS215J)
I try to install the concrete5 5.7 . Because the install page is blank
But i try to install concrete 5.6 . But I work!
How can I solve this problem QQ

 
s00pa replied on at Permalink Reply
Hi,
I had a problem installing 5.7 on the Synology as well.. it appears that some PHP packages seem to have an undefined fnmatch function (I don't know any more than that, if others want to explain further) .. in order to get the install working I had to edit the index.php file and add my own fnmatch function (which I cut and paste from another site so I'm not taking credit for it)

function fnmatch($strPattern, $strString)
// My fnmatch()
// Supports '?' and '*' as wildcards
{
  $intPos = 0;
  do
  {
    $strPatternChar = substr($strPattern, $intPos, 1);
    $strStringChar  = substr($strString, $intPos, 1);
    if ($strPatternChar == '*')
    {
      $bolMatch = TRUE;
      break;
    }
    $bolMatch = ($strPatternChar == $strStringChar) || ($strPatternChar == '?' && $strStringChar != '');
wsc5 replied on at Permalink Reply
Thanks
your fix worked for me as well, just installed 5.7.3.1