Topic on Project:Support desk

Articles will not save if they are large

15
Jman444 (talkcontribs)

Hello all and thank you for your help. If I let the length of any my articles extend too long (approximately 4000 characters) I get the following error...

Some parts of the edit form did not reach the server; double-check that your edits are intact and try again.

And all the data is lost. I checked all the php.ini/LocalSetting.php and could not find any reason for this.

I am running

MediaWiki: 1.19.1 PHP: 5.3.13 (cgi-fcgi) MySQL: 5.1.63-cll

Unfortunately I can't provide a link due to the sensitive nature of the wiki. I do have another wiki setup on the server however and that one does not have this problem. I tried reinstalling the wiki completely and that did not solve anything.

I would appreciate any help - Thank you - Jman

Bawolff (talkcontribs)

Basically MediaWiki says that if when you hit submit, the edit box doesn't seem to be submitted.


I think the most likely cause (this is a guess) of this is something wrong with the webserver, cutting off post data if its beyond a certain size

Jman444 (talkcontribs)

WelI have an account on the same server running a wiki perfectly running from the same global php.ini...I can't imagine what is causing this.

Bawolff (talkcontribs)

Sorry, your last post confused me. Are you saying that you have another instance of MediaWiki, running on the same web server, with the same php configuration, that does not have this issue?

If so, that is quite odd. Do you have the same extensions installed on both (and specificly, do you have any captcha extensions installed, simply because they mess with how editing works, so that would be one of the first places I'd look [however, I've never heard of a captcha extension causing this sort of issue])? Are the MediaWiki instances the same versions?

Jman444 (talkcontribs)

You are correct, same server, two separate installs of MediaWiki. Both are bone stock, no modifications what so ever.

Wargo (talkcontribs)
Jman444 (talkcontribs)

It wasn't in my LocalSetting.php, I added with a large number 9999999999 and it didn't change anything.

GeorgeBarnick (talkcontribs)

Maybe try a smaller, more "realistic" size for $wgMaxArticleSize? The variable is in kilobytes, so the number you said you used is over 9000 gigabytes. Try 104857600, which is the equivalent of 100GB maybe. Not sure if that would have any effect on it.

Also, I've heard of similar issues like this and experienced them first-hand on a wiki I work at, where the issue is related to the lack of enough RAM on the server. How much RAM does the server you're using have, and do you know if you could increase it?

Daniel Mietchen (talkcontribs)

I just ran into the same problem, which could be fixed by reducing the MTU (cf. this how-to for OSX).

Rlaughton (talkcontribs)

I had the same problem, read the results here and posted my solution. It disappeared?

I use Google Chrome as my primary browser. After reading the results here I tried to also load the page with Microsoft Explorer. That solved the problem. I left the Google page open so I did not lose the information and copied it over to the same page open in Explorer. It loaded without problem and was then available on Chrome.

http://cefresearch.ca/wiki2/index.php/Chronology_1916 is the page I am working on when the error appeared.

182.72.144.61 (talkcontribs)

hi i am not able save the large amount of tabular format data in mediawiki could you please find out the way and do the needful thanks

Ciencia Al Poder (talkcontribs)

What's your issue? Could you please describe with details any error message you get or what happens?

Cavila (talkcontribs)

For the record. The error message refers to an "edit form". Are you perhaps using Semantic Forms or some other extension enabling you to edit content through a form? I(If so, that would be an important bit of information)

Ahbejuan (talkcontribs)

haha. I just had a problem by the same description. It was my typo in php.ini.

post_max_size = 200MB

// Should not have a B at the end or it's interpreted as 200 bytes.

139.167.7.167 (talkcontribs)

Hi,

if you somehow still get this error, check if the line

post_max_size = 200M

exists in you php.ini. if not adding this line will solve this issue. i had this issue. accidentally removed the line.