Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Page length or encoding problems from Markdown table

Started by Muut Archive 11 years ago · 4 replies · 351 views
11 years ago

I am having troubles with creating a page through the Admin Plugin, presumably because of length or encoding problems. My config is the following:

JS
absolute_urls
false
timezone
Europe/Dublin
default_locale
null
param_sep
:
languages
array:7 [ "supported" => [] "translations" => true "translations_fallback" => true "session_...
home
array:1 [ "alias" => "/home" ]
pages
array:18 [ "theme" => "notepad" "order" => array:2 [ "by" => "default" "dir" => "asc" ...
cache
array:6 [ "enabled" => true "check" => array:1 [ "method" => "file" ] "driver" => "auto"...
twig
array:6 [ "cache" => true "debug" => true "auto_reload" => true "autoescape" => false "und... 
assets
array:8 [ "css_pipeline" => false "css_minify" => false "css_minify_windows" => false "css_r...
errors
array:2 [ "display" => true "log" => true ]
debugger
array:3 [ "enabled" => true "shutdown" => array:1 [ "close_connection" => false ] "twig"...
images
array:3 [ "default_image_quality" => 100 "cache_all" => true "debug" => false ]
media
array:3 [ "enable_media_timestamp" => false "upload_limit" => 0 "unsupported_inline_types" => ...
session
array:3 [ "enabled" => true "timeout" => 1800 "name" => "grav-site" ]
security
array:1 [ "default_hash" => "$2y$10$kwsyMVwM8/7j0K/6LHT.g.Fs49xOCTp2b8hh/S5.dPJuJcJB6T.UK" ]

I am presenting a fairly large table on the page, formatted as a Markdown table (since Grav uses MarkdownExtra), with 51 rows containing both English and Norwegian text. If I save the page with the first 7 rows, it renders fine, but if I have all 51 there and save the page does not render and I get this error from Apache:

TXT
[Sat Oct 17 23:37:10.409494 2015] [ssl:warn] [pid 7348:tid 552] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 17 23:37:11.041521 2015] [mpm_winnt:notice] [pid 7348:tid 552] AH00455: Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.5.28 configured -- resuming normal operations
[Sat Oct 17 23:37:11.041521 2015] [mpm_winnt:notice] [pid 7348:tid 552] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48
[Sat Oct 17 23:37:11.041521 2015] [core:notice] [pid 7348:tid 552] AH00094: Command line: 'C:\\Bitnami\\WAMPST~1.28-\\apache2\\bin\\httpd.exe -d C:/Bitnami/wampstack-5.5.28-0/apache2 -f C:\\Bitnami\\WAMPST~1.28-\\apache2\\conf\\httpd.conf'
[Sat Oct 17 23:37:11.063533 2015] [mpm_winnt:notice] [pid 7348:tid 552] AH00418: Parent: Created child process 7876
[Sat Oct 17 23:37:12.250752 2015] [ssl:warn] [pid 7876:tid 552] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 17 23:37:12.508093 2015] [ssl:warn] [pid 7876:tid 552] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 17 23:37:12.527104 2015] [mpm_winnt:notice] [pid 7876:tid 552] AH00354: Child: Starting 64 worker threads.
[Sat Oct 17 23:37:13.214490 2015] [mpm_winnt:notice] [pid 7348:tid 552] AH00428: Parent: child process 7876 exited with status 3221225725 -- Restarting.
[Sat Oct 17 23:37:13.966076 2015] [ssl:warn] [pid 7348:tid 552] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 17 23:37:13.983088 2015] [mpm_winnt:notice] [pid 7348:tid 552] AH00455: Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.5.28 configured -- resuming normal operations
[Sat Oct 17 23:37:13.983088 2015] [mpm_winnt:notice] [pid 7348:tid 552] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48
[Sat Oct 17 23:37:13.983088 2015] [core:notice] [pid 7348:tid 552] AH00094: Command line: 'C:\\Bitnami\\WAMPST~1.28-\\apache2\\bin\\httpd.exe -d C:/Bitnami/wampstack-5.5.28-0/apache2 -f C:\\Bitnami\\WAMPST~1.28-\\apache2\\conf\\httpd.conf'
[Sat Oct 17 23:37:13.991092 2015] [mpm_winnt:notice] [pid 7348:tid 552] AH00418: Parent: Created child process 5508
[Sat Oct 17 23:37:14.833792 2015] [ssl:warn] [pid 5508:tid 420] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 17 23:37:15.065934 2015] [ssl:warn] [pid 5508:tid 420] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 17 23:37:15.112970 2015] [mpm_winnt:notice] [pid 5508:tid 420] AH00354: Child: Starting 64 worker threads.
[Sat Oct 17 23:37:15.897800 2015] [mpm_winnt:notice] [pid 7348:tid 552] AH00428: Parent: child process 5508 exited with status 3221225725 -- Restarting.
[Sat Oct 17 23:37:16.428078 2015] [ssl:warn] [pid 7348:tid 552] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 17 23:37:16.449092 2015] [mpm_winnt:notice] [pid 7348:tid 552] AH00455: Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.5.28 configured -- resuming normal operations
[Sat Oct 17 23:37:16.449092 2015] [mpm_winnt:notice] [pid 7348:tid 552] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48
[Sat Oct 17 23:37:16.449092 2015] [core:notice] [pid 7348:tid 552] AH00094: Command line: 'C:\\Bitnami\\WAMPST~1.28-\\apache2\\bin\\httpd.exe -d C:/Bitnami/wampstack-5.5.28-0/apache2 -f C:\\Bitnami\\WAMPST~1.28-\\apache2\\conf\\httpd.conf'
[Sat Oct 17 23:37:16.454095 2015] [mpm_winnt:notice] [pid 7348:tid 552] AH00418: Parent: Created child process 4924
[Sat Oct 17 23:37:17.643402 2015] [ssl:warn] [pid 4924:tid 544] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 17 23:37:17.867550 2015] [ssl:warn] [pid 4924:tid 544] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 17 23:37:17.890566 2015] [mpm_winnt:notice] [pid 4924:tid 544] AH00354: Child: Starting 64 worker threads.

I am unable to accurately pinpoint the relevant error from Apache, but given that I can render 7 rows of the table but not all 51 I would assume that it occurs because of some encoding or length issue. This is running Grav version 0.9.45 and the Notepad theme.

11 years ago

An update: The reason for this, through testing, is because of the length of data in the cells. When I add a row wherein one of the cells contains 320 characters, Apache breaks, but it renders with 318.

11 years ago

That seems to have been the problem, though I'm not quite sure how it manifests on a case-by-case basis. That is to say, table cell-length is a rather odd thing for rendering to have problems with as opposed to, say, long paragraphs.

11 years ago

I think it would show up here because markdown uses Regex for handling complex things like tables, but is not really used in regular paragraphs.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1345 9 years ago
Archive · by Muut Archive, 9 years ago
2 932 9 years ago
Archive · by Muut Archive, 9 years ago
2 4059 9 years ago
Archive · by Muut Archive, 9 years ago
1 2945 9 years ago
Archive · by Muut Archive, 9 years ago
3 1117 9 years ago