Error on Wp please HELP

Discussion in 'Graphic Design Forum' started by Indiandrugshop.com, Aug 13, 2008.

  1. Indiandrugshop.com Not Active

    Indiandrugshop.com
    Joined:
    Aug 12, 2008
    Messages:
    15
    Likes Received:
    0
    Location:
    India
    Hey

    I dont know what i changed but i suddenly get this error when i am looking at my website , i use a word press them and i am able to login into the admin area but when i go into the website this is the error i get

    Warning: main(./wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /home/mydiscou/public_html/buckcherry/index.php on line 4

    Warning: main(./wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /home/mydiscou/public_html/buckcherry/index.php on line 4

    Warning: main(./wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /home/mydiscou/public_html/buckcherry/index.php on line 4

    Fatal error: main() [function.require]: Failed opening required './wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mydiscou/public_html/buckcherry/index.php on line 4


    Somebody please help
    -Steve
  2. Mr.Bill Qdoos Contributor

    Mr.Bill
    Joined:
    Aug 3, 2008
    Messages:
    61
    Likes Received:
    1
    might have a look and make sure this file is still there wp-blog-header.php
  3. Fuzzer Qdoos Contributor

    Fuzzer
    Joined:
    Aug 10, 2007
    Messages:
    1,223
    Likes Received:
    5
    i would download the theme again and see if it makes a difference or change the theme from the admin pannel and see if it is just that theme which i would imagine it is
  4. Indiandrugshop.com Not Active

    Indiandrugshop.com
    Joined:
    Aug 12, 2008
    Messages:
    15
    Likes Received:
    0
    Location:
    India
    Hello everyone thanks for your feedback , i changed the theme and it worked .The problem i am having now is that the theme i am using i am not sure how to add adsense or Ads to the section on my right .When i add anything the whole right side of the theme shows up below .Can anybody help me fix this ?
  5. Fuzzer Qdoos Contributor

    Fuzzer
    Joined:
    Aug 10, 2007
    Messages:
    1,223
    Likes Received:
    5
    Im not great with coding but im pretty sure someone will be online in the next couple of hours that can help
  6. Indiandrugshop.com Not Active

    Indiandrugshop.com
    Joined:
    Aug 12, 2008
    Messages:
    15
    Likes Received:
    0
    Location:
    India
    Thanks Riverwire ..i hope someone gets back to me ASAP .

    -Steve
  7. Iearn-Money Qdoos Contributor

    Iearn-Money
    Joined:
    Jun 10, 2008
    Messages:
    1,147
    Likes Received:
    8
    Location:
    Iearn-Money.Com
    You edited the header.php file with a bad code on line 4! Remove it and it will work again!
  8. Fuzzer Qdoos Contributor

    Fuzzer
    Joined:
    Aug 10, 2007
    Messages:
    1,223
    Likes Received:
    5
    He's changed the the template now but has a different problem

  9. Iearn-Money Qdoos Contributor

    Iearn-Money
    Joined:
    Jun 10, 2008
    Messages:
    1,147
    Likes Received:
    8
    Location:
    Iearn-Money.Com
    Well I'll ask you of the file you're trying to edit + the code you want to insert.. And hopefully I can help!
  10. Indiandrugshop.com Not Active

    Indiandrugshop.com
    Joined:
    Aug 12, 2008
    Messages:
    15
    Likes Received:
    0
    Location:
    India
    Hi,

    Here is the code , i would like to insert adsense or prob some amazon ads

    <div align="center">

    <!-- squarebar widgets -->
    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar('squarebar') ) : ?>
    <?php endif; ?>

    <?php /* There is no need to edit any code here, add your advertisement codes using squarebar widget in your Wordpress blog. */ ?>

    </div>


    Take a look at my blog this is in the right hand side , just above the sidebar .


  11. Iearn-Money Qdoos Contributor

    Iearn-Money
    Joined:
    Jun 10, 2008
    Messages:
    1,147
    Likes Received:
    8
    Location:
    Iearn-Money.Com
    Is it on this blog ? buckcherry.info ?

  12. Indiandrugshop.com Not Active

    Indiandrugshop.com
    Joined:
    Aug 12, 2008
    Messages:
    15
    Likes Received:
    0
    Location:
    India
    I have changed my template ..problem resolved .Thanks for all your help
Loading...

Share This Page