Hello,
Just installed a Wiki a few days ago, works fine so far, but the time is
set to GMT, but since this is a German Wiki most of my visitors would
probably prefer CET. :) How would I be able to adjust the time
Wiki-wide? (not just via user preferences)
Thanks.
Hello List.
My name is Pietro, and I have tried the whole day to
install mediawiki without success. The main problem is
that I don't have root access to the mysql.
I am being hosted by: http://www.pchighway.com/
Which have some cool caratteristics (or so it seem at
my inexperienced eyes):
http://www.pchighway.com/hosting.htm
and
http://www.pchighway.com/plan_starter.htm
PHP 4.3.3 (With Zend Optimizer 2.1.0)
MySQL 4.0.15 (2 databases)
OS Version FreeBSD 4.9
So, in theory I should have the cards to make the
mediawiki work (which was the reason why I bought the
account in the first place!)
I'll explain all the relevant actions I did, so it is
easier for you to help me:
I downloaded mediawiki-1.2.3.tar.gz
Untarred, and unzipped in my computer.
ftp-ed in the directory /wiki (that is:
http://www.mysite.org/wiki )
I changed the chmod so that anybody could do
everything everywhere (is called trust), and I went to
the directory /wiki
You'll have to set the wiki up first!
sure.
MediaWiki 1.2.3 installation
Checking environment...
PHP 4.3.3 ok
PHP server API is apache; ok, using pretty URLs
(index.php/Page_Title)
Have zlib support; enabling output compression.
Found GD graphics library built-in, image thumbnailing
will be enabled if you enable uploads.
Installation directory:
/usr/home/ourpieee/public_html/wiki
Script URI path: /wiki
I complete the form, except for the sqlroot that I
don't have, and he does not like it. I go on the site
and I create the database, and the user, and the
password.
SO now those things are created from outside.
I go back to my form...
and he stills asks me for the root password.
I try to give him my user password, but he trats it as
a random password (unpleasent after all the time I
needed to think that up!)
So I decide that I cannot use the install from the
web, and I go to the file.
And if before I had problem, now... wow!
I take the AdminSettings.sample and
LocalSetting.sample, change what I think is right:
$wgDBadminuser = "pietrosperoni";
$wgDBadminpassword = "..." ;)
Now, it seems that the problem comes here:
I tried both:
$IP = "/wiki";
$IP = "/wiki/includes";
And I got:
-------------------------------
Warning: main(): open_basedir restriction in effect.
File(/wiki/includes/DefaultSettings.php) is not within
the allowed path(s):
(.:/tmp:/home:/usr/local/lib/php:/usr/home:/usr/local/bin/)
in
/usr/home/ourpieee/public_html/wiki/LocalSettings.php
on line 32
Warning: main(/wiki/includes/DefaultSettings.php):
failed to open stream: Operation not permitted in
/usr/home/ourpieee/public_html/wiki/LocalSettings.php
on line 32
Warning: main(): Failed opening
'/wiki/includes/DefaultSettings.php' for inclusion
(include_path='.:/usr/lib/php:/usr/local/lib/php') in
/usr/home/ourpieee/public_html/wiki/LocalSettings.php
on line 32
Warning: main(Setup.php): failed to open stream: No
such file or directory in
/usr/home/ourpieee/public_html/wiki/index.php on line
49
Warning: main(): Failed opening 'Setup.php' for
inclusion
(include_path='/wiki/includes:.:/usr/lib/php:/usr/local/lib/php')
in /usr/home/ourpieee/public_html/wiki/index.php on
line 49
Fatal error: Call to undefined function: wfprofilein()
in /usr/home/ourpieee/public_html/wiki/index.php on
line 51
----------------------
As soon as I entered in the wiki directory.
What should I do?
BTW, the frontend panel of the sql has all sort of
privileges that can be granted to users:
User: ourpieee_wikiuse Db: ourpieee_wikidb
Privileges: ALL ALTER CREATE TEMPORARY TABLES
CREATE DELETE DROP SELECT INSERT UPDATE
REFERENCES INDEX LOCK TABLES
I am very perplexed.
Sorry if it was long, but I thought you probably
needed all those data, to help me.
MANY thanks for who ever can answer.
Pietro
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
Hello Wikipedians,
I am in the process of making a local mirror of the WikiPedia encyclopedia
and seem to have hit a stumbling block. But first a related question. I
have looked thru the software doc and the downloaded pages and haven't
seen this but just want to make sure. I have the base software Ver 1.2.3
installed from the web interface. Only had one small but surmountable
problem. When using IE 5.1.3 Under MacOS 9.0.4 I could not enter the name
for the site. The field was overlaid by the info that should have been to
its right. I switched to Netscape and then no problem.
Now I am in the process of populating the database and was wondering if in
the maintenance folder (or someplace else) there is a set of script to
fetch and upload the actual base data content and then the weekly
updates. I would like to keep this mirror up to date with the master copy.
>From looking at mailing list archive I have seen it stated that there is
no doc file explaining what each of the maint. scripts does, and looking
them over hasn't yielded one to create/update the database. If one doesn't
exist I am ready to do it manually. But in my first attempts I have hit a
few problems.
The first trick is getting the correct data to do the upload with. I found
the dump D/L page and the files for the EN version of the database(dated
2004-04-03). The current one looks find and I have been able to retrieve
it and do some(not all) processing with it. My first problem is the old
database. It is my assumption that this contains the full database content
(minus images) prior to the new data in the current file. I notice that
the format of the old/full file has changed recently and grown a lot. I
tried to D/L the full DB as the single file and failed (403 - not
authorized) and this seems to not be unexpected since there is mention of
the multi part files for those experiencing problems. The single files
http://download.wikimedia.org/archives/en/20040403_cur_table.sql.bz2 and
http://download.wikimedia.org/archives/en/20040403_old_table.sql.bz2 have
names and formats that make sense to me. The partials have me confused,
especially with my inability to decompress them. First there are only
three files and based on the file sizes (and one unlisted file) it appears
that there should be four. The first three come to exactly 2Gigs each, a
mathematical oddity if that was all there was, but a fourth file would
even it out nicely. First the files themselves have names that give no
clue as to their contents. http://download.wikimedia.org/archives/en/xaa
xab xac and the unlisted xad . What format are these and how should they
be joined together? I copied them over via wget and then tried to merge
and decompress them but failed. The command and response I tried(to verify
before actual processing) was:
========= start of clip
-bash-2.05b$ nice bzip2 -t xaa xab xac xad
bzip2: xaa: file ends unexpectedly
bzip2: xab: bad magic number (file not created by bzip2)
bzip2: xac: bad magic number (file not created by bzip2)
bzip2: xad: bad magic number (file not created by bzip2)
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
========= end of clip
Are these files damaged or am I just using the wrong software to do this?
BTW I am on a RH9 system running PHP434, MySQL 4.0.18 and Apache 2
To try and continue my testing and make sure I had everything else in
place I thought I'd try using the current file and see how that went. It
might not be all the data but it would give me a taste of how things were
going. The decompress went fine but I had a problem part way during the
load. The data that did load was enough for me to do some minimal testing
and verify that the software basically works and that I was close in doing
the upload. The command I tried and the response I got was:
========= start of clip
-bash-2.05b$ nice mysql -p -uxxxxxxx wikipedia < 20040403_cur_table.sql
Enter password:
ERROR 1153 at line 831: Got a packet bigger than 'max_allowed_packet'
-bash-2.05b$========= end of clip
What size should I be setting the 'max_allowed_packet' to?
Thanks in advance for your help and for creating this software and its
associated database.
Paul
http://PrivacyDigest.com/ Daily news from the privacy front.
PS The ls -al for the data files I Downloaded is:
-rw-r--r-- 1 wikipedia psacln 850374900 Apr 3 02:09
20040403_cur_table.sql
-rw-r--r-- 1 wikipedia psacln 2000000000 Mar 22 17:32 xaa
-rw-r--r-- 1 wikipedia psacln 2000000000 Mar 22 17:35 xab
-rw-r--r-- 1 wikipedia psacln 2000000000 Mar 22 17:38 xac
-rw-r--r-- 1 wikipedia psacln 1614740369 Mar 22 17:40 xad
Hello,
I've managed to setup TeX with my local wiki (MediaWiki 1.2.3).
At first, it worked (almost) fine, but some formulae couldn't be rendered,
some could.
I tried to "fix" this by using newer versions of tetex & co, but this didn't
solve the problem.
But now I have another problem: The generated TeX-PNGs look ugly, compared
to those that were created before I changed to the new versions. Examples
(generated from <math>1234{,}56</math>):
>From my wiki:
http://sveith.dyndns.org/8cwiki/upload/math/ec13bd79cd7914f84ee4eee6299b7c27
.png
>From Wikipedia:
http://de.wikipedia.org/math/ec13bd79cd7914f84ee4eee6299b7c27.png
Switching back to the old version of tetex didn't help; it must be some
setting deep in some configuration file.
Has anyone got a clue?
Thanks in advance
Simon Veith
Hi,
is there a way how I can edit or disable the "GNU FDL license" footer? I
don't need that because our Wiki is completely internal right now.
??
Thanks, Thommie
--
---------------------------------------------------------------------
THOMAS M. ROTHER * n e t z w i s s e n . d e * D-73728 Esslingen
F.R. Germany, European Union * mailto:t.rother@netzwissen.de
http://www.netzwissen.de * GPG Key from http://wwwkeys.de.pgp.net
GPG Fingerprint B208 E204 4249 4635 19B9 B691 3E73 C8B9 1229 DE4C
---------------------------------------------------------------------
Hi everybody,
Configure mediawiki-1.2.3 with
Php - 4.3.2
mysql - 3.23.41
Linux - 7.2
Followed with Url :
http://meta.wikipedia.org/wiki/Running_MediaWiki_on_Linux.
After install.php Got message like:
MySQL root password (typing will be visible):
Creating database...
Do you want to create a sysop account? A sysop can protect,
delete and undelete pages and ban users. Recomended. [Y/n] y
Enter the username [Sysop]: sysop
Enter the password: sysop
Do you want to create a sysop+developer account? A developer
can switch the database to read-only mode and run any type of
query through a web interface. This account can also assign
sysop access to other accounts. [Y/n] y
Enter the username [Developer]: dev
Enter the password: dev
Initialising "MediaWiki" namespace...
Reading....done
Setting up....Done
Processing...Done
Writing...Done
Writing to MediaWiki:All_messages
Finished
Adding indexes...
Done.
Browse "http://cmtest-server/mtiki/index.php" to test.
Browse with hhtp://cmtest-server/mtiki/index.php Url blank page is
displaying .
Could you please help me out,in this concern. ???????????????????
Regards ,
Prasad.
So, just did an upgrade to 1.2.3 from 1.1.0. Things work more or less
OK, except for the database messages, which are seriously slowing down
our site.
Is there a way to turn on page transclusion (the {{msg:}} stuff)
without also turning on database lookups for every single UI string?
~ESP
--
Evan Prodromou <evan(a)wikitravel.org>
Wikitravel - http://www.wikitravel.org/
The free, complete, up-to-date and reliable world-wide travel guide
Hi,
I ran the in-place installation, and it went like a breeze. That said, I
don't understand a couple of things...
/var/www/wiki has a dump of the mediawiki-1.2.0 stable tar-ball.
Ran through the basic install which means putting LocalSettings.php
in the same directory as index.php (/var/www/wiki)
I noticed that localsettings.php has the DB name, username and PW in it.
If one is readable, won't the other be as well ? Is that safe?
Hi,
I just upgraded a mediawiki 1.2.1 to 1.2.3 throughthe classical method
(Shell, "php update.php"), now I have two problems:
a) The localisation does not work. I have
## If you want a non-English wiki, add a line like this
$wgLanguageCode = "de";
in LocalSettings.php. But the "Startpage" still appears in english.
b) The old entries are gone although they are still present in the
database tables.
I assume this has to do with a) as the renaming of "Hauptseite" to
"Startpage" causes brooken links to the subsequent pages...
The messages from update.php were
Copying files... ok
Checking database for necessary updates...
Updating ipblocks table... ok
...already have interwiki table
...indexes seem up to 20031107 standards
...linkscc table possibly corrupt, redefining... Adding linkscc table... ok
Adding hitcounter table... ok
Adding rc_type, rc_moved_to_ns, rc_moved_to_title...ok
Initialising "MediaWiki" namespace...
Reading....done
Setting up....Done
Processing...Done
Writing...Done
Writing to MediaWiki:All_messages
Finished
Done.
intraweb:/tmp/mediawiki-1.2.3 # mc
Any ideas?
Greetings, Thommie
--
---------------------------------------------------------------------
THOMAS M. ROTHER * n e t z w i s s e n . d e * D-73728 Esslingen
F.R. Germany, European Union * mailto:t.rother@netzwissen.de
http://www.netzwissen.de * GPG Key from http://wwwkeys.de.pgp.net
GPG Fingerprint B208 E204 4249 4635 19B9 B691 3E73 C8B9 1229 DE4C
---------------------------------------------------------------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
dear wiki list,
i got this problem as described in the mail below which i marked as reply. can
someone please give me advice here?
thanks very much so far - wiki is running - except this thing - well with
sourceforge ;-)
Joachim Schiele
Where can i change the code to not have the delaying code?
The problem is that the wiki goes offline for over a few hours sometimes :P
========================<mail>=================
> Dear sf team,
> we got much problems with the mysql server because
> sometimes it's not responding as expected - so not
> working. We are working with a wiki* which has a mysql
> backend and it happened 3 times last week that it didn't
> work. I think it's because of the mysql service overload.
> *mediawiki from the wikipedia
> If i try to create a backup i get:
> [qknight@sc8-pr-shell1 mysql_backup]$ ./backup.sh
> mysqldump: Got error: 1203: User lmuse@ has already
> more than "max_user_connections" active connections
> when trying to connect
> seems to me as if there is some 'overload'
> What wrong here? Normaly the wiki does it's work quite
> nice.
> Thank you very much,
> Joachim Schiele
> ----------------------------------------------------------------------
> Comment By: Jacob Moorman (moorman)
> Date: 2004-04-02 12:42
> Greetings,
> We permit up to 20 simultaneous MySQL connections per
> project at a time. This is mainly to prevent abuse.
> Something your application is doing (or one of the other
> scripts you run) must be causing threads to hang. Chances
> are high that it is delayed inserts. Please remove the
> delayed clause from all of your queries (or otherwise
> disable delayed ops via flag if your application provides one).
> Should you require further assistance from the
> SourceForge.net team, please add a comment to this request.
> Thank you,
> Jacob Moorman
> Quality of Service Manager, SourceForge.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAbc52yzk1c1T5Os4RAifKAJ49nsGPEk4EPd+Wyw1hqbtG+HY1ogCgg4QX
lcAb3wt1kejzl/PwTOfqKtc=
=ZBS/
-----END PGP SIGNATURE-----