Ready to get started?Download WordPress


Categories Error (7 posts)

  1. es
    Posted 9 years ago #

    Whenever I click on the archives for a particular category I get this message:

    "Warning: main(): Failed opening './wp-includes/google.txt' for inclusion (include_path='.:/usr/local/lib/php') in /hsphere/local/home/erics/estephens.org/wp-content/themes/letterhead/archive.php on line 4"

    Any ideas?

    e.s. The Examined Life (http://www.estephens.org)

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    What is "google.txt" ?

  3. es
    Posted 9 years ago #

    That's a good question?!? I've not any idea where that is coming from...

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Try changing the theme ?

  5. es
    Posted 9 years ago #

    Podz...thanks for getting back to me so quickly! I've changed the theme to the default and it worked fine, no error, I will email Robin (the creator or the letterhead theme I am using and see if she has any ideas)....very strange...

  6. es
    Posted 9 years ago #


    Took this line out of archive.php:

    <?php include('./wp-includes/google.txt'); ?>

    everything works...don't know anything about this line though...

    Thanks again for your help

  7. gobloq
    Posted 9 years ago #

    I use LetterHead themes and got the same problem.
    I solved it already by deleting the google.txt.
    Just currious, I try to find out what makes it happen and the answer is google advertising.

    Google.txt is needed to call the google advertising at here's the code of it :

    <div id="google">
    <script type="text/javascript"><!--
    google_ad_client = "pub-0437481905431095";
    google_ad_width = 120;
    google_ad_height = 600;
    google_ad_format = "120x600_as";
    google_ad_channel ="";
    google_color_border = "000000";
    google_color_bg = "FFFF7F";
    google_color_link = "0000FF";
    google_color_url = "008000";
    google_color_text = "000000";
    <script type="text/javascript"

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.