After moving to a new server, now running on windows 2003, php5 and mysql 5, the advertizing module doesn't display any ads. I can upload images, and set up everything up, both text and epitome ads, and activate it. But when I load the advertisement group blocks, it dones't brandish any prototype or any ad at all, just the name of the block. I demand some help with this as information technology'southward very of import for me to get this to work. Cheers.

Comments

Jeremy's picture

Usually ads not displaying means you haven't granted the "show advertisements" permission. All the necessary steps for configuring the ad module can exist found in the INSTALL and README files.

If information technology's not a permissions issue, the next pace is to view the source of the page and find the "adserve.php" url used to brandish ads. Copy it into your web browser (converting the &'s to plain &'s) and add &debug=2 at the end. Then post the resulting debug output in this issue...

(I'm re-assigning this as a "support request" equally at this time I have no reason to believe information technology'south a bug.)

krystalepic's picture

It is not an admission permission issue. I have checked that.

I have entered the adserve.php and ended upward with this:
document.write('

');

But I have active ads inside my site. I accept activated 1. This is what one of my ads says.
This advertizement is actively being displayed.
This advertisement has been agile since Saturday, July 21, 2007 - xviii:57.

Thanks.

Jeremy's picture

Please exercise the debug steps I detailed in my previous posting. (Yous have to add together &debug=two to the adserve.php URL). Without getting that debug output there's not much I can offering.

krystalepic's picture

I tried to blazon http://www.mysite.com/modules/advert/adserve.php&debug=2 and the folio wasn't found.

I did this instead http://www.mysite.com/modules/advertizing/adserve.php?q=&debug=2 and got the following.

ad_dir: 'D:\root\mysite\story\modules\ad'
debug: '2'
cache: 'none'
nids: ''
tids: ''
hostid: ''
quantity: '1'
Root drupal directory detected as 'D:\root\mysite\story'.

D:\root\mysite\story\modules\ad/adserve.php: // $Id: adserve.php,5 1.2.ii.15.2.20 2007/07/18 23:02:43 jeremy Exp $
D:\root\mysite\story\modules\advertisement/ad.module: // $Id: advertisement.module,5 1.two.two.29.2.38 2007/07/18 23:27:23 jeremy Exp $

No cache enabled.
Drupal bootstrap '7'.
Ads displayed: 0
document.write('');

I hope this is right. Cheers for the help.

Jeremy's picture

Please review DEBUG.txt that'south included with the ad module for details on how to properly employ &debug=2. You lot are missing all the other fields that should exist included in the adserve.php URL.

krystalepic's picture

Sorry, I misunderstood the directions earlier. I recollect this should be right at present.

http://story.krystalepic.com/modules/ad/adserve.php?q=1&c=file&f=3&p=fil...
Gave me:
certificate.write('

');

http://story.krystalepic.com/modules/ad/adserve.php?q=1&c=file&f=3&p=fil...
Gave me:
Attempting to include enshroud include file 'D:\root\Krystalepic\story\modules\advertizement/cache/file/ad_cache_file.inc'.
ad_dir: 'D:\root\Krystalepic\story\modules\ad'
debug: '2'
cache: 'file'
nids: 'i,ii,3,5,eight,nine,10,11,12,xiii,14,16,17,eighteen,21,23,29,30,32,35,36,37,38,39,44,47,48,50,53,54,55,56,57,58,59,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126'
tids: ''
hostid: ''
quantity: '1'
path: 'files'
files: '3'
Root drupal directory detected equally 'D:\root\Krystalepic\story'.

D:\root\Krystalepic\story\modules\ad/adserve.php: // $Id: adserve.php,v 1.two.ii.fifteen.2.xx 2007/07/xviii 23:02:43 jeremy Exp $
D:\root\Krystalepic\story\modules\advertizement/ad.module: // $Id: advert.module,v ane.2.2.29.2.38 2007/07/xviii 23:27:23 jeremy Exp $

Using file cache.
Trying cache_file 'files/.1.ad.cache'.
Obtained lock.
Concluding sync:
Current time: 1185143810
Will rebuild cache now.
Timestamp: 2007072215
cache_size(99)
Randomly selecting ad: 1 of 1
Randomly selected ID: sixteen
Validating ID sixteen
Validating ID 17
Validating ID 18
Validating ID 19
Validating ID 20
Validating ID 21
Validating ID 22
Validating ID 23
Validating ID 24
Validating ID 25
Validating ID 26
Validating ID 27
Validating ID 28
Validating ID 29
Validating ID xxx
Validating ID 31
Validating ID 32
Validating ID 33
Validating ID 34
Validating ID 35
Validating ID 36
Validating ID 37
Validating ID 38
Validating ID 39
Validating ID 40
Validating ID 41
Validating ID 42
Validating ID 43
Validating ID 44
Validating ID 45
Validating ID 46
Validating ID 47
Validating ID 48
Validating ID 49
Validating ID 50
Validating ID 51
Validating ID 52
Validating ID 53
Validating ID 54
Validating ID 55
Validating ID 56
Validating ID 57
Validating ID 58
Validating ID 59
Validating ID 60
Validating ID 61
Validating ID 62
Validating ID 63
Validating ID 64
Validating ID 65
Validating ID 66
Validating ID 67
Validating ID 68
Validating ID 69
Validating ID 70
Validating ID 71
Validating ID 72
Validating ID 73
Validating ID 74
Validating ID 75
Validating ID 76
Validating ID 77
Validating ID 78
Validating ID 79
Validating ID 80
Validating ID 81
Validating ID 82
Validating ID 83
Validating ID 84
Validating ID 85
Validating ID 86
Validating ID 87
Validating ID 88
Validating ID 89
Validating ID xc
Validating ID 91
Validating ID 92
Validating ID 93
Validating ID 94
Validating ID 95
Validating ID 96
Validating ID 97
Validating ID 98
Validating ID 0
Validating ID 1
Validating ID ii
Validating ID iii
Validating ID 4
Validating ID 5
Validating ID 6
Validating ID 7
Validating ID 8
Validating ID 9
Validating ID x
Validating ID 11
Validating ID 12
Validating ID thirteen
Validating ID xiv
Validating ID 15
Validating ID xvi
No more valid ads found.
Drupal bootstrap '7'.
No active ads were institute in the nids \'17\'.
document.write('');

Jeremy's picture

Are you lot trying to brandish ads with views? Information technology seems perhaps you accept things misconfigured. In any case, the debug is quite articulate: at that place are no active ads in the listing of nids you lot're telling it to choose an advert from. If there are no active ads to display, information technology will not brandish any ads. You need to configure your view or cake to include one or more nids of active ads.

krystalepic's picture

That's the thing, I pretty sure I've configured it properly. I accept currently agile ads for that specific block. The matter is information technology used to piece of work earlier I moved the site to a new server. I had a recent server motion and then of a sudden the ads stopped working. I have active ads for that specific block I'1000 working with. I even went dorsum and deleted all the former ad groups and created new groups but information technology's still the same. I fifty-fifty did it with new ads too. Neither text or paradigm ads are working at all. For some reason that I don't know, it isn't detecting the fact that I do have active ads for that block.

I don't call up I'g trying to brandish the ads using view. I have that installed for a dissimilar module, but not actually using it for annihilation else. Nevertheless, I had that installed previously and information technology was working, but at present it's not. It was working really nicely before and I really liked it as it was working very well. I was wondering would my server configuration have annihilation to exercise with this? I used to be on a linx server, but now I'thou on a window server.

Jeremy's picture

What is the name of the block you are trying to use to display ads?

What are the nids of your ads (or at least a few of them if you have a lot)?

This does not appear to be at all related to the Bone. From the debug yous provided, it only seems like your block or view is misconfigured, or yous don't have whatsoever agile ads.

Tin can you execute the post-obit SQL query in your database and mail service the output:

                                  mysql> SELECT assist,adstatus,adtype,redirect FROM ads where adstatus = 'agile';                              

krystalepic's picture

Proper name of the cake is ad group: Right Ad Box 125x25 Top' cake
Block title: Ad
NID: 810
(I gotten rid of all the old ones and build a brand new one, so there's only one left now.)

+-----+----------+-------------------------------------+
| aid | adstatus | adtype | redirect |
+-----+----------+-------------------------------------+
| 810 | active | epitome | http://story.krystalepic.com/index.php?q=ad/redirect/810 |
+-----+----------+-------------------------------------+
1 row in gear up <0.00 sec>

Jeremy's picture

This looked to be a simple misconfiguration. No further feedback, so I'thou bold it was fixed. If not, try the latest version of the module earlier re-opening.

Anonymous's picture

Condition: Fixed » Closed (fixed)

Automatically airtight -- issue stock-still for two weeks with no action.