Hi,

I'm experiencing a strange issue: I have two users on the same Drupal website, one "administrator" who made an installation of the Drupal 7, the second was added after, it has an exactly same role (administrator) as the first one.
In the user's profile in File Browser tab for user:
"administrator" all the IMCE toolbar buttons: Upload, Thumbnails, Delete, Resize, Crop are present, and I'm able to browse root folder and all its subfolders.
For user "admin2" all the buttons are missing, only user's u291 folder is shown under the folder, and browsing of is not possible. Buttons don't appear even if I select u291 folder.

CommentFileSizeAuthor
imce_admin2.png20.3 KBstingray
imce_administrator.png27.84 KBstingray

Comments

stingray created an issue. See original summary.

ufku’s picture

Category: Bug report » Support request

Check your "Role-profile assignments" at /admin/config/media/imce and make sure admin role is at the top of the list.

stingray’s picture

administrator role is a second profile in Role-profile assignments after Site maintenance account role in IMCE configuration.
I added some additional folders to show in this profile and I see that profile applied to this user with administrator role, but a toolbar with buttons still missing and there are no previews are shown.
Still, it's quite different from administrator user which out of the box can navigate to any folder under , see thumbnails, image previews and has buttons in IMCE toolbar.

ufku’s picture

Do you see any javascript errors in browser console?
In case it's a theme issue you can try enabling "Use admin theme for IMCE paths" under "Common Settings" at /admin/config/media/imce

stingray’s picture

Thank you for your response, and thank you for pointing me where I can check an error: there was a problem with plupload module/plugin and first profile in IMCE Configuration profiles was set to use plupload for File Uploader. Once I switched to default File Uploader, the following error was gone.

Changing to admin theme didn't help, a JavaScript error in IMCE is:
GET http://modern-xxx.com/js/jquery.plupload.queue/jquery.plupload.queue.js?... net::ERR_ABORTED
imce:43 GET http://modern-xxx.com/js/plupload.full.js?v=1.5.1.1 net::ERR_ABORTED
imce:42 GET http://modern-xxx.com/js/jquery.plupload.queue/jquery.plupload.queue.js?... net::ERR_ABORTED
imce:43 GET http://modern-xxx.com/js/plupload.full.js?v=1.5.1.1 404 (Not Found)
plupload.js?p0z6lu:53 Uncaught TypeError: $this.pluploadQueue is not a function
at HTMLDivElement. (plupload.js?p0z6lu:53)
at Function.each (jquery.js?v=1.4.4:34)
at $.fn.init.each (jquery.js?v=1.4.4:27)
at $.fn.init.$.fn.once (jquery.once.js?v=1.2:55)
at Object.attach (plupload.js?p0z6lu:26)
at Object. (drupal.js?p0z6lu:76)
at Function.each (jquery.js?v=1.4.4:33)
at Object.Drupal.attachBehaviors (drupal.js?p0z6lu:74)
at HTMLDocument. (drupal.js?p0z6lu:557)
at Function.ready (jquery.js?v=1.4.4:30)
(anonymous) @ plupload.js?p0z6lu:53
each @ jquery.js?v=1.4.4:34
each @ jquery.js?v=1.4.4:27
$.fn.once @ jquery.once.js?v=1.2:55
attach @ plupload.js?p0z6lu:26
(anonymous) @ drupal.js?p0z6lu:76
each @ jquery.js?v=1.4.4:33
Drupal.attachBehaviors @ drupal.js?p0z6lu:74
(anonymous) @ drupal.js?p0z6lu:557
ready @ jquery.js?v=1.4.4:30
u @ jquery.js?v=1.4.4:38

thalles’s picture

Hello everyone!
Can you say if this issue was solved?

thalles’s picture

Issue summary: View changes
thalles’s picture

Can you check, if this was setting in Drupal settings.php?

thalles’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.