PHP Warning error after server crash

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jiffy
    Member
    • May 2006
    • 42
    • 3.5.x

    PHP Warning error after server crash

    For the love of god I hope someone can shed some light on an issue I am having. I recently replaced a drive in a RAID 1 setup and after the server came back up there was a partition missing. After loads of sleepless hours I got it all back up and running but now one of my sites is giving me this error.

    Code:
    PHP Warning: require_once(./global.php) [[URL="http://tlplanet.com/forums/function.require-once"]function.require-once[/URL]]: failed to open stream: No such file or directory in D:\Webs\tlplanet\forums\index.php on line 57 PHP Fatal error: require_once() [[URL="http://tlplanet.com/forums/function.require"]function.require[/URL]]: Failed opening required './global.php' (include_path='.;C:\php5\pear') in D:\Webs\tlplanet\forums\index.php on line 57
    There are 3 other VB sites running on this server as well and they are working just fine. Other than this one error there is nothing acting up with any of the other aspects of the server. This box is running Windows Server 2003 if that matters.

    So any ideas what could be causing the above error?
    Oh and the site is http://www.tlplanet.com/forums if that is helpful.

    Rob
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    And what is on line 57 of "D:\Webs\tlplanet\forums\index.php" ?

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    • jiffy
      Member
      • May 2006
      • 42
      • 3.5.x

      #3
      Code:
      require_once('./global.php');
      Same as it has always been. I'm really scratching me head on this one.

      Comment

      • jiffy
        Member
        • May 2006
        • 42
        • 3.5.x

        #4
        I'm not really understanding the
        Code:
        (include_path='.;C:\php5\pear')
        reference since I have no folder called PHP5 and never have. This site has been humming along just fine for years and then after the crash I got this error.

        Comment

        • Lynne
          Former vBulletin Support
          • Oct 2004
          • 26255

          #5
          Have you mentioned this error to your host?

          Please don't PM or VM me for support - I only help out in the threads.
          vBulletin Manual & vBulletin 4.0 Code Documentation (API)
          Want help modifying your vbulletin forum? Head on over to vbulletin.org
          If I post CSS and you don't know where it goes, throw it into the additional.css template.

          W3Schools <- awesome site for html/css help

          Comment

          • kh99
            Senior Member
            • Aug 2009
            • 533

            #6
            Originally posted by jiffy
            Code:
            require_once('./global.php');
            Same as it has always been. I'm really scratching me head on this one.
            Do you have global.php in D:\Webs\tlplanet\forums ?

            Comment

            • jiffy
              Member
              • May 2006
              • 42
              • 3.5.x

              #7
              Got it fixed. For some reason there were some missing files. I went through and compared a recent backup to what was live and copied over the individual files and all is well now. Thanks for all your help.

              Comment

              • Wayne Luke
                vBulletin Technical Support Lead
                • Aug 2000
                • 73979

                #8
                Originally posted by jiffy
                Got it fixed. For some reason there were some missing files. I went through and compared a recent backup to what was live and copied over the individual files and all is well now. Thanks for all your help.
                The files were probably open when the server crashed and this caused their journal entries to be lost.
                Translations provided by Google.

                Wayne Luke
                The Rabid Badger - a vBulletin Cloud demonstration site.
                vBulletin 5 API

                Comment

                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                Working...