Error when trying to upload rotor images.
Trying to implement Rotor functionality for Drupal 6.19. I have activated modules:
jquery_plugin
upload_element
views
I have assigned the default rotor block to the header area for display on the front page.
Next I want to create some rotor items so I go to >Create Content>Rotor item.
I set a Tab Text, link URL, link target, and rotor image. When I click the update
button to load the rotor image I get the following error....
An HTTP error 0 occurred.
/drupal/?q=upload_element_js/form-f033e47678af25c42133e812dbe2aeb2/rotor_item_node_form/rotor_image
I've seen some Drupal issues which indicate that the size of the image may cause the problem.
I've been able to successfully load images using the >create content>image function. For this I've
loaded 200k images with no problem.
I've seen some issues in the db which indicate that permissions might be the problem so I set /drupal/sites/default/files/images/temp
to 777 for both temp and images but I still get the same problem.
Any ideas as too why I can't create a rotor with an image?
Thanks in advance.
Comments
Comment #1
JxColeman commentedOther Information:
Should have also mentioned that the rotor does show on the initial page as I set it, however since I don't have any images loaded it's just showing the nodes which are assigned to the initial page. I assume that I can filter these out after I get my images loaded.
--
My file system path under "Home › Administer › Site configuration" is set to: "sites/default/files". The tmp directory is set to /tmp
Comment #2
JxColeman commenteduhh .... Help !
Comment #3
apmsooner commentedWhat if you just try creating your own custom content type with an image field and then make a view with the rotor style plugin? I havn't seen the error before but if you were still having the error pop up on just standard image field in custom content type then you could at least isolate the error to something else and not rotor banner module.
Comment #4
JxColeman commentedThanks apmsooner, I'll give it a try and will update with the results.
Comment #5
apmsooner commentedGood, I think this might work for you. The default rotor content type uses the upload element module for image uploading which maybe theres some issues with that vs. the more widely used filefield module. The upload element module page states it will be discontinued also so perhaps rotor banner can remove the dependency and defer to the filefield module hopefully in a future release.
Comment #6
JxColeman commentedSome real strangeness here !
I created a custom content type using CCK for my images, however when I click "upload" I get the same "HTTP error 0" message. HOWEVER, just to see what would happen instead of clicking "upload" (the image comes from my local harddrive) I clicked "SAVE". And suddenly it both uploaded and saved !
I then when back to the rotor type and did the same thing, clicked save instead of upload. BAM...it worked ! Ok, so what's the difference between save and upload ?