javascript not working

enboig - April 10, 2007 - 17:07
Project:Advertisement
Version:5.x-1.x-dev
Component:ad.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Javascript is not working on my site, I have changed lines:

57: $output = "";
by: $output = file_get_contents($src);

and in adserve.php:
355: print "document.write('". $output ."')";
by: print $output;

#1

Jeremy - April 14, 2007 - 11:42

Your suggested fix completely breaks file caching. Please try disabling the file cache, does javascript then work for you? The way you have "fixed" things will result in inaccurate statistics.

When you say it's not working, what do you mean? What are the symptoms? Is javascript enabled in your web browser?

#2

enboig - April 24, 2007 - 17:33

finally I show banners using a flash which reads the banners database (another person coded this, I don't know flash); sorry.

#3

Jeremy - April 25, 2007 - 14:44
Status:active» fixed

Okay, then closing this issue.

#4

killes@www.drop.org - May 11, 2007 - 12:26
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.