Jump to content

HELP WITH WIKIS


Recommended Posts

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?

Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
Share on other sites

  • 1 month later...
i dont think it supports php so you should rather do hosting on a php supported host.
Link to comment
Share on other sites

  • 5 months later...

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...