Hello, I've trying out version 2 of your great module, I think I found a bug.
While using user-1 I can access everything ok. With an administrator, or other registered users, I can see and the bueditor buttons, When I click browse to open IMCE, I can see the popup but I can't select anything. The log does not show anything, I can't select existing images, or upload new ones.

I'm sure I have permissions to the folders, So I'm guessing this might be an issue with bueditor sending the permissions to imce, if that even makes sense... (I'm not a developer :)

IMCE permissions worked with version 1.4.
What other type of information can I give to help you track this down?

Thanks

CommentFileSizeAuthor
imce-otherusers.png14.33 KBjolidog
imce-user1.png120.49 KBjolidog

Comments

ufku’s picture

I can't reproduce this.
It seems to be a javascript error.
Did you test it with different browsers?
Do you see any javascript errors in your browser's error console?

jolidog’s picture

Thanks for the quick reply.
I tried it with Firefox 3.5.5 and IE8.

Tonight, I'll check for javascript errors. But if it's javascript, why would it work with user-1 and not the others?
I will also try with a clean install, and inform you of the results... Thanks!

jolidog’s picture

Ok So I replaced the bue.min.default.js with the separate library files, and I get an error on bue.imce.js on line 64

"I.win is undefined"

With user-1 there is no error...

This is on firefox, I have firebug installed, if you want me to test anything else... Does this information help?

ufku’s picture

I suspect IMCE is the source of the error. BUE error is probably a result of another error in IMCE iframe.
Firstly, just change "I.win" to "win" on line 64 to see if it makes a difference.
Compare the source codes in IMCE iframe printed to user#1 and other user.
Test with another theme. IMCE is known to be problematic with some themes.

jolidog’s picture

Status: Active » Closed (fixed)

I'll change the code and also compare the sources from the iframes.

But... Again, insisting on the user-1 difference... The only thing I can think of that's different is the module simplemenu being disabled for user-1! Could it be there is some conflict between simplemenu and the imce popup? The theme is the same for user-1 and other users, so it might be simplemenu.

-------

While writing the post, and realizing the connection with simplemenu, decided to check out simplemenu issues and found this: #542948: Javascript error causing problems with other modules

I'll mark this as closed for now, since it's most likely related, although I don't see any errors for simplemenu in the console.

I'll try disabling simplemenu first, than test with the patch at #542948. I'll let you know if it's solved.

Thanks you for your time!