Closed (won't fix)
Project:
Advertisement
Version:
5.x-1.5-rc1
Component:
ad_image module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2007 at 16:22 UTC
Updated:
21 Apr 2008 at 13:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
derrickknight commentedJust an additional note:
I confirmed that if I manually upload the file via ftp, it works. Preview also shows the filename in the file attachment container, but no file is actually uploaded.
Comment #2
derrickknight commentedThe fileid (fid) in the ad_image table does not appear to be updating with the new file info. Nor does the image appear to be loaded into the files table?
Comment #3
derrickknight commentedYeah... I found the issue. It was with upload tmp directory. I changed it to files/tmp and everything works.
Sorry to be a bother. Hopefully this will help someone else.
-Derrick
Comment #4
jeremy commentedThank you for updating the issue with how you ultimately fixed the problem. That is much appreciated, for as you say it may help other people having the same problem.
Comment #5
dobeerman commentedstep-by-step for dummies please :)
Comment #6
shawnpetriw commentedI'm having this issue too, but the tmp file is just fine.
Amazingly, at my test site, using the exact same database and code base, file attach works as expected. On my production site it does not. It tries to upload the image, and then it craps out.
Both are hosted by the same company, on the save server. I have no idea where to look to resolve this.
Thankfully, the newest version of the ads module allows for HTML ads, so I can do what I need manually.
for beerman, I think freerangeminds was talking about the file system settings, found at /admin/settings/file-system
Comment #7
jeremy commented"And then it craps out" isn't especially useful. Please provide more information.
Comment #8
jeremy commentedAlso, are you really using "5.x-1.3-2"?
Comment #9
shawnpetriw commentedUnfortunately, the html ad does not appear to count the clicks, only how many times it is displayed. I guess this was to be expected.
Any ideas what I might have to add to my HTML in that ad type to make it count clicks? A script I can pull out from the module itself?
Comment #10
shawnpetriw commentedAlternatively, is there a way I could override the need to use upload module to upload the image ad, and do this manually?
The real issue is to get the upload module working correctly - it's so elegant with the ad module when it works as it should.
Comment #11
jeremy commentedPlease answer my questions, and let's keep this topic about issues with the ad_image module. If you'd like to discuss the ad_html module, please open a new issue.
Comment #12
shawnpetriw commentedSorry, I've upgraded to the release candidate you posted today.
My real issue appears to be the core upload module somehow, or some other site configuration that I don't get.
Comment #13
jeremy commentedCan you please provide a little more information about what symptoms you're experiencing?
Comment #14
shawnpetriw commentedJeremy - this is a great module, I appreciate your looking into this.
I have attached a picture of various screen shots.
Firstly, I am experiencing the problem with the latest dev release and the newer rc release. I tried both and am currently running the latest rc.
History: I had to fix something else regarding taxonomy and ads, so I uploaded a backup of my site to another site, blew out the old taxonomy, and re-installed the ad module. Worked great.
So I proceeded to make the same changes, using the same procedure, on my production site. Everything looked great until I tried to upload an image ad - the ad wouldn't upload (it doesn't attach and it doesn't get transferred to the files directory).
After looking everywhere I could look, and after re-installing the upload module (5.7) I finally decided to blow out my production site and copy everything from the backup site - file structure and database.
Imagine my surprise when I still have the same issue. Both these sites are hosted by the same host, on the same server, with the same setups (as far as I can tell).
I've attached a graphic:
1 - the expected behaviour experienced on my backup site.
2 - the "before" shot after I've selected a graphic to upload, but have not yet clicked attached.
3 - the "after" shot after clicking attach - no file attached.
Comment #15
jeremy commentedSorry, this is outside of the scope of the ad module -- you need to focus on getting the core upload module properly configured. It is most likely a permissions issue. I'd visit the upload module's administrative configuration page and make sure there aren't any errors there. I'd also check the watchdog log after attempting to upload an image, and see if there are any errors there. Finally, I'd check the web server's error logs (ie, Apache's error_log) after a failed upload attempt, and see if there are any errors there. Odds are very good that working through those debugging steps you will track down the configuration issue. If not, you'll want to take this up with upload module developers.