Closed (fixed)
Project:
Advertisement
Version:
5.x-1.x-dev
Component:
ad_image.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2007 at 18:38 UTC
Updated:
13 Sep 2007 at 19:42 UTC
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
Comment #1
jeremy commentedYou 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...
Comment #2
mileZ commentedHi 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
Comment #3
jeremy commentedPlease fully describe your filesystem configuration -- specifically, where are the files being uploaded to versus where is the ad_image module looking for them?
Comment #4
mileZ commentedwith "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.Comment #5
jeremy commentedI did some searching of issues related to the upload module and found two that sound relevant: this issue and this issue. Do either help?
Comment #6
jeremy commentedNo further updates, hopefully the provided links helped you solve the problem. Closing issue.
Comment #7
(not verified) commented