1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Adbrite Wordpress Error

Discussion in 'Content Management' started by rawaccess, Dec 24, 2012.

  1. #1
    Hello, why does adbrite not work in wordpress? I get the following error:

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /..long-directory-path../functions.php on line 149

    And line 149 is

    try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==''?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe='';var AdBrite_Referrer='';}


    I'm no coder, so what must be fixed?
     
    rawaccess, Dec 24, 2012 IP