Just thought I'd make you aware of this issue with IMCE 6.x-1.4 in case you know a fix...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

I am watching topic.

gregarios’s picture

This could very well be a "critical" issue for your module, since it doesn't work at all for users of IMCE 6.x-1.4...

POVYLAZZZ’s picture

Priority: Normal » Critical

I am having the same problem...
It seams that the only fix for now is tu use the elder version... Does anybody have a download link for it?
I tried to use the dev version of this module it seams that his problem was fixed in it but when I pressed the button to send the image to the field I got this error:

HTTP error  404. 
/imceimage/verify

By the way maybe developers could say when we should expect newer version of this module?

P.S. It would be nice if a link to issue queue would appear in main module page (in the bottom next to statistic reports and patches link) cuz it seams as if this module`s maintainers would be avoiding to support this module... Please, do not get all worked up about it it is just what may seam...

gregarios’s picture

P.S. It would be nice if a link to issue queue would appear in main module page (in the bottom next to statistic reports and patches link) cuz it seams as if this module`s maintainers would be avoiding to support this module... Please, do not get all worked up about it it is just what may seam...

It has a link, actually... Drupal.org calls it "View pending patches" now for some reason. :-)

POVYLAZZZ’s picture

That link brings users to:
http://drupal.org/project/issues/search/imceimage?status[]=8&status[]=13...
And all the issues can be viewed at:
http://drupal.org/project/issues/imceimage
Somehow these two links do not bring me to the same place.... :P

Any way what about the issue? Any news about fixing it?

ufku’s picture

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

gregarios’s picture

@tekrei: The fix from ufku in comment #6 works, I can verify. Can you please create a new release with this fix?

gregarios’s picture

Title: Issue with IMCE 6.x-1.4 » Issue with IMCE 6.x-1.4 (fix awaiting implementation)
jnpwebdeveloper’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev

I still have the problem even with the #6 fix. Does anybody know what is causing this? Need to get this implemented asap for a client. Would appreciate any quick fixes.

Thanks

gregarios’s picture

I still have the problem even with the #6 fix.

Did you make sure to clear all your caches in the Performance settings?

iamjon’s picture

I'm having the same issue. After the hack the access denied error changed from

You don't have access to any configuration profile to use the file browser! for all users including admin

to

File browser
You are not authorized to access this page.
For a specific user, admin can access it. Did I miss a configuration step somewhere?

gregarios’s picture

File browser
You are not authorized to access this page.
For a specific user, admin can access it. Did I miss a configuration step somewhere?

This sounds like a different issue, or the user you were logged in as didn't have permission to use the file browser. Admin was able to work it correctly but other users were not?

iamjon’s picture

Hi gregarios,

Thanks for the reply.
Where do i give the user permission to use the file browser? It worked fine before the last round of updates.
It very well may be another issue.

gregarios’s picture

Where do i give the user permission to use the file browser?

in http://yourdrupalsite.com/admin/user/permissions under imce module.

You also need to have roles assigned to the user to use IMCE in general, at http://yourdrupalsite.com/admin/settings/imce.

Oh... I may have confused your user's ability to use the file browser with the ability to use IMCE...

iamjon’s picture

YAAAAAAAAAAAY!!!
gregarios you're my hero.
I can confirm that the second error was pebkac involving my chair and keyboard.
Anyway the hack works.

agerson’s picture

Yes, #6 fixes it.

gregarios’s picture

Version: 6.x-1.x-dev » 6.x-1.0-beta2
Status: Active » Patch (to be ported)
FileSize
425 bytes

Attached is a patch to be rolled against the newest version, which at this moment is imceimage-6.x-1.0-beta2

Anonymous’s picture

I have had some success working with the suggestions regarding the URL but overall I am not satisfied having to patch everything. I have also been crafting a new recipe to eliminate the kludgyness (and now brokeness) of imceimage+imce1.4 and found that most of the work is already done.

Here's the goods:

imce2 is much nicer than imce1.4
imceimage-dev works with imce2
with imce_kama you have a great looking and beautiful setup.

Goodbye error!
Hello awesome.

To the devs of this project: can you post more frequent stable releases? I much prefer the current dev snapshot over the stable version... and I'm not usually one to run "dev" versions.

Thanks for the great work.

david3000’s picture

Hello guys, I patched the module, but the issue still here :(
I tried a lot of combinations of versiones, beta, dev, etc of imce and imageimce, but the issue still here.
Can anybody help me please.
Thanks in advance.

gregarios’s picture

Hello guys, I patched the module, but the issue still here :(
I tried a lot of combinations of versiones, beta, dev, etc of imce and imageimce, but the issue still here.
Can anybody help me please.
Thanks in advance.

If you patched it, then clear all caches on your site and retry it.

david3000’s picture

Thanks gregarios for your replay, but I allways follow the golden rule after apply a patch "clear all caches" ;-) The issue sitll here. I have a lot of modules on my drupal installation and just this module doesn't work propelly, it's wired.

orjantorang’s picture

#6 ufku:s solution works for me after clear cache ; "replace url('imce/browse') with url('imce') in imceimage.module"

gregarios’s picture

Title: Issue with IMCE 6.x-1.4 (fix awaiting implementation) » Imce CCK Image 6.x-1.0-beta2 and IMCE 6.x-2.1 Support Solution (patch supplied)
Component: Miscellaneous » Code
FileSize
3.3 KB

Attached is a patch for Imce CCK Image 6.x-1.0-beta2 to get it to work with IMCE 6.x-2.1. It has been tested with TinyMCE as the editor. From the command line, you can get the patched setup with the following codes:

cd /[path/to/site]/sites/all/modules/
wget http://ftp.drupal.org/files/projects/imceimage-6.x-1.0-beta2.tar.gz 
tar -zxvf imceimage-6.x-1.0-beta2.tar.gz
cd imceimage
wget http://drupal.org/files/imceimage_imce2.1_updater_20110523.patch 
patch < imceimage_imce2.1_updater_20110523.patch
rm *.orig
cp imce-page.tpl.php /[path/to/site]/sites/all/themes/your-theme/imce-page.tpl.php

IMPORTANT: Then, read the README.txt file in the imceimage module directory for special instructions.

bezu60’s picture

I tried this and I still can't insert an image. Can someone send me a link to the previous version of IMCE? It worked perfectly.

gregarios’s picture

Small bug with my fix: To insert the image, don't use the button -- click the image thumbnail in the bottom of the window instead.

dmsmidt’s picture

Same problem for me, the thumb click works.. but the button working would be better.

yang_yi_cn’s picture

FileSize
1.46 KB

actually as @ufku mentioned in http://drupal.org/node/832242#comment-4510710 (in IMCE module's issue queue), the IMCE module changed so we should use the new method as mentioned in the README.txt in IMCE module.

My patch works on both click the image and clicking the button. I'll roll a new version soon.

yang_yi_cn’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Status: Patch (to be ported) » Fixed

actually the dev version seems to be doing it already. this case is closed.

Status: Fixed » Closed (fixed)

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