Hi, I setup on http://www.KayakPages.com according to the instructions 1) My .htaccess looks like this (so that my html-files are PHP-parsed) AddType application/x-httpd-php .php .htm .html 2) The ad_network.php is there and ready 3) The ad_network_ads.txt is chmodded to 777 (why executable is beyond me though) and it is even filled by the ad network. So delivery of the ads seems to work. 4) Every html-file on the page contains the php-script (and obviously it is being executed also otherwise I would not see the word "Array" there) Symptoms: When I invoke www.KayakPages.com/index.html I DO see the word "Array" in the allocated space (underneath the menue), but no ads show. And validation fails also. Please help! Thanks a lot guys! RichHope
Validation will fail if you have no ads, so you can stop trying to validate until you see them. What command are you using to echo the ads out?
Found the problem. Dug into the PHP-code and displayed the ads fine with some debug-statements. My problem was that I use a self-written perl-script to create all my pages and that script reacts to [ and ] and interpretes the contents as something. So the line echo $ad_network[0]; in my template got mangled into echo $ad_network in the final output-files. Which for php means it's supposed to echo the whole array resulting in the word "Array". My solution. Ad some code to my perl-script and make it smarter. Then I'll try it again. We'll see if it validates then. Thanks for your help! RichHope