File selectize/selectize.module is empty.
That is almost empty - it contains a single opening <?php tag.
And nothing more - that's the problem.
If there is no newline after the tag, the tag itself is written as first output to at least
- HTML page:
<?php
<!DOCTYPE html>
- json request:
<?php[{"command":"settings","settings":{"...
- drush cache-rebuild:
<?phpCache rebuild complete.
Browsers ignore the starting tag in the HTML page and drush doesn't care - but a json request fails.
I do not know wether this is PHP or Drupal, but everything's okay if we follow the drupal coding standards:
All text files should end in a single newline (\n)
https://www.drupal.org/coding-standards
Patch (very very minor one) applied.
Comments
Comment #2
gngn commentedComment #3
gngn commentedComment #4
gngn commentedComment #5
kevinquillen commentedThanks, I have pushed a fix into dev, along with other incoming fixes for a beta2.
Comment #7
kevinquillen commented