
Hello, Frank, I bet for a glass of wine ("payable" at LinuxTag) that I know what's wrong and how to solve it. If you hope that I have to pay it, just say yes to this bet ;-) (Please decide before reading the text below.) on Dienstag, 21. April 2009, Frank Sundermeyer wrote:
On Monday 20 April 2009 19:27:50 Rajko M. wrote:
On Monday 20 April 2009 11:37:34 am Rajko M. wrote:
Portal/All page is empty for quite some time.
Honestly I have no idea why this restriction exists. I wasn't able to find any configuration option limiting the size of pages in the config files, nor does Google find any hint that such an option exists.
Given such an option would exist, mediawiki would display a nice error message instead of delivering a completely empty page.
Unless somebody on this list has another idea, all I can do for now is to hope this error will go away when updating to a new MediaWiki version (which hopefully will happen soon.
I'm quite sure this won't go away with a new mediawiki version. Frank, do you have access to the error_log? My guess is that the PHP memory_limit is hit which can cause the '500' error. This should be recorded in the error_log. I just tested this by copying Portal/All to my private wiki. After clicking the preview button, I get a nice error_log entry: [Tue Apr 21 22:48:42 2009] [error] [client 10.8.0.6] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 27068 bytes) in .../includes/parser/Parser.php on line 1791 Direct hit :-) There's one thing you (or the server admin) probably won't like: I had to increase the memory_limit to 46M to make the preview work. Saving the page will probably need even more RAM if I got Rajko's mail right. (I'd recommend 64M - the server admin will probably disagree *g*) Guessed background: Mediawiki has to do lots of database work to render the page (like checking if the target page of every link exists). When saving the page, it probably also has to update lots of database entries for various pages - just think about "what links here" for every page linked in Portal/All ;-) BTW: I can't reproduce the error with the current version of Portal/All, but http://en.opensuse.org/index.php?title=Portal/All&oldid=70001 still results in an empty page with a 500 (internal server error) status code: # telnet en.opensuse.org 80 Trying 130.57.4.24... Connected to en.opensuse.org. Escape character is '^]'. GET /index.php?title=Portal/All&oldid=70001 HTTP/1.0 Host: en.opensuse.org HTTP/1.0 500 Internal Server Error Date: Tue, 21 Apr 2009 20:33:44 GMT Server: Apache/2.2.3 (Linux/SUSE) X-Powered-By: PHP/5.2.5 Content-Type: text/html Content-Length: 1 Set-Cookie: XXXXXX-opensuse=XXXXXXXXXXXXXXX; path=/ # cookie XX-ed out P3p: CP="NOI" Via: 1.0 ICS_SERVER (iChain 2.3.416) Connection closed by foreign host. Regards, Christian Boltz -- Super-PC von IBM - der erste 486er im Test [Titelseite der Chip 8/1989] -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org