Menu

Fatal after-installation error IPB 3.1

Help
2011-07-26
2013-05-28
  • Alexander V

    Alexander V - 2011-07-26

    With the latest version of MediaWiki and IPBWiki:
       PHP Warning:  require_once(Hooks.php) : failed to open stream: No such file or directory in /home/**/wiki/ipbwiki_interface.php on line 28
       PHP Fatal error:  require_once() : Failed opening required 'Hooks.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/**/wiki/ipbwiki_interface.php on line 28
       PHP Warning:  require_once(Hooks.php) : failed to open stream: No such file or directory in /home/**/wiki/ipbwiki_interface.php on line 28
       PHP Fatal error:  require_once() : Failed opening required 'Hooks.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/**/wiki/ipbwiki_interface.php on line 28
       PHP Warning:  require_once(Hooks.php) : failed to open stream: No such file or directory in /home**/wiki/ipbwiki_interface.php on line 28
       PHP Fatal error:  require_once() : Failed opening required 'Hooks.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/**/wiki/ipbwiki_interface.php on line 28
       PHP Warning:  require_once(Hooks.php) : failed to open stream: No such file or directory in /home/**/wiki/ipbwiki_interface.php on line 28
       PHP Fatal error:  require_once() : Failed opening required 'Hooks.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/**/wiki/ipbwiki_interface.php on line 2

    Causes a blank page :(

     
  • Alexander V

    Alexander V - 2011-07-26

    OK, oddly enough, when duplicating the files it reports are missing to the same folder the files calling for them are, the errors change to :

       PHP Notice:  Constant IN_IPB already defined in /home/**/**.com/forum/ipbwiki_db.php on line 22
       PHP Notice:  Constant IN_DEV already defined in /home/**/**.com/forum/conf_global.php on line 24
       PHP Notice:  Undefined index:  sql_charset in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 124
       PHP Notice:  Undefined index:  debug_log in /home/**/**.com/forum/ips_kernel/classDb.php on line 1836
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDb.php on line 1842
       PHP Notice:  Constant IN_DEV already defined in /home/**/**.com/forum/conf_global.php on line 24
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Notice:  Undefined index:  use_slow_log in /home/**/**.com/forum/ips_kernel/classDbMysqliClient.php on line 240
       PHP Fatal error:  Cannot redeclare wfrunhooks() in /home/**/**.com/wiki/includes/Hooks.php on line 38

    Did this with hooks.php and AuthPlugin.php

     
  • Peter Newman

    Peter Newman - 2011-08-03

    I don't know if you've just commented out different amounts, but its showing your paths as /home/**/wiki/ for the wiki and /home/**/**.com/forum for the forum, does that mean they're on different parts of the site or even different sites (possibly not, as your second post mentions /home/**/**.com/wiki/)?

    Did the IPB part of the installer run okay? Can you remove the files you duplicated, so you've got the forum files in the forum folder, and the wiki files in the wiki folder. Then try running the forum installer again, and then the wiki installer, also make sure the various paths entered are correct.

    For what it's worth, you needn't worry about the PHP Notice stuff, only the PHP error lines, the former are known about and we'll try and fix them, but the system works fine even with those warnings.

     
  • Alexander V

    Alexander V - 2011-08-06

    They are on the same site, different directories. Same machine too.

    I already removed the duplicated folders. My server manager is currently trying it out with .16, we actually installed it twice. We both did it, to make sure we did the wiki installation 100% correct. :(

     
  • Peter Newman

    Peter Newman - 2011-09-03

    The just released IPBWiki 2.2.3 release should stop all the above warnings from appearing in your logs out of the box.

     

Log in to post a comment.