Blog Sections Open

Fixing KCFinder When Uploads and Existing Files Stop Appearing

If KCFinder suddenly stops showing existing media and also refuses uploads, the issue is usually path or URL configuration rather than file permissions alone.

KCFinder problems often look like permissions errors, but many of them start with mismatched path settings. If uploads fail and the file list is empty at the same time, check the configured file-system path and public URL together before changing permissions again.

Common causes

  • incorrect base path or base URL values in the manager configuration
  • a broken file manager root path that points above or below the intended folder
  • an assets directory that is writable but not addressable through the expected public URL
  • mixed configuration after moving the project between hosts

What to verify

  1. the file-system path points to the real assets directory
  2. the public URL resolves to the same directory
  3. the image folder exists and PHP can both read and write it
  4. no stale cache or browser-side script error is hiding the file list

Permissions matter, but path correctness comes first. A perfectly writable folder is still useless if the file manager is looking in the wrong place.

Newer post

Using the Evolution API in a PHP AJAX Endpoint That Returns JSON

How to bootstrap the Evolution API in a standalone PHP endpoint and return structured JSON to jQuery or another frontend consumer.

Older post

Customizing EvoGallery Output for Lightbox-Friendly Markup

How to add the classes and attributes your frontend lightbox expects when rendering galleries with EvoGallery.