I'm getting funny "class" parameters inserted into my links at: http://www.raiseyourpulse.com I'm using the same code that, by itself, shows the ads correctly. However, in my template, this extra class variable is inserted. I suspect it may be coming from this part of the code. Can anyone tell me why? This is the html code it's generating: Does anyone know what I can do? Thanks,
That's certainly an odd one. I think the classes are/were present to uniquely id the ads when a site is validated. The class references were (the last time i looked) numeric in nature though - unless your post has been munged to enforce formatting). Either way - what you've posted shouldn't be happening. Perhaps you have it - but I'd be inclined to see that you have the lastest code. Cheers, JL
Interesting footer ya got there... e design by: 2TC Network Copyright © 2002-2005 RaiseYourPulse.com ad_network.php file needs updating" />Black light posters | ad_network.php file needs updating" />DVD Rental | ad_network.php file needs updating" />Sony PSP | ad_network.php file needs updating" />Black light posters | ad_network.php file needs updating" />Elliptical Trainers PHP:
Exactly what I'm trying to get rid of... The "ad_network..." stuff gets added with the "class" variable.
I started with a clean text file, and got the error. I cleared it out to make sure, and it looked like it was working at first, however, when I opened a new window, I was still getting the error. And when I refresh the original window, where it was working, it stopped working. It appeared to be about when I went from one ad being shown five times, to having different ads. Would that have anything to do with it?
Have not studied the code in depth. Is it possible a variable (global like $ads_temp ) is used both by Shawns coop files and the one generated by your template Have not looked at your site yet
Still no solution to this... One other thing... in the week or whatever it was since I started with a new .txt file, I only got two ads in it. Shouldn't that be a bunch more? Just now I did a test... I have a file, coop.php, that just runs the ads: http://www.raiseyourpulse.com/coop.php That works fine. When I first go to my main site: http://www.raiseyourpulse.com, the ads from the coop.php file are there and look normal. However, upon refresh, I start getting that error. So as far as the low number of ads in the .txt file, it appears to be a result of the code not working on my main site, just on the coop.php page. Does that give anyone any ideas on what I can check next?
If it works alone and not within your site them there may be some sort of issues with the variables. Try changing the varible names and see if that helps any.