Last modified: 2010-05-15 15:41:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 7385 - Page doesn't load at-all. It's just a blank page!
Page doesn't load at-all. It's just a blank page!
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.7.x
All All
: High blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.sourcez.co.uk/wiki/index.php
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-22 16:06 UTC by Dave
Modified: 2010-05-15 15:41 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dave 2006-09-22 16:06:36 UTC
Hi all,

I installed this wiki on my test server before I add it to my production server,
where it will be going into heavy use pretty much instantly, so hopefully you
can help me out with this. 

When you go to the URL, all that loads is a blank page, and thats it. Here's the
stuff from the installation log:
_______________________

    * PHP 5.0.4 installed
    * Found database drivers for: MySQL PostgreSQL
    * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
    * Have XML / Latin1-UTF-8 conversion support.
    * PHP's memory_limit is 32M. If this is too low, installation may fail!
    * Have zlib support; enabling output compression.
    * Neither Turck MMCache nor eAccelerator nor APC are installed, can't use
object caching functions
    * GNU diff3 not found.
    * Couldn't find GD library or ImageMagick; image thumbnailing disabled.
    * Installation directory: /var/www/vhosts/sourcez.co.uk/httpdocs/wiki
    * Script URI path: /wiki
    * Environment checked. You can install MediaWiki.
    * Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider
changing it manually.

      Generating configuration file...
    * Database type: MySQL
    * Loading class: DatabaseMysql
    * Attempting to connect to database server as wikiuser1...success.
    * Connected to 4.1.21
    * Database wikidb exists
    * Creating tables... using MySQL 4 table defs... done.
    * Initializing data...
    * Created sysop account WikiSysop.
    *

      Initialising "MediaWiki" namespace...
      Clearing message cache...Done.

      Creating LocalSettings.php...

      Installation successful! Move the config/LocalSettings.php file into the
parent directory, then follow this link to your wiki.
________________________


...looks okay to me, but I still had the problem even though I installed it twice!

So, I checked the error logs and found these:
___________________________
[client 86.142.151.61] PHP Warning: main() [<a
href='function.main'>function.main</a>]: open_basedir restriction in effect.
File(/usr/share/pear/UtfNormalUtil.php) is not within the allowed path(s):
(/var/www/vhosts/sourcez.co.uk/httpdocs:/tmp) in
/var/www/vhosts/sourcez.co.uk/httpdocs/wiki/includes/normal/UtfNormal.php on
line 36, referer: http://www.sourcez.co.uk/wiki/config/index.php

[client 86.142.151.61] PHP Warning: main(UtfNormalUtil.php) [<a
href='function.main'>function.main</a>]: failed to open stream: Operation not
permitted in
/var/www/vhosts/sourcez.co.uk/httpdocs/wiki/includes/normal/UtfNormal.php on
line 36, referer: http://www.sourcez.co.uk/wiki/config/index.php

[client 86.142.151.61] PHP Fatal error: main() [<a
href='function.require'>function.require</a>]: Failed opening required
'UtfNormalUtil.php'
(include_path='/var/www/vhosts/sourcez.co.uk/httpdocs/wiki:/var/www/vhosts/sourcez.co.uk/httpdocs/wiki/includes:/var/www/vhosts/sourcez.co.uk/httpdocs/wiki/languages:.:/usr/share/pear')
in /var/www/vhosts/sourcez.co.uk/httpdocs/wiki/includes/normal/UtfNormal.php on
line 36, referer: http://www.sourcez.co.uk/wiki/config/index.php

______________________________
looks like a permission issue but then I have no experience with linux servers
so any help  you can provide would be greatly appreciated as I need to get this
sorted out quick for the release date to be met.

Regards,

Dave
Comment 1 Jimmy Collins 2006-09-22 21:32:39 UTC
Hi Dave,

replace the follwing line in includes/normal/UtfNormal.php:
require_once 'UtfNormalUtil.php';

with this one:
require_once dirname(__FILE__).'/UtfNormalUtil.php';

and try again.

Cheers Jimmy
Comment 2 Dave 2006-09-23 11:00:13 UTC
It works! Thanks a LOT Jimmy, yuo've sorted it first time! :)

Cheers,

Dave

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links