I got this warning while trying to upload image:

"An HTTP error 0 occurred.
/image_upload/js"

Any clue??

Comments

notabenem’s picture

Version: 6.x-1.0 » 6.x-1.1

Applies also to version 1.1.

troop’s picture

Just disable devel module.

bass123’s picture

I also get this warning while trying to upload an image:

"An HTTP error 0 occurred.
/image_upload/js"

The devel module has been disabled.

I can upload the file using the core upload module.
file size 12 MB .jpg
settings as follows:
php.ini
upload_max_filesize 40Mb
post_max_size 40Mb
memory_limit 80Mb
max_execution_time = 180

any more ideas?

bojanz’s picture

Status: Active » Postponed

One of your modules is interfering with image_upload, messing up it's js. Most of the time this happens, the devel module is the one to blame (the same error can be encountered with devel + imagefield)

Try disabling anything but the basics, and try again. If the problem persists, let us know.

Peder92’s picture

Issue tags: +Google Chrome

I have the same problem. All other moduls are deaktivated. I'm using Google Chrome. With Internet Explorer I don't see this error

crifi’s picture

This problem is maybe caused by a wrong configuration of $base_url and should be prevented by inserting a warning message to the requirements system. Therefore I created a new issue #1046682: Install/Update process fails if $base_url is set to a wrong URL. Please close this bug as a duplicate, if this solves your issue. Thanks!