2 added 197 characters in body
source | link

Viewing the PHP error log revealed that the CiviCRM codebase had become corrupted somehowa PHP parse error -

[12-May-2015 04:20:05 UTC] PHP Parse error:
  syntax error, unexpected end of file, expecting function (T_FUNCTION) in
  /path/to/CRM/Profile/Form/Edit.php on line 346

Uploading an uncorrupted copy ofWe checked that the CiviCRMfile in question Edit.php validated, which suggests that perhaps there is a mismatched bracket somewhere else in the site codebase (eg theme files or another plugin should resolve this error).

Recommend -

  • validating files which have been recently modified (php -l *.php)
  • restoring a known good copy of the CiviCRM codebase

Viewing the PHP error log revealed that the CiviCRM codebase had become corrupted somehow -

[12-May-2015 04:20:05 UTC] PHP Parse error:
  syntax error, unexpected end of file, expecting function (T_FUNCTION) in
  /path/to/CRM/Profile/Form/Edit.php on line 346

Uploading an uncorrupted copy of the CiviCRM plugin should resolve this error.

Viewing the PHP error log revealed a PHP parse error -

[12-May-2015 04:20:05 UTC] PHP Parse error:
  syntax error, unexpected end of file, expecting function (T_FUNCTION) in
  /path/to/CRM/Profile/Form/Edit.php on line 346

We checked that the file in question Edit.php validated, which suggests that perhaps there is a mismatched bracket somewhere else in the site codebase (eg theme files or another plugin).

Recommend -

  • validating files which have been recently modified (php -l *.php)
  • restoring a known good copy of the CiviCRM codebase
1
source | link

Viewing the PHP error log revealed that the CiviCRM codebase had become corrupted somehow -

[12-May-2015 04:20:05 UTC] PHP Parse error:
  syntax error, unexpected end of file, expecting function (T_FUNCTION) in
  /path/to/CRM/Profile/Form/Edit.php on line 346

Uploading an uncorrupted copy of the CiviCRM plugin should resolve this error.