Announcement

Collapse
No announcement yet.

PHP Warning error after server crash

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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) [function.require-once]: failed to open stream: No such file or directory in D:\Webs\tlplanet\forums\index.php on line 57 PHP Fatal error: require_once() [function.require]: 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

  • #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


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

      Comment


      • #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


        • #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


          • #6
            Originally posted by jiffy View Post
            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


            • #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


              • #8
                Originally posted by jiffy View Post
                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 customization and demonstration site.
                vBulletin 5 Documentation - Updated every Friday. Report issues here.
                vBulletin 5 API - Full / Mobile
                I am not currently available for vB Messenger Chats.

                Comment

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