• Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected $end in XXX\wp-content\plugins\gallery3-picker\picker.php on line 599

    Trying to activate this on an internal instance of WP running version 3.1

Viewing 1 replies (of 1 total)
  • Hi,

    I ran into this same problem and figured out it was because of the setting “short_open_tag = Off” in the php.ini file.

    I actually edited the picker.php file and replaced ALL OCCURANCES of the short tags with full tags and it works 100%

    For example (this type of change needs to be made in quite a few places):

    Change:
    <span>Maximum acceptable request var length: <?= $optionarray_def['gallery3_maxlength']; ?></span><br />

    to

    <span>Maximum acceptable request var length: <?php= $optionarray_def['gallery3_maxlength']; ?></span><br />

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot activate plugin’ is closed to new replies.