Hi, I have this error:

    * The selected file /Applications/MAMP/htdocs/fotorey/files/portfolioboximg.jpg could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
    * Image validation failed, unable to mark ad as active. Setting ad as pending. If you do not see any more errors, you should now be able to set your ad as active.

I'm working in local on Firefox 2 and and MacBook Pro.

Thnx
mileZ

Comments

jeremy’s picture

You need to first properly configure the core upload module before you can use the ad_image module. I don't see a lot of documentation for the upload module, but you might start in the handbook. Be sure permissions are set correctly, etc...

mileZ’s picture

Hi Jeremy,

the upload module works fine and the permissions are ok.

The resolution is set to "0" (no restriction).

Download Method is set to "public" and the caching mode is disabled.

I copied the image in the "files" directory and it works, it seems that ad_image doesn't search in the right folder.

I created the folder ads...

I hope this can help.

Btw, great great great module :-)

mileZ

jeremy’s picture

Please fully describe your filesystem configuration -- specifically, where are the files being uploaded to versus where is the ad_image module looking for them?

mileZ’s picture

with "file attachment" I upload the image. "File attachment" saves the file in the files folder. But the strange thing, I've noticed that the file name changes ex:
portfolioboximg.jpg becomes 8e49020e5d63ba80107f1453de2cc4e0.jpg. That's why:

The selected file /Applications/MAMP/htdocs/fotorey/files/portfolioboximg.jpg could not be copied, because no file by that name exists. Please check that you supplied the correct filename.

jeremy’s picture

I did some searching of issues related to the upload module and found two that sound relevant: this issue and this issue. Do either help?

jeremy’s picture

Status: Active » Fixed

No further updates, hopefully the provided links helped you solve the problem. Closing issue.

Anonymous’s picture

Status: Fixed » Closed (fixed)