I am trying to follow the instructions for authenticating mediawiki
1.5.4 to my ldap.
If a user exists in the local database, authentication is sucessful
and everything works as expected.
If the user does not exist in the local database, I get the error:
Fatal error: Call to a member function on a non-object in
/srv/www/htdocs/wiki/includes/User.php on line 1531
If the user hits the back button and tries again, they get
authenticated no problem.
I have done a debug and sql dump to log files and it looks like the
last thing that happens before the error is an insert of the user name
to the user table.
Does anyone have an idea about how to avoid the error, short of
manually adding users?
Thank you Rick!
Andrew
-----Original Message-----
From: Rick DeNatale [mailto:rick.denatale@gmail.com]
Sent: Thursday, January 19, 2006 10:05 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Backup & contents box
On 1/19/06, Willy, Andrew <AWilly(a)esmil.net> wrote:
> Good morning,
>
> I want to make sure I'm properly backing up our wiki. I first do a MySQL
> backup, then I move the resulting file and the entire wiki directory onto
> tape. Is that sufficient or is there a stray critical peice I'm
> overlooking?
It should be unless you've configured mediawiki to put something (like
the upload directory) in a non-standard place.
> Second question. Is there a way to prevent the contents table from being
> generated on certain pages?
Put __NOTOC__ somewhere in the page. There are two underscore
characters at each end of this "magic word". For more magic words
see:
http://meta.wikimedia.org/wiki/Help:Magic_words#__NOTOC__
--
Rick DeNatale
Visit the Project Mercury Wiki Site
http://www.mercuryspacecraft.com/
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
NOTICE OF CONFIDENTIALITY-The information in this email, including
attachments, may be confidential and/or privileged and may contain
confidential health information. This email is intended to be reviewed only
by the individual or organization named as addressee. If you have received
this email in error please notify Scottsdale Medical Imaging, an affiliate
of Southwest Diagnostic Imaging, LTD immediately - by return message to the
sender or to support(a)esmil.com - and destroy all copies of this message and
any attachments. Please note that any views or opinions presented in this
email are solely those of the author and do not necessarily represent those
of Scottsdale Medical Imaging. Confidential health information is protected
by state and federal law, including, but not limited to, the Health
Insurance Portability and Accountability Act of 1996 and related
regulations.
Good morning,
I want to make sure I'm properly backing up our wiki. I first do a MySQL
backup, then I move the resulting file and the entire wiki directory onto
tape. Is that sufficient or is there a stray critical peice I'm
overlooking?
Second question. Is there a way to prevent the contents table from being
generated on certain pages?
Thanks
Andrew
NOTICE OF CONFIDENTIALITY-The information in this email, including
attachments, may be confidential and/or privileged and may contain
confidential health information. This email is intended to be reviewed only
by the individual or organization named as addressee. If you have received
this email in error please notify Scottsdale Medical Imaging, an affiliate
of Southwest Diagnostic Imaging, LTD immediately - by return message to the
sender or to support(a)esmil.com - and destroy all copies of this message and
any attachments. Please note that any views or opinions presented in this
email are solely those of the author and do not necessarily represent those
of Scottsdale Medical Imaging. Confidential health information is protected
by state and federal law, including, but not limited to, the Health
Insurance Portability and Accountability Act of 1996 and related
regulations.
Thank you, but how do I do a cronjob?
-----Ursprüngliche Nachricht-----
Von: mediawiki-l-bounces(a)Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] Im Auftrag von Schmidt, Torsten
Gesendet: Donnerstag, 19. Januar 2006 10:31
An: MediaWiki announcements and site admin list
Betreff: AW: [Mediawiki-l] Database backup, How to
i do my Backups with the following script as a cronjob:
-----------
DATE=`date +%d-%m-%Y_%H-Uhr-%M`;
mysqldump -uroot -pSECRET --default-character-set=latin1 --opt wikidb > /path/to/backup/wikidb_$DATE.sql
# Wiki-htdocs
rsync -a /usr/local/www/mediawiki/ /path/to/htdocs/backup
-----------
-----Ursprüngliche Nachricht-----
Von: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org]Im Auftrag von Vasiliadis,
Thomas
Gesendet: Donnerstag, 19. Januar 2006 10:00
An: MediaWiki announcements and site admin list
Betreff: [Mediawiki-l] Database backup, How to
Hi there,
I have succesfully installed a Wiki with MySQL 5.0.15-nt and now I have
to manage the Backups.
But how to do it?
I found a Directory named mysql\data\wikidb with some MYI MYD and FRM
files. Is it this, what I have to Backup?
Is there any methode of do it automatical?
I have installed it via xampp
Thanks
TV
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
I'm having a problem with my mediawiki.
I've moved my mediawiki to a new server, and everything works fine,
except that the embedded images does not show anymore. They actually did
at first, but when I tried to upload an image, I noticed that I had to
give the apache-user write access to the 'mediawiki/images' folder to be
able to upload. So I did just that, and after this change no images are
shown anymore, only the "Image: foo.gif" text which is a link to the
image page, which also do not show the image, only the metainfo for the
image. I've tried to revert the changes I did after the images did not
show anymore, but they still do not show. If someone could help me with
this i would be very glad, as the images are a vital part of the
information that are kept in my wiki.
Just to make myself clear: I still find all the images in a subdirectory
of the 'mediawiki/images' folder, they're just not shown in the pages.
Thanks!
MediaWiki 1.4.13
PHP 4.4.0-4 (apache2handler)
MySQL 4.1.15-Debian
Hello
I have discovered that since I upgraded to 1.5.5 serching has alomst
stopped working, only if I hit a pagename with my search do I get a
result.
I do search in all relevant namespaces.
I upgraded from 1.3.x via 1.4.12.
Can some bring some light on this or give me an URL, is there a script
that should be periodically run that creates the fulltext index or how
does it work?
-------------------------------------------------
Anders Nygård
Operations Specialist
Gl. Køge Landevej 55
2500 Valby Denmark
Phone 45-7730 12 00
Direct 45-7730 12 74
Mobile 45-4144 38 77
www.uni2.dk
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
MediaWiki 1.5.6 and 1.4.14 are security and bugfix maintenance releases.
A bug in edit comment formatting could send PHP into an infinite loop
if certain malformed links were included. In most installations, this
would cause the script to fail after PHP's 30-second failsafe timeout.
in 1.5.6, some improvements have been made to the installer which should make
installation possible on a system with a broken MySQL "root" account. Some
miscellaneous fixes are also present; see the complete change list at the end of
the release notes, linked below.
1.3.x releases are also vulnerable to the loop bug, but we are no longer
maintaining that branch, and it doesn't work with current versions of PHP. Older
installations probably should consider upgrading for the numerous bug fixes etc.
Release notes:
1.5.6: http://sourceforge.net/project/shownotes.php?release_id=386609
1.4.14: http://sourceforge.net/project/shownotes.php?release_id=386608
Download:
http://prdownloads.sourceforge.net/wikipedia/mediawiki-1.5.6.tar.gz?downloadhttp://prdownloads.sourceforge.net/wikipedia/mediawiki-1.4.14.tar.gz?downlo…
MD5 checksums:
adcb318d812af2d2637374a8aadc79c1 mediawiki-1.5.6.tar.gz
5cafd5f6adea43be0fedd64883d50127 mediawiki-1.4.14.tar.gz
SHA-1 checksums:
8e0df360ddf5b267dd2b62e59a24c6921ccd1c43 mediawiki-1.5.6.tar.gz
d3e57bb777a3ec8cc07d97ebf6afa850f3f743ab mediawiki-1.4.14.tar.gz
Before asking for help, try the FAQ:
http://meta.wikimedia.org/wiki/MediaWiki_FAQ
Low-traffic release announcements mailing list:
(Please subscribe to receive announcements of security updates.)
http://mail.wikipedia.org/mailman/listinfo/mediawiki-announce
Wiki admin help mailing list:
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Bug report system:
http://bugzilla.wikimedia.org/
Play "stump the developers" live on IRC:
#mediawiki on irc.freenode.net
- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFDz1upwRnhpk1wk44RAlYyAJwMUnQad2EQECe4SVhzqiFUnzyiMQCeNnYb
4MBBzK/OwBWHUpn+/PO+qgc=
=+3ip
-----END PGP SIGNATURE-----
Hi there,
I have succesfully installed a Wiki with MySQL 5.0.15-nt and now I have
to manage the Backups.
But how to do it?
I found a Directory named mysql\data\wikidb with some MYI MYD and FRM
files. Is it this, what I have to Backup?
Is there any methode of do it automatical?
I have installed it via xampp
Thanks
TV
i do my Backups with the following script as a cronjob:
-----------
DATE=`date +%d-%m-%Y_%H-Uhr-%M`;
mysqldump -uroot -pSECRET --default-character-set=latin1 --opt wikidb > /path/to/backup/wikidb_$DATE.sql
# Wiki-htdocs
rsync -a /usr/local/www/mediawiki/ /path/to/htdocs/backup
-----------
-----Ursprüngliche Nachricht-----
Von: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org]Im Auftrag von Vasiliadis,
Thomas
Gesendet: Donnerstag, 19. Januar 2006 10:00
An: MediaWiki announcements and site admin list
Betreff: [Mediawiki-l] Database backup, How to
Hi there,
I have succesfully installed a Wiki with MySQL 5.0.15-nt and now I have
to manage the Backups.
But how to do it?
I found a Directory named mysql\data\wikidb with some MYI MYD and FRM
files. Is it this, what I have to Backup?
Is there any methode of do it automatical?
I have installed it via xampp
Thanks
TV
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Delete and protect are tabs available to admins at the top of every page.
Andrew
-----Original Message-----
From: Charles Sutton [mailto:casutton@cs.umass.edu]
Sent: Wednesday, January 18, 2006 3:16 PM
To: mediawiki-l(a)wikimedia.org
Subject: [Mediawiki-l] Protecting and deleting pages?
I am an admin on a third-party MediaWiki installation. How do I
protect pages? How do I delete pages? According to the
MediaWiki users' guide, admins are able to do both these things,
but I cannot find a description of how. Thanks, Charles
--
Charles Sutton * casutton(a)cs.umass.edu * http://www.cs.umass.edu/~casutton/
Information Extraction and Synthesis Laboratory * University of
Massachusetts
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
NOTICE OF CONFIDENTIALITY-The information in this email, including
attachments, may be confidential and/or privileged and may contain
confidential health information. This email is intended to be reviewed only
by the individual or organization named as addressee. If you have received
this email in error please notify Scottsdale Medical Imaging, an affiliate
of Southwest Diagnostic Imaging, LTD immediately - by return message to the
sender or to support(a)esmil.com - and destroy all copies of this message and
any attachments. Please note that any views or opinions presented in this
email are solely those of the author and do not necessarily represent those
of Scottsdale Medical Imaging. Confidential health information is protected
by state and federal law, including, but not limited to, the Health
Insurance Portability and Accountability Act of 1996 and related
regulations.