root
Members-
Posts
32 -
Joined
-
Last visited
Everything posted by root
-
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. Processwire works perfectly and confidence is there again but not for Ubuntu .. Sorry for my angry post. Regards, Fred
-
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. Processwire works perfectly and confidence is there again but not for Ubuntu .. Sorry for my angry post. Regards, Fred
-
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
-
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.
-
I added a debug line to index.php . print_r($_POST); try { ... Working: Array ( [title] => test [title__1019] => [html] => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [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] => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ) The post request is definitely truncated and the token is missing which leads to the forgery error. But where is it truncated?
-
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
-
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?
-
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?
-
Okay. Thank you.
-
Again I started a new thread since this might not be directly referred to repeaters anymore. https://processwire.com/talk/topic/10301-this-request-was-aborted-because-it-appears-to-be-forged-when-saving-plain-html/
-
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
-
I made the TextArea field a non translated and when I try to save the snippet above I get a red error bar on top: "This request was aborted because it appears to be forged." The rest of the page includes the menu but no content. What's up here!? Why is this error not visible in translated fields?
-
I managed to replace Repeaters by PageTables. This was easily done. But now I had another problem again: When I wanted to store my plain html examples (these are coding examples for Python code generated by Sphinx with syntax highlighting) the html is not stored. The field is translated and does not use ckeditor. And again the html status code is 200 and not 301 and no errors are logged and I don't see any javascript errors on the console. The html snipped that does not save 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 save the upper or lower parts it works. It is reproducable in Chrome and Firefox on Linux. Maybe this is the same problem like before? What is the problem here?!
-
Disabling ckeditor does not affect the problem. The repeater and the template itself which uses the repeater use the same fields multiple times. Maybe this leads to the behaviour.
-
Both repeaters use ckeditor.
-
PageTable works well! Thank you very much. I will anyway support finding the other problem if needed.
-
The POST payload is mime multipart encoded and looks "normal" in every case. Maybe there is a situation that skippes the saving and leads to a http 200 response. Who can help? How can I debug that?
-
Hi Macrura, there are javascript console errors in chrome but not in firefox. The error occurs in firefox, too. Chrome says: Uncaught Error: "create" can only be used in extension processes. See the content scripts documentation for more details. chromeHidden.onLoad.addListener.apiDefinitions.forEach.apiDef.functions.forEach.apiFunctionextensions/schema_generated_bindings.js:418 (anonymous function) But I think this is not the problem. I actually found something strange: If saving works /page/edit/?id=1042 is called with the formular data as payload answered by a 301 http response (moved permanently) code that redirects to /page/edit/?id=1042&s=1 If it does _not_ work, /page/edit/?id=1042 is requested with the payload but it is answered with 200 http response (ok). What may lead to this misbehaviour? I also found out that one repeater is enough and that it does not happen on every page. I will deeper investigate the encoding of the payload now. And I will also check PageTable. Thank you. Regards from Germany, Fred
-
Thank you Marcus, that helped. The other errors remain unchanged. Any suggestions? I also posted about potential database problems because no foreign keys are used at all. My installation is still bricked and I can't save data. The error above was due the test installation of xdebug. Regards, Fred
-
Hello everybody, while debugging I imported the processwire database into Mysql Workbench and looked at the ERP diagram. I was wondering that no foreign keys are used anywhere. This can lead to data inconsistency due to any programming error when the PHP scripts are responsible for this. I can imagine that this might have been the reason for my other problems. Is there are good reason not to use foreign keys? Regards, Fred
-
Hello everybody, I'm starting a new thread since the original (https://processwire.com/talk/topic/10260-problems-with-multiple-repeaters/) is not anwered. The fresh 2.6.1 installation was broken after I used two repeaters with each two translated fields inside. I could not save any data anymore. But today I get Error: Maximum function nesting level of '100' reached, aborting! (line 147 of /xxx/wire/core/Pages.php) when I want to create a new page and Error: Maximum function nesting level of '100' reached, aborting! (line 117 of /xxx/wire/core/WireData.php) when I want to edit an existing page. I'm wondering that nobody seems to be interested in this bug since it actually bricks the whole website. This errors are logged in site/assets/logs/errors.txt . Help or any suggestions are appreciated. Thanks in advance. Kind regards, Fred