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.

problem installing on article website

Discussion in 'Co-op Advertising Network' started by turbosatan, Jul 17, 2007.

  1. #1
    i have followed the php site instructions and failed several time now

    i initially was getting nothing at all but now i have the following error showing

    Fatal error: Cannot redeclare file_get_contents_an() (previously declared in /home/rights/public_html/ad_network_320.php:4) in /home/rights/public_html/ad_network_320.php on line 4

    seems that the coop code may be using a previouslty used variable or similar in the php article site i am using.

    can anyone offer any advice for this

    thanks
     
    turbosatan, Jul 17, 2007 IP
  2. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #2
    What are you going to give in return?
     
    fryman, Jul 17, 2007 IP
  3. nddb

    nddb Peon

    Messages:
    803
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Since _an probably stands for "Ad Network"... I find it unlikely this is a previously declared function.

    I'd bet you are including it twice, or putting it in a file that's included twice.

    Barring that, find the previously declared function, and change the name. (99.99% chance there isn't a function with that name in your code, would be my bet.)
     
    nddb, Jul 17, 2007 IP
  4. turbosatan

    turbosatan Well-Known Member

    Messages:
    957
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    135
    #4
    lol

    another great fryman post.

    i think my next project will be "find Anything by Fryman of any use whatsoever on digitalpoint"

    you make laugh you sad man

    and in reply. anyone who helps can have the weight for the first week in return.

    ;-)
     
    turbosatan, Jul 18, 2007 IP
  5. turbosatan

    turbosatan Well-Known Member

    Messages:
    957
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    135
    #5
    I have tried removing all references to it and am having no luck.

    i also am having a problem with a wordpress site too.

    when i ad the php to the footer file it has a reference to ad_network_ads_320.txt


    firstly i thought it was supposed to be called ad_network_320 and secondly i thought it was supposed to be a php file not text.

    seems to just create strange problems for me which are not covered in the official or unofficial faq

    ----------------------------------

    update

    i have managed to get the ads to show on the wordpress blog now but after i have spcifically picked text ads onyl it is showing banner ads.

    anyone know of a way to remedy this?
     
    turbosatan, Jul 18, 2007 IP
  6. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #6
    Not worth my time

    Good luck
     
    fryman, Jul 18, 2007 IP
  7. turbosatan

    turbosatan Well-Known Member

    Messages:
    957
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    135
    #7
    true.

    you need to spam other threads with worthless nonsense

    :-P
     
    turbosatan, Jul 18, 2007 IP
  8. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #8
    Yup

    Have fun
     
    fryman, Jul 18, 2007 IP
    uttoransen likes this.
  9. turbosatan

    turbosatan Well-Known Member

    Messages:
    957
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    135
    #9
    lol.

    i am almost starting to like him. not quite but almost......
     
    turbosatan, Jul 19, 2007 IP
  10. nddb

    nddb Peon

    Messages:
    803
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I don't know what the difference is, there really isn't any between banner and text. The only thing I can think of is that your html is messed up.

    You obviously need to keep fiddling with it, because the errors you have described are simple and your first instinct should not be to post, try to figure it out. Play with it, but DO NOT modify the co-op code. It is against the stated TOS.
     
    nddb, Jul 19, 2007 IP
  11. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #11
    You need to flush your ads .txt file. Just replace it with a blank one and give it a 666 permision
     
    fryman, Jul 21, 2007 IP
  12. Dany Ling

    Dany Ling Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I found that those problems don't exist in PHP: Hypertext Preprocessor. 5.2.5 - perhaps your problem is the function mystaticfunc which is a public static function that can be called with foo::mystaticfunc();

    best of luck...
     
    Dany Ling, Jan 11, 2008 IP