Email
Share

We Rock Your Web Forum » Content Management Systems

IMCE Directory Error?

(2 posts)
  1. sam

    member
    Joined: Aug '09
    Posts: 19

    Argh, I've been using IMCE with Drupal for months now with no major issues (I switched over from the standard FCKEditor image manager because IMCE provided such a nice streamlined, all-in-one interface for managing images).

    But now, whenever I hit the "Browse Server" button and try to access my IMCE image browser, I get the message IMCE Directory Error! What gives?

    Posted 2 years ago #

  2. Posted 2 years ago
  3. cwd

    senior admin
    Joined: Jul '09
    Posts: 225

    Hi Sam,

    The IMCE Directory Error occurs whenever permissions are incorrectly set on your user's IMCE file directories. To resolve this situation and restore your IMCE file browser, you can try two things:

    1. CHMOD the permissions of your IMCE user directories to 777.
    2. Log into Drupal as an admin user with PHP input format permissions and perform the following:

    Create a page, using PHP as the input format, with the following code (replacing "user" with the name of your IMCE directory, and ensuring the file path is correct):

    <?php chmod -R a+w files/user; ?>

    If that doesn't work, you can try replacing -R a+w with 777 permissions in the above statement. Save your page, the CHMOD permissions will automatically take effect. When you're done, be sure to delete this page as it could prove a security concern.

    Posted 2 years ago #

RSS feed for this topic

Reply

(required)

Allowed markup: BBcode blockquote code em strong ul ol li font strike center u hr.
You can also put code in between backtick ( ` ) characters.