Hello!
After a successful installation (I mean the successful execution of the
config.php script), I'm stuck at the point where I move the
LocalSettings.php file in the Wiki root and then I access the index.php
file. At this point I systematically get the "noconnect" message
("cannot contact the server ..."). What surprises me, is why it claims
it cannot connect while it has connected few seconds before (and even
created a database with tables)??
Any help will be very much appreciated :)
Thanks.
--
Franco
Hello,
currently I'm using Mediawiki 1.1.0 on a linux (debian) server. I want to
migrate the wiki to another server (also debian) and would like to update
the wiki to the current version 1.2.4.
Is it possible to upgrade the wiki and use the old database? How do I
migrate? I tried to dump and import the db and just copied the wiki-webtree
but that didn't work.
Thanks,
David
David Obando
Webmaster/Systemadministrator
Hello!
After a successful installation (I mean the successful execution of the
config.php script), I'm stuck at the point where I move the
LocalSettings.php file in the Wiki root and then I access the index.php
file. At this point I systematically get the "noconnect" message
("cannot contact the server ..."). What surprises me, is why it claims
it cannot connect while it has connected few seconds before (and even
created a database with tables)??
Any help will be very much appreciated :)
Thanks.
--
Franco
Hello list,
i have a problem with uploading files.
I have editet the LocalSettings.php and insertet $wgDisableUploads = false;
Then i chmod my images dir to 777. Of Course meanwhile i uploaded the
new LocalSettings.php. But If i want to upload a *.jpg i get errores
like this:
Warning: is_dir() [function.is-dir]: SAFE MODE Restriction in effect.
The script whose uid is 10731 is not allowed to access /home/www/htdocs/bsdhq.de/_wiki/images/6
owned by uid 30 in /home/www/htdocs/bsdhq.de/_wiki/includes/GlobalFunctions.php on line 452
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect.
The script whose uid is 10731 is not allowed to access /home/www/htdocs/bsdhq.de/_wiki/images/6
owned by uid 30 in /home/www/htdocs/bsdhq.de/_wiki/includes/GlobalFunctions.php on line 452
Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect.
The script whose uid is 10731 is not allowed to access /home/www/htdocs/bsdhq.de/_wiki/images/6
owned by uid 30 in /home/www/htdocs/bsdhq.de/_wiki/includes/SpecialUpload.php on line 155
The is_dir() and mkdir() Warings com on the Lines: 472 and 274 as
well. Finally the wiki itself reports an error like :
Konnte Datei "/home/www/htdocs/bsdhq.de/tmp/phptqUinX"
nicht nach "/home/www/htdocs/bsdhq.de/_wiki/images/6/6e/Absolute_openbsd.jpg" kopieren
which is german and says couldnt copy. =)
... what am i doing wrong here ?
the wiki runs in subdir of the webroot. as u can see this is /_wiki/
could this be a problem ?
--
Best regards,
Manuel mailto:schmidtma@bsdhq.de
Hi,
I have a problem with the following task (From
http://meta.wikipedia.org/wiki/MediaWiki_i18n) in mediawiki 1.2.4:
2) Run maintenance/rebuildMessages.php to re-import the messages. You'll
have to temporarily take out the maintenance script warning in your
LocalSettings.php to run it, probably. It needs to be run from the
command line. (This'll be cleaner in 1.3.x...)
When I start this script from the shell (php rebuildMessages.php), nothing happens, but I see no error msgs in the php log. And whats that "maintenance script warning in your LocalSettings.php"? I can't find that ...
I have a wiki which was installed with $wgUseDatabaseMessages = false; I now switched to "true" and want to re-import the german messages into the database and then work on the user interface.
By the way: Is there any documentation for the maintenance scripts at all? I could not find an overview about when to use which script...
Thanks & Bye, 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
---------------------------------------------------------------------
Helo agion,
Sorry for the delay but life interfered with my working on this for a bit.
Just thought I'd pass along the results of my trying to Populate the
database, and getting past the "ERROR 1153 at line 831: Got a packet
bigger than 'max_allowed_packet' " error I was receiving. Maybe the info
will save someone else the time. Short version - The parm exists on both
the client and server. I had to update the server not the client. BTW I am
running MySQL 4.0.18 and PHP 4.3.4 under Apache 2.0.40
Paul
======================================= OK try and load update file
nice mysql -p -uusername dbname < 20040403_cur_table.sql
-bash-2.05b$ nice mysql -p -username DBname < 20040403_cur_table.sqlEnter
password:
ERROR 1153 at line 831: Got a packet bigger than 'max_allowed_packet'
-bash-2.05b$ ==== ran for 25+ minutes Then died
==============================================================================
OK try #2 Friday, April 9, 2004-1:53 AM Added maxAllowedPacket
nice mysql -p -uusername --max_allowed_packet=24M DBname <
20040403_cur_table.sql
-bash-2.05b$ nice mysql -p -username --max_allowed_packet=24M DBname <
20040403_cur_table.sql
Enter password:
ERROR 1153 at line 831: Got a packet bigger than 'max_allowed_packet'
-bash-2.05b$ ============= failed at 24Meg lets try 64 Meg
-bash-2.05b$ nice mysql -p -username --max_allowed_packet=64M DBname <
20040403_cur_table.sql
Enter password:
ERROR 1153 at line 831: Got a packet bigger than 'max_allowed_packet'
-bash-2.05b$ ============= failed at 64Meg
http://dev.mysql.com/doc/mysql/en/Packet_too_large.html
Checked Doc further and found out that the same parm exists on
both server and client and I had only been updating the client -
now I'll do the server By adding (/etc/my.cnf):
[mysqld]
max_allowed_packet=16M
=============file is now
-bash-2.05b$ more my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
query_cache_type=1
query_cache_size=10m
max_allowed_packet=16M
[mysql.server]
user=mysql
basedir=/var/lib
[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
-bash-2.05b$
====================
After updating Server to max_allowed_packet=16M
-bash-2.05b$ nice mysql -p -username DBname < 20040403_cur_table.sql
Enter password:
-bash-2.05b$
:) It works!! :-)
Hello List,
I have the mediawiki.1.2.3 installed and its running fine. Now i m
starting to add Content. But i maybe will want to switch to a new
Serverin some months.
My question now is, how hard is it to move a wiki without having a
console to the server where it runs on?
Can i just install the same version on the other server, Dump my
existing DB through PHPMyAdmin and pussh it into the new DB and have
all the Content?
Maybe this sounds silly to you, but i could not find information about
this in the mediawiki users guide.
And i want to be sure about this before i start adding content.
If there is Information about moving mediawikis from servers in the
documentaion please point me there.
--
Best regards,
Manuel mailto:schmidtma@bsdhq.de
Now that the wiki is up and running I have a couple of
questions.
The first is about having two wiki running on the same
set of include files. The second about having the same
wiki being accessed from two different places on the
net.
1) would it be possible to run more than one wiki on
the same basic files?
How should I modify the LocalSettings to create the
new wiki? DO I have to generate a new Database and a
new user of the database?
2) I am interested in accessing the same wiki from two
different location. One would be the basic location
(with a name easy to remember), and the second would
be as a subdirectory of my webpage. Would that be
possible? I tried to copy all the files on the
directory /wiki to another directory /wok and the
subdirectory images and and stylesheet and the whole
thing appeared to be accessible both at /wiki and
/wok.
This is interesting in itself (as a partial answer to
the second question), but is ite safe to do so?
Many thanks for any answer,
Pietro
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25�
http://photos.yahoo.com/ph/print_splash
Is it at all possible to turn on the {{msg:}} transclusion without
having the database messages on?
We had {{msg:}} transclusion enabled on Wikitravel up until moving to
MediaWiki 1.2.x, after which I had to turn on the DB messages, too, to
have this work.
We _don't_ have memcache up, and I don't really have the wherewithal
to get it working. Retrieving all the interface messages from the DB
for every single page hit is inestimably wasteful, and has measurable
time costs.
Any help appreciated.
~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 there
>Could you also try grabbing /index.php/Main_Page directly? Also try
>Special:Specialpages.
>
>Also try index.php?title=Main_Page,
index.php?title=Special:Specialpages
None of these produced any result. The log files are all the same,
except for the Request bit.
>Does the redirect work (it should return a 301 'moved' response with a
>Location: header pointing to the canonical name of the page when you
>grab the initial page without givign a title). Try doing the requests
>directly in telnet, using a packet sniffer, or the 'Live HTTP headers'
>to make sure the correct response comes back and that the given URL is
>complete and correct.
I think you're going to have to assume I know a little less than you on
this stuff :(
...Mike
-- brion vibber (brion @ pobox.com)
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l