I've been stuggling to get MediaWiki to properly render equations.
I'm running Slackware 9.1 with PHP4.3.3, Apache 1.3.28, and MySQL 4.0.15.
I can generate proper png files running texvc from the command line.
The same command run from exec( ) in a php script will put the png file in the upload/math directory when run from the command line as root. But that same test script fails with a "dvips: Problems with file writing; probably disk full" error when run from the browser (or from the command line as nobody).
The directory permissions seem OK. wiki/upload, wiki/upload/tmp, and wiki/upload/math are all owned by nobody:nobody and set to 777. (I've also tried 766 to no avail).
I noticed a similar problem mentioned in the Wikitech list http://mail.wikipedia.org/pipermail/wikitech-l/2003-May/003832.html but without a resolution.
Suggestions will be much appreciated.
Brion Vibber wrote:
>The install script currently is a little fascistic. ;) It assumes you
>have total control over your system:
>* shell access
>* command-line PHP interpreter
>* root access to the MySQL server
>* will be installing into a fresh database to be created, which will
>have nothing else in it
I had everything on the list EXCEPT root access to the MySQL server,
which as my revision demonstrated, really isn't necessary for the
install script to work. Wouldn't it be a good idea to make the
install script less fascistic?
MediaWiki 1.2.0rc1 is now available for download at:
This is a release candidate, and may contain a few rough edges still.
Those feeling adventurous, please try it out -- on a safe server after
backing up all your data -- and please report any exciting new
problems. If we don't hear about your problems, they'll never get
A few notes:
* Things should again work out of the box with MySQL 3.x (though 4.x is
* We are now compatible with short_open_tag = Off
* wiki.phtml and redirect.phtml have now become index.php and
redirect.php to improve compatibility. The old names are still
available for compatibility, so you don't have to change your
configuration for existing installs. If you're mixing other stuff in
with the wiki's install directory, please be sure this doesn't conflict
with other existing files!
* Installation now prompts you to ask if you want to create a sysop or
developer account and lets you pick the name and password instead of
using the AdminSettings.php defaults.
* A new page, Special:Version lists the MediaWiki, PHP, and MySQL
version numbers. Please don't forget to note these when reporting bugs!
We tend to track current production releases of PHP and MySQL, and
sometimes things break on older or experimental versions of these that
we don't always see.
Database messages are now on by default, you can turn this off if the
performance hit is too great. We hope to improve the speed of this
A couple things we don't have in yet:
* We don't yet have an installer that's friendly to those without shell
access, sorry. Hopefully we'll have something for 1.2.0 final.
* We still require register_globals = On.
* No PHP5 compatibility. I know there are a few keyword conflicts which
should be easy to fix, but we haven't tested this yet.
See the file RELEASE-NOTES for a bit on the new features and bug fixes.
You can report problems at SourceForge at:
-- brion vibber (brion @ pobox.com)
I've got Mediawiki 1.1.0 installed and running happily except for:
1) URL rewriting and image uploads. I've got the software installed in /w/,
and articles are referenced by /wiki/Article_title. Now, when I upload an
image, it arrives happily, sits in the upload directory, and disappears. The
software trys to find /wiki/2/2d/image.jpg, but this gets automagically
rewritten so that instead of pulling out the image, we get a blank article
page called 2/2d/image.jpg. This sounds like it should be easily fixable,
but I can't quite see how.
The default stylesheet is quite badly confused on my default browser, Moz
1.2.1. Page breaks are thrown randomly across the screen and it's impossible
to click anything on the top bar or in the article text. I assume it's a
local problem, cos wikipedia itself is fine. Any clues? FWIW, it's fine with
Any thoughts much appreciated :)
FYI, I ran into an error the other day when I tried installing a new
wiki using the MediaWiki software on a remote server. The error
occurred on line 114 of install.php, which currently reads as follows:
>$rconn = mysql_connect( $wgDBserver, "root", $rootpw );
I got it to work by changing the line to the following:
>$rconn = mysql_connect( $wgDBserver, $wgDBuser, $rootpw );
I have installed the sourceforge version, but it doesen't have some
features that I need.
I would like to use the same version of www.wikipedia.org
Can you help me?
My personal mediawiki is here :
Thanks, it works now!
But I have a new problem. How do I administrate the Wiki? It seems there are two users called "WikiDeveloper" and "WikiSysop", but no user which I specified in the AdminSettings.php (whats that good for then?). What are the passwords for them?
Has anyone tried to use an external authentication
product with MediaWiki? We have an authentication
product we are using with our existing applications,
and ideally we would like single sign-on (SSO)
capability to include MediaWiki.
Does this seem feasible? I'm assuming we would need
to make custom changes to our MediaWiki installation.
Thanks for your help,
I friend of mine bought a remote webserver and gave me access to it. Now i wanted to install MediaWiki on that webserver. First I uploaded all files to the directory "mediawikiinst" and updated LocalSetting.php and AdminSettings.php. The install.php will now "install" MediaWiki to the directory "mediawiki" (is this right to do so?), but I ran into several problems:
Webserver, OS: dunno (is there a way to find that out, f.e. read the header etc.?)
1. I can't start php from console.
That was no big problem, I just commented out the readconsole function in install.php and used a default value.
2. I can't create users and grant them rights.
I changed the line "$rconn = mysql_connect( $wgDBserver, "root", $rootpw );"  to my user and commented out "dbsource( "./maintenance/users.sql", $rconn );", because I'm not allowed to grant anything. This may be no problem, because my user is allowed to do everything else, like select and update the database.
3. All .phmtl files are empty.
I uploaded the standard .phtml files to the "mediawiki" directory.
4. Fatal error: Call to undefined function: getallheaders() in /kunden/muddasheep.com/darrn/mediawiki/wiki.phtml on line 23
How do I solve problem #4 and are all my other steps possibly?
PS: I can't change anything in the config files of php, mysql, server etc.
Thx in advance!