Closed (fixed)
Project:
Advertisement
Version:
5.x-1.x-dev
Component:
adserve.php
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Apr 2007 at 06:15 UTC
Updated:
2 May 2007 at 09:46 UTC
Hi, I'm having a bit of problem. The images for the image ad won't show up, all I see in the created ad is a place holder. The link seems to work as does the counter and such. Using Drupal 5.1, MySQL 5.0.32, PHP 5.2.0-8, and apache 2.2.3. No errors in the logs and the image file is right where it thinks it's looking. All the settings are set to 0 and cache is off.
I can see the image if I go to Ads > List > edit, but not if I click on the Content > ad title or if I try to show it in a block on the site.
Thanks.
Comments
Comment #1
vm commentedsounds like a path issue. to help diagnose: view the source of the page. find the HTML being added for the advertisment image and see if you can see whats not correct about the path.
Comment #2
vm commentedunless that is a reference to you knowing the path to the image is indeed correct.
Comment #3
srlinuxx commentedWell, I was saying it was looking in the right place cuz the full path (http://www.example.org/files/on-disk-banner.jpg) was given under the file attachment section of the edit page as well as the image showing up. But the source of the ad content page seems to show just the directory (http://www.example.org/files/) and not the image file itself. I uploaded the image thru the "file attachments."
Comment #4
teleted commentedI don't know if this is the proper fix, but I found that the adserve.php was the problem. None of the parameters were available after the bootstrap process.
I determined this using the debug option for adserve.php. I added &debug=2 to the normal call for this URL:
I solved this problem of empty variables by simply moving the following code to the begnning of the file:
Comment #5
srlinuxx commentedhmm, it's still behaving the same here.
Comment #6
jeremy commentedFixed, as detailed here (#16).
Comment #7
(not verified) commented