[MediaWiki-l] switch($X){case 'Y':trigger_error(can you believe \$X is NOT Y but Z); }

2014-01-03 Thread jidanni
In LocalSettings.php I put switch($wgSitename){case 'ABJ': trigger_error(can you believe \$wgSitename is $wgSitename and not ABJ?!,E_USER_WARNING);} For each HTTP GET, I see in /var/log/apache2/error.log: [Fri Jan 03 15:48:43.103883 2014] [:error] [pid 6608] [client 127.0.0.1:52043] PHP

[MediaWiki-l] how does /images manage to hide its subdirectories?

2014-01-03 Thread jidanni
$ w3m -dump http://abj.jidanni.org/images Index of /images NameLast modified Size Description --- Parent Directory - README

[MediaWiki-l] Upgrade from 1.21.3 to 1.22.0 produces Uncommitted DB writes

2014-01-03 Thread Daniel Barrett
I tried upgrading from 1.21.3 to 1.22.0 last night. It worked on one server (PHP 5.5.3 and mySQL 5.5.34) but not on the second one (PHP 5.3.27 and mySQL 5.1.68) with exactly the same codebase. There were no errors in the Apache error_log, but I'll describe the symptoms and maybe someone might

Re: [MediaWiki-l] Upgrade from 1.21.3 to 1.22.0 produces Uncommitted DB writes

2014-01-03 Thread Bartosz DziewoƄski
https://bugzilla.wikimedia.org/show_bug.cgi?id=47375 https://bugzilla.wikimedia.org/show_bug.cgi?id=56269 -- Matma Rex ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] switch($X){case 'Y':trigger_error(can you believe \$X is NOT Y but Z); }

2014-01-03 Thread Daniel Friesen
On 2014-01-03 2:37 AM, jida...@jidanni.org wrote: Or is this some weird php/apache echoing? You can test whether it is or isn't by adding an mt_rand() call to your log test. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___

Re: [MediaWiki-l] Upgrade from 1.21.3 to 1.22.0 produces Uncommitted DB writes

2014-01-03 Thread Daniel Barrett
Bartosz Dziewonski writes: https://bugzilla.wikimedia.org/show_bug.cgi?id=47375 https://bugzilla.wikimedia.org/show_bug.cgi?id=56269 Thanks, I saw those bug reports too. However, none of those reports says anything about the wiki being unresponsive, just that the errors are emitted. In my case, I

[MediaWiki-l] Failed: run MySQL on a different port

2014-01-03 Thread Mucke, Tobias, FCIT-F2
Hi everybody, sorry I'm a little bit frustrated after the todays' evening. I tried to install Mediawiki 1.22.0. I succeeded with the installation for many other version before. But this time I failed. Here is how it went: the installer did not accept that I run my MySQL database on a different

Re: [MediaWiki-l] LocalSettings.php not found

2014-01-03 Thread Henry Hartley
What are the permissions and ownership of LocalSettings.php? Run ls -l and see what it shows. Do you know if SELinux is turned on and enforcing? That can make files appear to be missing to Apache. Try running sestatus or cat /etc/sysconfig/selinux and see what they tell you. If it is, then

Re: [MediaWiki-l] Failed: run MySQL on a different port

2014-01-03 Thread Mucke, Tobias, FCIT-F2
Hi everybody, I was able to reproduce the issue on another linux system at home. The installation of Mediawiki 1.22.0 fails / can not connect to db as soon as you provide a port number e. g. localhost:3306. Unfortunately I'm still not able to locate the root cause. I'll try Mediawiki 1.21.3.

Re: [MediaWiki-l] Failed: run MySQL on a different port

2014-01-03 Thread Mucke, Tobias, FCIT-F2
Hi, With Mediawiki 1.21.3 specifying a port number is possible. Looks like something changed in the way the connection to the database is made. I'll try to find a fix but I'm not a PHP developer. Any help appreciated. Thank you. Tobias Tobias Mucke MBDA Deutschland GmbH Head of Back Office

Re: [MediaWiki-l] Failed: run MySQL on a different port

2014-01-03 Thread Bill Traynor
On Fri, Jan 3, 2014 at 5:55 PM, Mucke, Tobias, FCIT-F2 tobias.mu...@mbda-systems.de wrote: Hi everybody, I was able to reproduce the issue on another linux system at home. The installation of Mediawiki 1.22.0 fails / can not connect to db as soon as you provide a port number e. g.

Re: [MediaWiki-l] switch($X){case 'Y':trigger_error(can you believe \$X is NOT Y but Z); }

2014-01-03 Thread jidanni
DF You can test whether it is or isn't by adding an mt_rand() call to your log test. You would have to tell me how. But anyway I've isolated the problem: $ cat n.php ?php $wgSitename='ABJ'; $wgSitename=0; switch($wgSitename){case 'ABJ':trigger_error(can you believe \$wgSitename is $wgSitename

Re: [MediaWiki-l] switch($X){case 'Y':trigger_error(can you believe \$X is NOT Y but Z); }

2014-01-03 Thread jidanni
OK I see, http://www.php.net/manual/en/control-structures.switch.php#86911 http://www.php.net/manual/en/control-structures.switch.php#97112 http://www.php.net/manual/en/control-structures.switch.php#84150 How awful. No wonder people write