Whenever I try to create an Image Ad I get the following error.
"It is required that you upload an image for your image advertisement."
I've tried uploading an image for the ad using Image Assist, Image Properties & Image Uploads. Each seem to upload the image but when I hit Save I just get that error. What is supposed to be used to upload an image on an Image Ad?
Thanks.
Comments
Comment #1
fenix_75 commentedI am having exactly the same error. The image is indeed uploaded.
Comment #2
fenix_75 commentedThe error is caused by above code. Cause it always return 0 ;
When I changed id to
the error goes away. Can somebody confirm that what I am doing is right?
Comment #3
fenix_75 commentedComment #4
fuquam commentedWhich file did you change that code in?
Comment #5
promesToday I installed the advertisement module in a new site (D6.22). After solving a PHP5.3 error (see http://drupal.org/node/925580) I got this error as well.
I found above code in ad_image.module and the fix did work for me. But only after upgrading TinyMCE to version 3.4.2.
Comment #6
lrwebks commentedDrupal 6 is EOL and no longer supported. Closing this as outdated for that reason. Thanks for your contribution!