Title: Tinymce causes 500 error message
Last modified: August 30, 2016

---

# Tinymce causes 500 error message

 *  [pimd1988](https://wordpress.org/support/users/pimd1988/)
 * (@pimd1988)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/)
 * I have a clean installation without any plugins or configuration yet. When I 
   want to edit the Sample Page with the Visual editor I get a 500 error message
   on loading the tinymce.min.js file
 * When I look in the error log I get the following:
 * `Thu Jul 30 16:01:31 2015] [error] [client some ip address] PHP Parse error: 
   syntax error, unexpected '",s(t),"' (T_CONSTANT_ENCAPSED_STRING) in path-to-wordpress-
   installation/wp-includes/js/tinymce/tinymce.min.js on line 5, referer: http://
   www.somedomain.com/subdirectory/wp-admin/post.php?post=7&action=edit`
 * The only topic related to my issue was [this](https://wordpress.org/support/topic/wysiwyg-does-not-load-wp-tinymce-500-internal-server-error?replies=3).
   I tried the suggestion but that did not work for me…
 * Can someone help me?
 * Kind regards,
 * Pim

Viewing 15 replies - 1 through 15 (of 29 total)

1 [2](https://wordpress.org/support/topic/tinymce-causes-500-error-message/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/tinymce-causes-500-error-message/page/2/?output_format=md)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/#post-6385201)
 * Try [downloading WordPress](https://wordpress.org/download/) again and delete
   then replace your copies of everything **except** the `wp-config.php` file and
   the `/wp-content/` directory with fresh copies from the download. This will effectively
   replace all of your core files without damaging your content and settings. Some
   uploaders tend to be unreliable when overwriting files, so don’t forget to delete
   the original files before replacing them.
 *  Thread Starter [pimd1988](https://wordpress.org/support/users/pimd1988/)
 * (@pimd1988)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/#post-6385263)
 * Hi,
 * I have tried that multiple times already, even switched to a lower version of
   WordPress but the problem still occurs 🙁
 *  Thread Starter [pimd1988](https://wordpress.org/support/users/pimd1988/)
 * (@pimd1988)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/#post-6385289)
 * I’ve seen alot of topics here from uses who have the same or similar problem 
   but there seems no generic solution for this…?
 * What I have done so far:
    – clean wordpress (4.2.3) installation – update tinymce
   editor files – check .htaccess configuration – read/write specs checked – concatenate_script
   boolean set in wp-config
 * I am using the default theme so my installation is as clean as it can be…
 * Maybe more information:
    I have installed it in a subdirectory (which has been
   done before in the same database) and in the other installation (which is wordpress
   4.0) it works fine. I compared htaccess settings and they all have no strange
   things…
 * Someone who can help?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/#post-6385297)
 * Ok, subdirectory installations can be problematic if there’s an installation 
   above it, depending on the server configuration.
 * Try a subdomain instead, like newsite.example.com.
 *  Thread Starter [pimd1988](https://wordpress.org/support/users/pimd1988/)
 * (@pimd1988)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/#post-6385303)
 * Hi,
 * It is done before on our server. This is the 2nd WordPress installation in a 
   subfolder so it can be done. I have compared everything but I cannot find any
   strange things what is causing this 500 error message.
 * According on what I’ve seen on this forum so far is that there is not a real 
   generic solution for this…
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/#post-6385304)
 * Internal server errors are usually described in more detail in the server error
   log. If you have access to your server error log, generate the error again, note
   the date and time, then immediately check your server error log for any errors
   that occurred during that time period. If you don’t have access to your server
   error log, ask your hosting provider to look for you.
 *  Thread Starter [pimd1988](https://wordpress.org/support/users/pimd1988/)
 * (@pimd1988)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/#post-6385305)
 * The error message I posted in the opening post is always coming back when I get
   the 500 error from tinymce so more details I do not have.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/#post-6385306)
 * Whoops, sorry.
 * I guess, if you really have freshly installed the files, and really have no plugins
   or third-party themes to conflict, I have nothing more to suggest.
 * If there really were an error in the file (and not one introduced by a plugin,
   theme, or server misconfiguration), then there would be far more than this one
   report of this specific issue:
 * > unexpected ‘”,s(t),”‘ (T_CONSTANT_ENCAPSED_STRING) in path-to-wordpress-installation/
   > wp-includes/js/tinymce/tinymce.min.js on line 5
 * My only suggestion is to try the installation in a subdomain, not a subdirectory.
 *  Thread Starter [pimd1988](https://wordpress.org/support/users/pimd1988/)
 * (@pimd1988)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/#post-6385309)
 * Don’t get me wrong but that is not a solution for me. It has been done before
   so I don’t see why it cannot be done again. Because I saw alot of topics on this
   subject I also did a downgrade to older WP versions but that all did not seem
   to solve my issue
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/#post-6385312)
 * Ok, maybe someone else will have a different solution for you.
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/#post-6385314)
 * The tinymce.min.js file seems to be parsed as PHP. Try turning off PHP short 
   tags in your PHP INI if you have access to this file. Otherwise ask your host
   to turn it off.
 * [http://stackoverflow.com/questions/6518126/why-is-the-javascript-file-parsed-as-php-in-my-cake-plugin](http://stackoverflow.com/questions/6518126/why-is-the-javascript-file-parsed-as-php-in-my-cake-plugin)
 *  Thread Starter [pimd1988](https://wordpress.org/support/users/pimd1988/)
 * (@pimd1988)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/#post-6385316)
 * I’ve unminified the tinymce js file and changed this line:
 *     ```
       pi: function(e, t) {
                           t ? r.push("<?php", e, " ", s(t), "?>") : r.push("<?php", e, "?>"), i && r.push("\n")
                       },
       ```
   
 * with <?php instead <? but it still gives an error on the same line…
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/#post-6385317)
 * Please, don’t modify core files. You’ll lose the modifications when you update,
   and you’ll likely cause conflicts elsewhere.
 * Just try turning off PHP short tags as keesiemeijer suggested.
 *  Thread Starter [pimd1988](https://wordpress.org/support/users/pimd1988/)
 * (@pimd1988)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/#post-6385318)
 * I am aware of the consquences… I changed it just to see if it solved the issue
   but no luck with <?php either…
 *  Thread Starter [pimd1988](https://wordpress.org/support/users/pimd1988/)
 * (@pimd1988)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/#post-6385319)
 * and… short_open_tag is on … soooo that is not cause of the problem it seems… 
   🙁

Viewing 15 replies - 1 through 15 (of 29 total)

1 [2](https://wordpress.org/support/topic/tinymce-causes-500-error-message/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/tinymce-causes-500-error-message/page/2/?output_format=md)

The topic ‘Tinymce causes 500 error message’ is closed to new replies.

## Tags

 * [tinymce](https://wordpress.org/support/topic-tag/tinymce/)
 * [visual editor](https://wordpress.org/support/topic-tag/visual-editor/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 29 replies
 * 5 participants
 * Last reply from: [allison_wonderland](https://wordpress.org/support/users/allison_wonderland/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/tinymce-causes-500-error-message/page/2/#post-6385478)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
