IMCE 7.19 is installed as indicated on README, for drupal 7.28.

mysite.com/imce shows the window for uploading;
it's then possible to choose the image on the computer with any size, and upload;
the first message is that the file is uploaded, the second one that the file is not an image;
the file's name is in the server file's list, but without any image on the server;
when i try to delete it, the message is that this choice is forbidden, contact the administrator (i translate from french).
and after trying n times with the same file, i get file_n.jpg in the list.
after refreshing the directory, all these "files" disappear, but the next try will give file_n+1.

note : when the image is already on the server, I can insert it with IMCE in my text (I'm using ckeditor)

auto-edit : of course I the administrator / user 1

Comments

ufku’s picture

Assigned: corbin » Unassigned
Category: Bug report » Support request
Priority: Major » Normal

Before posting a bug report, please make sure it is reproducible under certain conditions and share the steps containing details like browser info, site configuration, error messages, etc.

corbin’s picture

Issue summary: View changes
corbin’s picture

ok, what else do you want I precise ?
It has been tested with firefox 29.0.1 and Chrome 34.0;
you have the messages I got;
what elements of the configuration ?

corbin’s picture

in admin/reports/security-review/settings I have checked all verifications (to be skipped)
in admin/config/system/googleanalytics, pages *imce* are exceptions
in admin/config/content/formats/full_html (i use it and it is at the top of the list), I checked HTML elements --> < img >

ufku’s picture

You can create a test environment with a clean Drupal core + IMCE. Testing from scratch will allow you to see if its a webserver issue or not.

corbin’s picture

ok, Thanks, I come back in a few minutes, hours, days, ... ;-)

corbin’s picture

it works on the same server with a fresh installation;
please, dont' close it : I'll try to find the incompatibility

corbin’s picture

I found it (one ?)
incompatibility with "Media Browser Plus for Media 2.x 7.x-3.0-beta2"

I found then this post : https://drupal.org/node/2060447

corbin’s picture

One precision more : in fact, when I try to upload with IMCE, Media Browser Plus Code is used instead of IMCE's , and files are uploaded, but :
- the original image is going in /default/files
- a thumbnail is created in default/files/styles/media_thumbnail/public

ufku’s picture

when I try to upload with IMCE, Media Browser Plus Code is used instead of IMCE's

how is that happening?

hserus’s picture

It because Media browser plus module uses hook_file_presave in media_browser_plus.file.inc. When ever file uploads it check for the term id if not exist take redirect to root folder.

if($entity->source == 'imce') return ;

Apply this code at the begining of hook_file_presave in media_browser_plus.file.inc, it resolves the problem. I know it's not a permanent solution even though it helps to get rid out the issue. Any more sugesstions are appriciate.

yannoth’s picture

#11 works for me

thalles’s picture

This looks solved!

thalles’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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