Closed (fixed)
Project:
IMCE
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2008 at 13:03 UTC
Updated:
19 May 2011 at 19:53 UTC
as reported also here http://drupal.org/node/238415 my imce works fine but after selecting an image on the list and clicking on Send it to FCKEditor the IMCE window closes but no string is sent to fckeditor dialog. This happens both in FF and IE6. I don't get any js error....
Anyone else noticed this?
the only "strange" setting I have is the domain not in the default position but like this
sites/domainname/modules/imce
while fckeditor is in
sites/all/modules
and I still get "connector is disabled" even if I have set the $cookiedomain variable in both settings.php ( but this shouldn't matter anyway)
any suggestion of what's going wrong?
thanks
poehnix
Comments
Comment #1
poehnix commentedAfter further investigation with firebug seems that the problem lies in "appFinish" function in imce_set_app.js
the "File" object contains the url wanted (except for a slash at the beginning of the string) while the appFields object is empty so code
doesn't transfer the url.
Anyone help ( or at least suggest a way to access the id=txtUrl iunput field in the parent document so I can add a code row to copy the url value?)
has anyone else noticed this issue?
thanks
poehnix
Comment #2
poehnix commentedso to make it work with fckeditor I changed the above code in
but I would like to hear a word from some people more used than me to tweak imce/jquery on how to solve this issue without hacking imce code
thanks
poehnix
Comment #3
ufku commentedappFields is constructed by processing location.href. It should end like ...app=FCKEditor|url@txtURL|...
What is the value of location.href in the script?
Comment #4
poehnix commentedthe url isn't immediately visible (imce window doesn't have a location bar when called from fckeditor), but using Firefox 3 I found that
location.href is:
the only strange stuff is the fact that @ comes encoded. Might this be the problem ( the location parsing fails?)
if so it's due to my server (php) configuration or what else?
thanks for your reply
poehnix
Comment #5
ufku commentedThat's it. @ comes encoded. I think it is about the server. My server does not encode @s.
Then, IMCE should decode the whole string.
I'll commit this soon.
Thanks for debugging.
Comment #6
poehnix commentedThanks to you for your effort and this wonderful module.
poehnix
Comment #7
sykic commentedI am having a similar problem to this
In the Image properties 'link tab' of Fckeditor after selecting image from IMCE nothing is returned
the correct URL is returned in the 'image info tab'
Thanks for producing this excellent module
Comment #8
shali.nguyen commentedThis is a similar issue I'm experiencing. Using IMCE's "Browse Server," after you click to "Insert Image," it works completely fine as an administrator but not as authenticated user or subadmin users (even though I've set up profiles and enabled the settings under each permission setting)....
Any thoughts?
Comment #9
himdel commentedshali .. have you managed to make it work? I have the same problem, as admin, I can insert images via fckeditor+imce without any problems, but as auth user, the "Browse Server" button isn't there. Thanks
EDIT: fixed, you need the 'allow fckeditor file uploads' right .. which sucks .. you should be able to choose images even if you can't upload.
Comment #10
ufku commentedClosing 6.x-1.x issues as this branch is no more supported.