Closed (fixed)
Project:
BUEditor
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2009 at 23:19 UTC
Updated:
3 Dec 2009 at 17:11 UTC
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
| Comment | File | Size | Author |
|---|---|---|---|
| imce-otherusers.png | 14.33 KB | jolidog | |
| imce-user1.png | 120.49 KB | jolidog |
Comments
Comment #1
ufku commentedI 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?
Comment #2
jolidog commentedThanks 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!
Comment #3
jolidog commentedOk 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?
Comment #4
ufku commentedI 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.
Comment #5
jolidog commentedI'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!