When I tried to save the contents of the page then I am getting the error
Error: The text you have submitted is 2,056 kilobytes long, which is longer than the maximum of 2,048 kilobytes. It cannot be saved.
Does anybody have an idea how to get rid of it? Do I need to change some setting of mysql or php on the server side?
Thanx in advance
Hi Herulee,
This sounds like the "upload_max_filesize = 2M" directive in php.ini.. try increasing this, and restarting httpd?
- David
On 3/05/10 11:02 PM, Herulee wrote:
When I tried to save the contents of the page then I am getting the error
Error: The text you have submitted is 2,056 kilobytes long, which is longer than the maximum of 2,048 kilobytes. It cannot be saved.
Does anybody have an idea how to get rid of it? Do I need to change some setting of mysql or php on the server side?
Thanx in advance
Remember that we also have $wgMaxArticleSize (http://www.mediawiki.org/wiki/Manual:$wgMaxArticleSize) that is set to 2048 kB.
Cheers! Alexandre Emsenhuber (ialex)
Le 3 mai 2010 à 13:19, church.of.emacs.ml a écrit :
This sounds like the "upload_max_filesize = 2M" directive in php.ini.. try increasing this, and restarting httpd?
That's probably it. The text is stored in a mediumblob, so it should allow up to 16MB.
-- Church of emacs
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 05/03/2010 01:22 PM, Alexandre Emsenhuber wrote:
Remember that we also have $wgMaxArticleSize (http://www.mediawiki.org/wiki/Manual:$wgMaxArticleSize) that is set to 2048 kB.
That makes more sense since the php.ini default I referenced is "8M".
Cool.. I learn something new every day.
C.
changing the $wgMaxArticleSize done the trick
Thanx very much for the help
Clayton-24 wrote:
On 05/03/2010 01:22 PM, Alexandre Emsenhuber wrote:
Remember that we also have $wgMaxArticleSize (http://www.mediawiki.org/wiki/Manual:$wgMaxArticleSize) that is set to 2048 kB.
That makes more sense since the php.ini default I referenced is "8M".
Cool.. I learn something new every day.
C.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
changing the $wgMaxArticleSize done the trick
In which file is that? thanks
2010/5/3 Herulee heramb.forums@googlemail.com
changing the $wgMaxArticleSize done the trick
Thanx very much for the help
Clayton-24 wrote:
On 05/03/2010 01:22 PM, Alexandre Emsenhuber wrote:
Remember that we also have $wgMaxArticleSize (http://www.mediawiki.org/wiki/Manual:$wgMaxArticleSize) that is set to 2048 kB.
That makes more sense since the php.ini default I referenced is "8M".
Cool.. I learn something new every day.
C.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- View this message in context: http://old.nabble.com/Get-error-while-editing-tp28433809p28434185.html Sent from the WikiMedia General mailing list archive at Nabble.com.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 05/03/2010 01:14 PM, David Young wrote:
Hi Herulee,
This sounds like the "upload_max_filesize = 2M" directive in php.ini.. try increasing this, and restarting httpd?
That setting is for filesizelimits on uploading content, not for text content over 2Mb in a single page. (2Mb of text in a single Wiki page is really unusual)
C.
On 05/03/2010 01:02 PM, Herulee wrote:
When I tried to save the contents of the page then I am getting the error
Error: The text you have submitted is 2,056 kilobytes long, which is longer than the maximum of 2,048 kilobytes. It cannot be saved.
Does anybody have an idea how to get rid of it? Do I need to change some setting of mysql or php on the server side?
That's a rather big text file to be editing... Just guesing here... you're looking for post_max_size in the php.ini file. See: http://php.net/manual/en/ini.core.php Or... better yet (if possible) break the content into more manageable chunks.
C.
mediawiki-l@lists.wikimedia.org