#20686 closed defect (bug) (worksforme)
Unexpected end of input in wp-tinymce.php
Reported by: | galbaras | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.3.2 |
Component: | TinyMCE | Keywords: | |
Focuses: | Cc: |
Description
When editing a page, the editing icons do not appear. In Chrome, the console shows "Unexpected end of input" in wp-tinymce.php.
There is a missing end tag for the PHP tag at the top. Adding this end tag, "?>", at the end of the file solves the problem.
This bug seems to be new to 3.3.2.
Change History (1)
Note: See
TracTickets for help on using
tickets.
In PHP end tags at EOF are optional and the general advice is not to use them. This sounds like a server misconfiguration as
wp-tinymce.php
ends withexit;
, i.e. PHP stops running at that line and the server should "flush" any unsent content and close the connection.