Set up for html / blogger hybrid site

Discussion in 'Co-op Advertising Network' started by stephenmunday, Jan 26, 2005.

  1. #1
    I have got the ads working and displaying correctly on all my static html pages (see www.japanese-name-translation.com, for example).

    I also publish my blog by ftp on the same server. On the blogger top page, the ads are shown fine (see http://www.japanese-name-translation.com/japanese_faq/index.html) as well as on the archive pages (see http://www.japanese-name-translation.com/japanese_faq/2004_09_01_japanese-name-translation_archive.html).

    However, the pages that just show individual posts do not display the ads. (See this page - http://www.japanese-name-translation.com/japanese_faq/2005/01/how-do-you-translate-names-into-kanji.html)

    The error messages I get are:

    Warning: main(../ad_network.php): failed to open stream: No such file or directory in /home/sites/site42/web/japanese_faq/2005/01/how-do-you-translate-names-into-kanji.html on line 274

    Warning: main(): Failed opening '../ad_network.php' for inclusion (include_path='.:/usr/local/lib/php:../:../../:../../../:../../../../') in /home/sites/site42/web/japanese_faq/2005/01/how-do-you-translate-names-into-kanji.html on line 274


    Should I be using different php code in the blogger pages?

    Please help, coz I have no idea how to do this.

    Thanks!
     
    stephenmunday, Jan 26, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    No, it should be the same... try making the include statement (that includes the ad_network.php file) the full path... probably /home/sites/site42/web/ad_network.php
     
    digitalpoint, Jan 26, 2005 IP
  3. stephenmunday

    stephenmunday Peon

    Messages:
    393
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks, Shawn.

    It's working now. Yay!
     
    stephenmunday, Jan 27, 2005 IP