Warning Fatal Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bacteria
    New Member
    • Sep 2006
    • 16
    • 3.6.x

    Warning Fatal Error

    Hey Guys, just did a fresh install but when I try to access acp i getthis error
    Code:
    [B]Warning[/B]:  main(./global.php): failed to open stream: No such file or directory in [B]/hsphere/local/home/enkidu/crackthesystem.co.uk/forum/admincp/index.php[/B] on line [B]24[/B]
    
    [B]Fatal error[/B]: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php:/usr/local/lib/php/PEAR:/usr/local/share/pear') in [B]/hsphere/local/home/enkidu/crackthesystem.co.uk/forum/admincp/index.php[/B] on line [B]24[/B]
    Please help!!
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73979

    #2
    Please reupload all the default non-image files in ASCII mode, except install/install.php.

    vBulletin doesn't have a main() function so this is likely related to a code modification.
    Translations provided by Google.

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

    Comment

    • Bacteria
      New Member
      • Sep 2006
      • 16
      • 3.6.x

      #3
      still not working after that, any more suggestions?

      Comment

      • Marco van Herwaarden
        Senior Member
        • Nov 2004
        • 6999
        • 3.8.x

        #4
        If you followed the instructions by Wayne, then it must work. The error message is pretty clear.

        Did you by any chance rename your 'admincp' directory?
        Want to take your board beyond the standard vBulletin features?
        Visit the official Member to Member support site for vBulletin Modifications: www.vbulletin.org

        Comment

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

          #5
          Edit config.php and add this line right under <?php
          PHP Code:
          define('DISABLE_HOOKS'true); 
          As I said, there is no main() function in vBulletin so this has to be related to a hack or addon of some sort.
          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...