9 replies [Last post]
stilenligt's picture
Offline
Joined: 01/14/2009
Juice: 3
Was this information Helpful?

When i try to upload an image to products i get the message: An HTTP error 0 occcured
/?q=filefield/ahah/product/field_image_cache/0

I already installed and enabled: filefield, content, imagefield, ImageAPI, ImageAPI GD2, ImageAPI ImageMagick, ImageCache, ImageCache UI, Lightbox

Any hints? What more do you need to know to help?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: image upload problems

Have you looked in the Filefield issue queue yet? This is an issue related to those modules... I haven't personally encountered it yet.

davereplicant's picture
Offline
Joined: 02/11/2009
Juice: 2
Same Here

Yeh, same here. Recent Dev of Filefield does the same. Very confusing, can't seem to find much in the way of fixes for this one.

Tried the dev version and switching off the module and dependencies the on again, updated php - no luck yet.

D

Someone suggested that I roll back to alpha2.tar to fix this but now all I get is

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'filefield_validate_is_image_help' was given in /home/fhlinux136/m/mywebsite:-)/user/htdocs/modules/filefield/filefield_widget.inc on line 228.

Anyone else experienced this one?

dvorak's picture
Offline
Joined: 04/04/2009
Juice: 2
Re: image upload problems

I had the same problem, but the problem was Opera 10.00 alpha build 1345. Uploading works fine with stable version or other browser like Chrome or Firefox.

AttachmentSize
error_upload.jpg 14.7 KB
PatW's picture
Offline
Joined: 03/31/2009
Juice: 138
Re: Re: image upload problems

I'm using 6.10-2.0 dev and getting the error with Firefox, but just discovered that uploading works fine with IE.

quicksketch's picture
Offline
Joined: 11/04/2009
Juice: 2
Opera 10.01

I've found that Opera 10.01 corrects the upload problem for me. Seems like an Opera 10.0 (bleeding edge, initial release) problem.

hullja's picture
Offline
Joined: 07/02/2009
Juice: 2
An HTTP error 0 occcured /?q=filefield/ahah/product/field_image_

Hi

I am also experiencing this problem. I'm almost 100% certain the error is within filefield though. Interesting enough, if I change the cck type slightly it works...

when you add a filefield field within a content type it gives you two additional options (file upload or image) The image one always gives the An HTTP error 0 occcured
/?q=filefield/ahah/product/field_image_cache/0 error. however if you set it to file upload and set the extension to jpg, gif then it uploads fine. I will post this info to the filefield comments also.

Jason

himagarwal's picture
Offline
Joined: 06/24/2008
Juice: 295
Re: An HTTP error 0 occcured /?q=filefield/ahah/product/field_im

I'm having the same problem with Ubercart 6.x-2.0 and ImageField 6.x-3.2 / FileField 6.x-3.2.

I tried what @hullja said, but it didn't worked out, and I'm still getting this message:

an http error ) occurred.
/ubercart/filefield/ahah/product/field_image_cache/0

Anyone having the same issue, here.

vega's picture
Offline
Joined: 11/17/2009
Juice: 16
Same problem

I think this has to do with the secure pages. When i turn on the switch to non https when there are no matches, then I get the error when I visit an upload in a secure area. But when I turn off that switch in secure pages, I no longer get the error.

I think I need to put the right thing in ignore pages (in secure pages) to make it work and stay in https for the upload.

vega's picture
Offline
Joined: 11/17/2009
Juice: 16
as a follow up

for me, this fixed my issue. I added to the ignore pages
*/filefield/*
*/progress/*