Jump to content

sentientmachine1

Members
  • Posts

    2
  • Joined

  • Last visited

sentientmachine1's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I got this error: Warning: require_once(install-utils.inc) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/wiki/config/index.php on line 46 Fatal error: require_once() [function.require]: Failed opening required 'install-utils.inc' (include_path='.:/usr/share/mediawiki:/usr/share/mediawiki/includes:/usr/share/mediawiki/languages') in /var/www/html/wiki/config/index.php on line 46 It seems to be a bug with MediaWiki. I found a workaround: The problem is apache is looking in the wrong place for those install-utils.inc files because you probably moved the directory. So we need to tell the apache web server where you gone and moved it to: Solution: 1. Open your config/index.php file, 2. On line 23 you see these two lines: $DIR=dirname( getcwd() ); chdir('/usr/share/mediawiki/config'); Change those 2 lines to this: $DIR=dirname( getcwd() ); chdir('/var/www/html/wiki'); #replace this directory with your directory that contains the file 'install-utils.inc' 3. Then I re-started the apache web server: service httpd restart 4. In Firefox navagate to http://localhost/wiki/ It then takes me to the next step. What had happened is I moved the default install location of Mediawiki after install, that confused it. 5. Presto. Takes me to next step but I got another error: MediaWiki 1.10.2 Installation Can't write config file, aborting cd /path/to/wiki chmod a+w config 6. This error was persistent even after I ensured proper permissions on the config directory. It's a bug because the httpd daemon was running with insufficient rights. I fixed it by starting the httpd apache web server under root like this AS ROOT: service httpd stop Stopping httpd: [ OK ] Then restart it: /usr/sbin/httpd Then url=http://localhost/wiki/]http://localhost/wiki/[/url] took me to the Site config page for MediaWiki 1.10.2. Looks promising. A second solution to the problems defined at the top of the thread: http://www.xoops.org/modules/mediawiki/ind...Sourceforge.net
  2. Solution to this problem solved here: http://www.helionet.org/index/index.php?sh...amp;#entry33765
×
×
  • Create New...