Hi list,
I have been using MediaWiki for a day now and I just added my main page.
The first time saving was ok, but now everytime I want to edit a new
page and press save or preview I get this PHP error:
*Fatal error*: session_start(): Failed to initialize storage module. in
*/home/virtual/site155/fst/var/www/html/codeshop/wiki/includes/User.php*
on line *146
*This is some file I didn't edited, so I am sure the error is not caused
by me.When this happens, everything locks up and I Cannot do anything
anymore for this session. Here is some config info maybe it is useful:
Warning: set_time_limit(): Cannot set time limit in safe mode in
/home/virtual/site155/fst/var/www/html/codeshop/wiki/install-utils.inc
on line 26
# PHP 4.3.4 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:
/home/virtual/site155/fst/var/www/html/codeshop/wiki
# Script URI path: /codeshop/wiki
# MySQL error 1045: Access denied for user: 'root@localhost' (Using
password: NO)
# Trying regular user... ok.
# Connected to database... 3.23.58
# Database solidsteel_nl_-_ourdata exists
# Creating tables... done.
# Initializing data...
# Created sysop account WikiSysop.
# Initialising log pages...
#
Initialising "MediaWiki" namespace...
Reading....done
Setting up....Done
Processing...Done
Writing...Done
Writing to MediaWiki:All_messages
Finished
Creating LocalSettings.php...
Success! Move the LocalSettings.php file into the parent
directory, then follow this link to your wiki.
----
Does anybody have an idea? I am clueless. PHP runs well on the host
site. I have done no shocking stuff to the MediaWiki page.
Regards,
- Jorgen
1.3.1 fixes some of the remaining problems in 1.3.0:
* Watchlist parameters now work with register_globals off
* Fixed parsing of ''italics'' and '''bold''' mark-up (again)
* Special:Allpages display is more sensible on smaller wikis
* Fixed XHTML parsing error in classic skins
* Moved pages update watchlist correctly
* Fixed rebuildall.php on case-sensitive Unix filesystems
* Disabled file cache compression by default due to incompatibility
with output buffer compression (ob_gzhandler)
* New magic word PAGENAMEE (URL-escaped version of PAGENAME)
* Installation avoids blank username; better message on missing
XML module
* $wgWhitelistAccount no longer breaks all logins.
Anyone still running the 1.3 beta releases is _strongly_ recommended to
upgrade to the current code due to numerous fixed bugs and a security
vulnerability in the betas with some PHP configurations.
Note that while MediaWiki through 1.1 required register_globals to be
on, 1.2 and 1.3 *do not*. If you have register_globals on, you should
turn it off unless you are absolutely sure you require it for some other
package. See http://php.net/register_globals for general information.
Release notes:
http://sf.net/project/shownotes.php?group_id=34373&release_id=260607
Download:
http://prdownloads.sf.net/wikipedia/mediawiki-1.3.1.tar.gz?download
Wiki admin help mailing list:
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Bug report system:
http://bugzilla.wikipedia.org/
Play "stump the developers" live on IRC:
#mediawiki on irc.freenode.net
-- brion vibber (brion @ pobox.com)
Hi,
I've just installed 1.3.0 (upgrading from a beta) and have got stuck
trying to change the
license statement which appears in the footer on editing. I want to
replace 'FDL' with
'Public Domain'.
During installation I selected 'none' for the license statement, but it
inserted the GNU FDL
message anyway. I couldn't work out any way to edit the copyrightwarning
variable in
Special:Allmessages, so I hand edited the Language.php file instead to
replace FDL with
Public Domain. No change in the output page. I edited the messages in
the objectcache table;
on editing the original message gets replaced in the table. I assume
it's been cached somewhere, but can't work out where: I've deleted the
template file in /tmp, stopped and started apache,
rebooted the system, grepped wildly... no luck. Can anyone tell me where
I should be looking?
Thanks for any help
Graham
I've noticed the same problem.
My config is:
$wgWhitelistEdit = true; # true = user must login to edit.
$wgWhitelistRead = false;
$wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
In fact it seemed to be working until I used the Sysop account to create
a user (using the Special:Userlogin page).
>From that point on, it was impossible to login, I would systematically get:
Sysop access required
The action you have requested can only be performed by users with
"sysop" status
Recently upgraded from 1.2 to 1.3 and Spacial:Allpages is not showing all
pages.
Am I misunderstanding the usage of this page? This is the first time I'm
really using this feature.
Bruce
Just set up 1.3 and everything went smoothly, except...
When I added "$wgWhitelistAccount = array ( 'user' => 0, 'sysop' => 1,
'developer' => 1 );" to the config file, no one can log in.
Shouldn't this only disable account creation, not login's from existing users
(like WikiSysop)?
Bruce
Brion,
Thanks a lot for your help. It works fine as long as it can
find the searched string. Otherwise, it just takes too long
to search, I guess.
Anyway, is there any documentation explaining the search
strategy and table relations?
Leonid Yabloko
Next Generation Software
www.ontospace.net
mysql> select * from mysql.user;
+-----------+------+------------------+
| Host | User | Password |
+-----------+------+------------------+
| localhost | root | |
| build | root | |
| localhost | | 35f518ef0e66b41f |
| build | | |
+-----------+------+------------------+
4 rows in set (0.08 sec)
I am using empty (default) user with non-empty password.
Is this OK?
Leonid Yabloko
Next Generation Software
www.ontospace.net
Hello Everybody,
Following line fails during the installation
wfQuery( "SELECT l_from FROM links LIMIT 1", DB_READ );
Is this correct intial state of links?
mysql> SELECT l_from FROM links LIMIT 1;
Empty set (0.05 sec)
Any ideas?
Len Yabloko
Next Generation Software
"If you're working on something new, then you are necessarily an amateur."
John Archibald Wheeler
dang-it I could swear I've seen this addressed already on the list, or on
meta, but I can't seem to find it.
Is there a line you can add to LocalSettings.php to set mediawiki 1.2.6 to
read-only mode?
I want to be able to do this so I can do a parallel upgrade to 1.3.0 while
keeping a copy available for consumption (but no editing of content) to the
users.
Best Regards,
JT