Blog Sections Open

Fixing KCFinder “Unknown Error” Upload Failures in TinyMCE

What to check when image uploads in TinyMCE suddenly start failing with an unknown KCFinder error on an otherwise fresh Evolution install.

An “unknown error” from KCFinder is frustrating because the UI reveals almost nothing. In practice, these failures usually come from one of a small set of causes: path mismatches, permissions, upload restrictions, or a manager-side browser configuration that does not match the real server layout.

Even on a clean install, image upload problems can appear immediately if the writable directories are not aligned with the environment.

What to check

  • the configured upload and browse paths,
  • write permissions on the target directories,
  • whether the expected folder really exists,
  • server-side upload limits and PHP errors,
  • TinyMCE and KCFinder configuration consistency.

One misleading detail is that other file operations may still appear normal while image upload fails specifically. That is why path and permission checks should happen before deeper debugging.

When KCFinder says only “unknown error”, the best response is to inspect the filesystem and the upload path assumptions first.

Newer post

Handling Upgrade Compatibility Issues from Evolution 1.0.5–1.0.12 to 1.0.14

How to approach the messy compatibility layer that appears after moving several older Evolution sites onto the 1.0.14 line.

Older post

Fixing Resource Editors That Stop Opening After a Hosting Migration

What to check when snippets, chunks, and templates still open in the manager but resources and configuration pages no longer do.