root Posted June 29, 2015 Share Posted June 29, 2015 (edited) If I try to save a html snippet into a field of type TextArea I get "This request was aborted because it appears to be forged.". If I save the first or second half it works. The snippet is: <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span> <span class="gp">... </span> <span class="n">xxx</span><span class="o">.</span><span class="n">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span> <span class="gp">...</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">type</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">serial_number</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="n">pattern</span><span class="o">=</span><span class="s">"[A-Z]{4}-[0-9]{4}"</span><span class="p">,</span> <span class="n">length</span><span class="o">=</span><span class="mi">9</span><span class="p">,</span> <span class="n">value</span><span class="o">=</span><span class="s">"AAAA-0000"</span><span class="p">)</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">hardware_type</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span> If I disable csrf protection ($config->protectCSRF = false;) the error is not thrown but the data is not saved silently - that's not better. What's wrong here? Regards, Fred Edited June 29, 2015 by LostKobrakai Please do use the code blocks Link to comment Share on other sites More sharing options...
Pete Posted June 29, 2015 Share Posted June 29, 2015 Does your server have mod_security turned on? I only ask because sometimes with mod_sec on a certain number of instances of words like "init" and "*" as well as regular expressions can trip mod_sec rules I believe and that usually results in no visible error but no data saving. If you do have mod_security enabled on your server, you could try turning it off temporarily and saving the data again. I've run into this myself in the past but usually with words like "select" and "drop" so mod_security incorrectly things I'm trying to post SQL queries into an editor and hack the database. It can be a bit dumb like that at times Link to comment Share on other sites More sharing options...
root Posted June 29, 2015 Author Share Posted June 29, 2015 modsecurity is not installed and not enabled. Any other ideas or debugging techniques? Link to comment Share on other sites More sharing options...
root Posted June 29, 2015 Author Share Posted June 29, 2015 Here come some new facts: After a pause and a new login saving the snippet above suddenly works (WTF!?). If I paste it three times the forgery error is raised again. If I paste it four times it is silently not saved. It seems that really strange things happen here.. Any ideas? Link to comment Share on other sites More sharing options...
Macrura Posted June 29, 2015 Share Posted June 29, 2015 Have you read the relevant documentation on that error, here?https://processwire.com/docs/tutorials/troubleshooting-guide/page2 or google? http://lmgtfy.com/?q=processwire+%22This+request+was+aborted+because+it+appears+to+be+forged.%22 Link to comment Share on other sites More sharing options...
root Posted June 29, 2015 Author Share Posted June 29, 2015 I know how to google. If I do $config->protectCSRF = false; $config->sessionChallenge = false; $config->sessionFingerprint = false; in config.php the forgery error is not raised anymore. If I paste the snippet five times, it is not saved. Apache runs mpm-itk (this let's the server run with the owner's rights and everything is writable by the owner). The save request (taken from chrome) is: Request URL:http://localhost/processwire/page/edit/?id=1103 Request Method:POST Status Code:200 OK Request Headersview source Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 Accept-Encoding:gzip,deflate,sdch Accept-Language:de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4 Cache-Control:max-age=0 Connection:keep-alive Content-Length:9968 Content-Type:multipart/form-data; boundary=----WebKitFormBoundarySvtVucL084tIokWm Cookie:WireTabs=ProcessPageEditContent; wire_challenge=%2FUFLeKYB3Yg2V5pmQtBuumSlAex9y6R3; wire=2la0nemcm9lpgmtjcns18gnut1 Host:localhost Origin:http://localhost Referer:http://localhost/processwire/page/edit/?id=1103 User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19 Query String Parametersview URL encoded id:1103 Request Payload ------WebKitFormBoundarySvtVucL084tIokWm Content-Disposition: form-data; name="title" EEPROM-Inhalt ------WebKitFormBoundarySvtVucL084tIokWm Content-Disposition: form-data; name="title__1019" ------WebKitFormBoundarySvtVucL084tIokWm Content-Disposition: form-data; name="html" <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span> <span class="gp">... </span> <span class="n">xxx</span><span class="o">.</span><span class="n">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span> <span class="gp">...</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">type</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">serial_number</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="n">pattern</span><span class="o">=</span><span class="s">"[A-Z]{4}-[0-9]{4}"</span><span class="p">,</span> <span class="n">length</span><span class="o">=</span><span class="mi">9</span><span class="p">,</span> <span class="n">value</span><span class="o">=</span><span class="s">"AAAA-0000"</span><span class="p">)</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">hardware_type</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span><span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span> <span class="gp">... </span> <span class="n">xxx</span><span class="o">.</span><span class="n">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span> <span class="gp">...</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">type</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">serial_number</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="n">pattern</span><span class="o">=</span><span class="s">"[A-Z]{4}-[0-9]{4}"</span><span class="p">,</span> <span class="n">length</span><span class="o">=</span><span class="mi">9</span><span class="p">,</span> <span class="n">value</span><span class="o">=</span><span class="s">"AAAA-0000"</span><span class="p">)</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">hardware_type</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span><span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span> <span class="gp">... </span> <span class="n">xxx</span><span class="o">.</span><span class="n">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span> <span class="gp">...</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">type</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">serial_number</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="n">pattern</span><span class="o">=</span><span class="s">"[A-Z]{4}-[0-9]{4}"</span><span class="p">,</span> <span class="n">length</span><span class="o">=</span><span class="mi">9</span><span class="p">,</span> <span class="n">value</span><span class="o">=</span><span class="s">"AAAA-0000"</span><span class="p">)</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">hardware_type</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span><span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span> <span class="gp">... </span> <span class="n">xxx</span><span class="o">.</span><span class="n">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span> <span class="gp">...</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">type</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">serial_number</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="n">pattern</span><span class="o">=</span><span class="s">"[A-Z]{4}-[0-9]{4}"</span><span class="p">,</span> <span class="n">length</span><span class="o">=</span><span class="mi">9</span><span class="p">,</span> <span class="n">value</span><span class="o">=</span><span class="s">"AAAA-0000"</span><span class="p">)</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">hardware_type</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span><span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span> <span class="gp">... </span> <span class="n">xxx</span><span class="o">.</span><span class="n">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span> <span class="gp">...</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">type</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">serial_number</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="n">pattern</span><span class="o">=</span><span class="s">"[A-Z]{4}-[0-9]{4}"</span><span class="p">,</span> <span class="n">length</span><span class="o">=</span><span class="mi">9</span><span class="p">,</span> <span class="n">value</span><span class="o">=</span><span class="s">"AAAA-0000"</span><span class="p">)</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">hardware_type</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span> ------WebKitFormBoundarySvtVucL084tIokWm Content-Disposition: form-data; name="html__1019" ------WebKitFormBoundarySvtVucL084tIokWm Content-Disposition: form-data; name="sortfield" ------WebKitFormBoundarySvtVucL084tIokWm Content-Disposition: form-data; name="_pw_page_name" e1 ------WebKitFormBoundarySvtVucL084tIokWm Content-Disposition: form-data; name="_pw_page_name1019" e1 ------WebKitFormBoundarySvtVucL084tIokWm Content-Disposition: form-data; name="status1019" 1 ------WebKitFormBoundarySvtVucL084tIokWm Content-Disposition: form-data; name="template" 54 ------WebKitFormBoundarySvtVucL084tIokWm Content-Disposition: form-data; name="parent_id" 1047 ------WebKitFormBoundarySvtVucL084tIokWm Content-Disposition: form-data; name="submit_save" Save ------WebKitFormBoundarySvtVucL084tIokWm Content-Disposition: form-data; name="id" 1103 ------WebKitFormBoundarySvtVucL084tIokWm Content-Disposition: form-data; name="TOKEN869817969X1435614964" 28H9P23GGIdO9xXpEs8eSlPFCuq3EpeW ------WebKitFormBoundarySvtVucL084tIokWm-- Response Headersview source Accept-Ranges:bytes Cache-Control:no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Connection:Keep-Alive Content-Type:text/html; charset=utf-8 Date:Mon, 29 Jun 2015 22:01:33 GMT Expires:Thu, 19 Nov 1981 08:52:00 GMT Keep-Alive:timeout=5, max=100 Pragma:no-cache Server:Apache/2.4.10 (Ubuntu) Transfer-Encoding:chunked X-Frame-Options:SAMEORIGIN This one with less text works: Request URL:http://hilster-new.localhost/processwire/page/edit/?id=1103 Request Method:POST Status Code:301 Moved Permanently Request Headersview source Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 Accept-Encoding:gzip,deflate,sdch Accept-Language:de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4 Cache-Control:max-age=0 Connection:keep-alive Content-Length:3092 Content-Type:multipart/form-data; boundary=----WebKitFormBoundaryljE1A6EtUdKVUIAW Cookie:WireTabs=ProcessPageEditContent; wire_challenge=%2FUFLeKYB3Yg2V5pmQtBuumSlAex9y6R3; wire=2la0nemcm9lpgmtjcns18gnut1 Host:hilster-new.localhost Origin:http://hilster-new.localhost Referer:http://hilster-new.localhost/processwire/page/edit/?id=1103 User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19 Query String Parametersview URL encoded id:1103 Request Payload ------WebKitFormBoundaryljE1A6EtUdKVUIAW Content-Disposition: form-data; name="title" EEPROM-Inhalt ------WebKitFormBoundaryljE1A6EtUdKVUIAW Content-Disposition: form-data; name="title__1019" ------WebKitFormBoundaryljE1A6EtUdKVUIAW Content-Disposition: form-data; name="html" <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span> <span class="gp">... </span> <span class="n">xxx</span><span class="o">.</span><span class="n">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span> <span class="gp">...</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">type</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">serial_number</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="n">pattern</span><span class="o">=</span><span class="s">"[A-Z]{4}-[0-9]{4}"</span><span class="p">,</span> <span class="n">length</span><span class="o">=</span><span class="mi">9</span><span class="p">,</span> <span class="n">value</span><span class="o">=</span><span class="s">"AAAA-0000"</span><span class="p">)</span> <span class="gp">... </span> <span class="bp">self</span><span class="o">.</span><span class="n">hardware_type</span> <span class="o">=</span> <span class="n">xxx</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span> ------WebKitFormBoundaryljE1A6EtUdKVUIAW Content-Disposition: form-data; name="html__1019" ------WebKitFormBoundaryljE1A6EtUdKVUIAW Content-Disposition: form-data; name="sortfield" ------WebKitFormBoundaryljE1A6EtUdKVUIAW Content-Disposition: form-data; name="_pw_page_name" e1 ------WebKitFormBoundaryljE1A6EtUdKVUIAW Content-Disposition: form-data; name="_pw_page_name1019" e1 ------WebKitFormBoundaryljE1A6EtUdKVUIAW Content-Disposition: form-data; name="status1019" 1 ------WebKitFormBoundaryljE1A6EtUdKVUIAW Content-Disposition: form-data; name="template" 54 ------WebKitFormBoundaryljE1A6EtUdKVUIAW Content-Disposition: form-data; name="parent_id" 1047 ------WebKitFormBoundaryljE1A6EtUdKVUIAW Content-Disposition: form-data; name="submit_save" Save ------WebKitFormBoundaryljE1A6EtUdKVUIAW Content-Disposition: form-data; name="id" 1103 ------WebKitFormBoundaryljE1A6EtUdKVUIAW Content-Disposition: form-data; name="TOKEN869817969X1435614964" 28H9P23GGIdO9xXpEs8eSlPFCuq3EpeW ------WebKitFormBoundaryljE1A6EtUdKVUIAW-- Response Headersview source Accept-Ranges:bytes Cache-Control:no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Connection:Keep-Alive Content-Length:0 Content-Type:text/html; charset=utf-8 Date:Mon, 29 Jun 2015 22:06:15 GMT Expires:Thu, 19 Nov 1981 08:52:00 GMT Keep-Alive:timeout=5, max=100 Location:./?id=1103&s=1 Pragma:no-cache Server:Apache/2.4.10 (Ubuntu) X-Frame-Options:SAMEORIGIN The status code differs. Any other constructive ideas? Link to comment Share on other sites More sharing options...
root Posted June 29, 2015 Author Share Posted June 29, 2015 It seems to be a problem with the input's length. Is it length limited? The Mysql definition is MEDIUMTEXT which has a length of 16,777,215 (see http://stackoverflow.com/questions/5227688/max-length-of-mediumtext). I can save 8192 (2**13) characters but not 16384 (2**14). Are there other limitations on the length of the input in Processwire? Link to comment Share on other sites More sharing options...
ryan Posted June 30, 2015 Share Posted June 30, 2015 There seems to be something else interfering with your textarea field. I just tried to duplicate, both with 32768 random bytes in a textarea, and with your exact markup posted. But no problems saving either. There are no length limitations imposed on textarea fields, unless used without a Fieldtype (like in FormBuilder, or in other non-Page Inputfield forms). In what context are you using the textarea field (if not just a regular page field), what input type are you using with it (if not regular textarea), and what settings have you configured with it, on both "details" and "input" tabs? Though you may want to look at the following first: The "forged" error, as well as silent data loss seems to suggest that the data is getting truncated before PHP gets access to it. Given that you have silent data loss, the forged error is most likely occurring because the CSRF token is not even getting sent (perhaps due to the entire post request getting truncated). I would look at your PHP settings like post_max_size, as well as max_input_vars, to make sure you aren't hitting up against those. From the sounds of it, you are hitting up against a configured maximum in PHP or Apache. Link to comment Share on other sites More sharing options...
root Posted June 30, 2015 Author Share Posted June 30, 2015 Hello Ryan, thank you for that answer. root@hal9000:/etc/php5# grep -R post_max_size apache2filter/php.ini:post_max_size = 8M root@hal9000:/etc/php5# grep -R max_input_vars apache2filter/php.ini:; max_input_vars = 1000 The apache settings look good. `max_input_vars` is not set explicitly and I guess it's unlimited. I made a template called "examples" which consists of two fields: title and html. The title field is the default one. html is of Type: TextareaLanguage, Inputfield Type: TextArea, Content-Type: Unknown, No Text Formatter. The template is used as a page table but the error also occurs if I use it the normal way. I just changed it to a non-translated field - same problem. In my other threads I had similar problems that may all be related to this one. How can I go on? Regards, Fred Link to comment Share on other sites More sharing options...
root Posted June 30, 2015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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [html__1019] => [sortfield] => [_pw_page_name] => test [_pw_page_name1019] => test [status1019] => 1 [template] => 54 [parent_id] => 1 [status] => Array ( [0] => 2048 ) [submit_save] => Save + Keep Unpublished [id] => 1105 [TOKEN1886310097X1435615925] => 8PCeoEZxVBD2Dmn6x68n3QnKNDGp/m8Y ) Not working: Array ( [title] => test [title__1019] => [html] => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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Link to comment Share on other sites More sharing options...
WillyC Posted June 30, 2015 Share Posted June 30, 2015 suhosin u su hosin ? do this.it do u disabble suhosin 4 Link to comment Share on other sites More sharing options...
Pete Posted June 30, 2015 Share Posted June 30, 2015 Might be worth explicitly setting max_input_vars to something really high (make it 10000) and not trusting the fact that it's not set according to this: http://stackoverflow.com/questions/10638075/max-input-vars-set-even-if-commented-in-php-ini And yes, fingers crossed this or something like it fixes all your issues in one go Link to comment Share on other sites More sharing options...
root Posted June 30, 2015 Author Share Posted June 30, 2015 I set max_input_vars to 1000000. No success. It does not seem that suhosin patches are included. I anyway disabled it. No success. What else can truncate post data? Link to comment Share on other sites More sharing options...
root Posted June 30, 2015 Author Share Posted June 30, 2015 I'm running the mpm_itk module so that every virtual hosts runs as the user but I don't think this could cause problems like this. Link to comment Share on other sites More sharing options...
root Posted July 1, 2015 Author Share Posted July 1, 2015 Here come some good news: On my webserver everything works like expected. So this seems to be an Ubuntu 15.04 related issue. So Processwire does not seem to be affected. Anyway. Does anybody has another idea how the $_POST data could be truncated this way? I also realized that I cannot upload images on my development maschine. Link to comment Share on other sites More sharing options...
root Posted July 1, 2015 Author Share Posted July 1, 2015 I found it: It seems that on Ubuntu 15.04 (and maybe older versions) the newly shipped libapache2-mod-php5filter module somehow truncates the $_POST data. I removed it and installed libapache2-mod-php5. Now it works again. THAT IS NOT COOL, UBUNTU! If you have the same problem, run (as root): apt-get remove libapache2-mod-php5filter libapache2-mod-php5 will be installed automatically. Thank you for your help. Regards, Fred 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now