Fatal Error All of a Sudden on My Site

Discussion in 'Programming' started by vgal, Jun 26, 2008.

  1. #1
    Site is on WordPress. It used to/was working going directly to http://www.vgal.info, but now it shows this error when going there:

    Fatal error: Call to undefined function bloginfo() in /home/a1175884/public_html/index.php on line 5

    You can still type in http://www.vgal.info/wordpress, and it works.

    Here is what line 5 says in the php file referenced:
    <meta name="description" content="<?php bloginfo('description'); ?>" />

    I didn't change anything to do with index pages or php's so I have no idea what happened or how to fix it.

    Can you pretty please help me?
     
    vgal, Jun 26, 2008 IP
  2. Vooler

    Vooler Well-Known Member

    Messages:
    1,146
    Likes Received:
    64
    Best Answers:
    4
    Trophy Points:
    150
    #2
    1. Any change in theme ?
    2. upgrade ?
    3. or moved files ?

    It used to work ? If yes then is there any statement matching 'include', 'include_once', 'require', 'require_once' in index.php ? If yes then paste it.

    regards
     
    Vooler, Jun 26, 2008 IP
  3. vgal

    vgal Active Member

    Messages:
    873
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    60
    #3
    The only thing I've done recently was rewrite a couple of the pages - the text. No change in theme, no upgrade, and I don't think I moved any files. I'm going to go look for what you asked, though. Thank you so much for replying.
     
    vgal, Jun 26, 2008 IP
  4. vgal

    vgal Active Member

    Messages:
    873
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Here is the redirect I use on the index.html (couldn't get WP at the root when I set this at the beginning, so I just redirected to /wordpress) Maybe something here? Don't know why it would just stop working, though.

    <html>

    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>New Page 1</title>
    </head>
    <body>
    <!-- Begin Redirect URL -->
    <script Language="JavaScript">
    location.href= ('http://www.vgal.info/wordpress/');
    </script>
    <!-- End Redirect URL -->


    </body>

    </html>
     
    vgal, Jun 26, 2008 IP
  5. vgal

    vgal Active Member

    Messages:
    873
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Amazing, amazing person! Thank you SO much!
    !
    NOone seemed to be able to help me - but this person did. It's FIXED! THANK YOU!

    Who was able to solve it?? Shawnsitsolutions! If you ever have a problem - CONTACT THEM!
     
    vgal, Jun 26, 2008 IP
  6. LindseyInteractive

    LindseyInteractive Well-Known Member

    Messages:
    2,830
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    175
    #6
    Thanks,
    Glad I could help. If you ever need anything again pleaes let me know.
     
    LindseyInteractive, Jun 26, 2008 IP
    vgal likes this.