joemama718 Posted April 19, 2007 Posted April 19, 2007 This is really frustrating me, and I don't know how to fix it...first I tried installing MediaWiki on my free helionet account (the account is jayma, not joemama718) and it worked before on ifastnet.com but on helionet.org i get this message when I try to configure it: Warning: require_once(install-utils.inc) [function.require-once]: failed to open stream: No such file or directory in /home/jayma/public_html/mediawiki-1.9.3/config/index.php on line 43 Fatal error: require_once() [function.require]: Failed opening required 'install-utils.inc' (include_path='.:/home/jayma/public_html/mediawiki-1.9.3:/home/jayma/public_html/mediawiki-1.9.3/includes:/home/jayma/public_html/mediawiki-1.9.3/languages') in /home/jayma/public_html/mediawiki-1.9.3/config/index.php on line 43 and then I tried using fantastico to install TikiWiki: Warning: fopen(temp/cache/606ad46e6e99b5c01fcc0e30c9988f4c) [function.fopen]: failed to open stream: Permission denied in /home/jayma/public_html/wiki/lib/cache/cachelib.php on line 33 Warning: fwrite(): supplied argument is not a valid stream resource in /home/jayma/public_html/wiki/lib/cache/cachelib.php on line 34 Warning: fclose(): supplied argument is not a valid stream resource in /home/jayma/public_html/wiki/lib/cache/cachelib.php on line 35 header already sent I tried setting all the permissions to 0777 already...and it still won't work! HELP PLEASE?
ShannenName Posted June 9, 2007 Posted June 9, 2007 The error has mentioned many time what line the error is on, on heliohost if you do code edit it shows you the line numbers, just compare the lines to the ones on the other host and edit them accordingly
karath Posted June 13, 2007 Posted June 13, 2007 Hmm... try actually making a directory for it and download it from the website... and then try installing it. Either that or ur webhost does not support php.
Pythonet Posted August 10, 2007 Posted August 10, 2007 i dont think it supports php so you should rather do hosting on a php supported host.
sentientmachine1 Posted February 1, 2008 Posted February 1, 2008 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now