I'm getting this error message in the window where the file browser should be...

You don't have access to any configuration profile to use the file browser!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gregarios’s picture

Forgot to mention... it only occurs when trying to upload an image using the Imce CCK Image module. (But it only happens when using v1.4 of your module... reverted the site back to 1.3 and it was fixed again, then reinstalled 1.4 and the problem resumes.

Anonymous’s picture

Hello.

Same error with my site. So I reverting back to 1.3 or should I check for that new "Make private file serving optional for security concerns." thing?

regards.

ufku’s picture

Category: bug » support

In Role-profile assignments settings, make sure the roles listed upper have an assigned profile as they will precede others.
If you have 2 roles, you'll have the profile that is assigned to the one upper in the list.

gregarios’s picture

Category: support » bug
FileSize
158.02 KB
22.29 KB
94.66 KB

I have several profiles, with several permissions settings. They appear to be set correctly. See the attached screenshots. I am the super-user. I never made that "user #1" setting. I believe the module just has that one permanently? The super user's permissions are ALL checked "on" in the permissions settings.

As I said, this in only a problem in 1.4, and reverting fixes it, so this is not a support request. I've been using this setup for over a year with no problems, so it shouldn't be my settings unless something in your module has changed them.

Was something changed regarding permissions that Imce CCK Image module would now have a problem? The browser works in standard image placements, but not when launched via the Imce CCK Image module.

rofsky’s picture

Version: 6.x-1.4 » 6.x-2.0-beta2
Priority: Normal » Critical

I too am having the same problem as gregarious, it just started to happen a few days ago after upgrading the module.

The interesting thing is when I go to /user/USERID/imce , i can see the imce file browser, but when I am going to use my add image button thru my cck field that has been working for months, it gives me the error :

You don't have access to any configuration profile to use the file browser!

The error doesn't happen while logged in as superuser, but when I am logged in as a regular user, or another authenticated role, I have that issue, and also just like gregarious, I checked the settings and order, and its correct, its the same as it has been. And similar to his screenshots.

This is an important feature of my clients site, can you please look into this issue.

edit* I choose 6x beta 2 in the drop down under this request, but im actually using 6.x-1.4 of the imce module, and the 6.x-1.0-beta2 version of IMCE image for cck

jmaties’s picture

the same problem :(

exiled_hammer’s picture

Same Problem on two sites after upgrading

ufku’s picture

rofsky’s picture

FIXED BY FOLLOWING the advice by ukfu # 6 on the post above :

Just to recap go to the imageimce module, modify the following

replace url('imce/browse') with url('imce') in imceimage.module

Thanks ukfu :)

johan2’s picture

Hi rofsky,

Thanks for solution

ptaff’s picture

Confirmed comment #9 hack works and subscribing for further info.

Daniel Norton’s picture

Status: Closed (duplicate) » Active

This is not a duplicate of that report, which is for a different project.

gregarios’s picture

Status: Active » Closed (won't fix)

Solution found in Imce CCK Image module found here.

farrington’s picture

FYI:
This is not only related to Imce CCK Image, I know as I don't use that module... in my case it's my editor (Markdown Editor for BU Editor).

Issue posted at the issue queue for Markdown Editor for BU Editor (with patch suggestion).

vinmassaro’s picture

Version: 6.x-2.0-beta2 » 6.x-2.0-rc1
Status: Closed (won't fix) » Active

Reopening as I am still seeing the issue and do not use the IMCE CCK image module.

When updating IMCE from 6.x-1.3 to 6.x-2.0-rc1 it:

1. Removes the configuration profile I have set up, and
2. Gives the same error when trying to access the image browser from within the TinyMCE editor:

You do not have access to any configuration profile to use the file browser!

When I visit the IMCE settings page, my configuration profile is gone and none are listed. This is a profile set up via Features. We run a large number of sites off of this same set of features so upgrading would be destructive. I've reverted back to 6.x-1.3 in the meantime. Thanks.

ufku’s picture

Status: Active » Closed (cannot reproduce)

Tried updating a clean install and profiles were not affected.
If you think it can be reproduced with certain steps, please open a separate issue providing details.

gregarios’s picture

Version: 6.x-2.0-rc1 » 6.x-2.1

A patch with new instructions that most likely fix this issue are found here: http://drupal.org/node/817824

crownpointdesign’s picture

Title: Error: You don't have access » You don't have access to any configuration profile to use the file browser!

Worked for me too with v 6.24 thanks -
To Recap The Working Solution:

1. open: modules/imagemce/imagemce.module
2. find: url('imce/browse')
3. replace with: url('imce')

Confirmed to be a working fix.
Thanks Ukfu

carnevaledesign’s picture

I had this problem with Drupal 7 as well using BUEditor, MarkDown Editor and IMCE (7.x-1.5). Rather than editing IMCE, you could also create a redirect from "imce/browse" to "imce" using Path redirect (Drupal 6, unconfirmed) or Redirect (Drupal 7). Works like a charm for me.