Warning</b>: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: No such file or directory in <b>~/wp-includes/js/tinymce/tiny_mce_config.php</b> on line <b>158</b>
|Reported by:||DD32||Owned by:|
TinyMCE was failing to load on a fresh install, I noticed a JS error in the console, which turned out to be this PHP error.
It causes an error if it cannot create the temp. cache dir, This would happen if the permissions do not allow the folder to be created, Or, if the uploads folder does not allready exist (Which is doesnt on fresh installs it seems).
Atached patch silences error outputs, and attempts to create the upload folder if it does not allready exist.