Note that there are some explanatory texts on larger screens.

plurals
  1. POIOException: Stream closed when having several PHP Portlets in Liferay
    text
    copied!<p>following steps lead to the error:</p> <ol> <li>a liferay page that has e.g 3 PHP Portlets(A, B, C) added</li> <li>portlet A is the first added, B the second ...</li> <li>each PHP Portlet contains a <code>&lt;form&gt;</code> element </li> <li>I pressed on a submit button on any of them</li> </ol> <p>the following error-message shows in the very first line of each except the first(A) PHP Portlet: "Warning: java.io.IOException: Stream closed"</p> <p>The problems are:</p> <ul> <li>the error itself :)</li> <li>the error message is directly added into the portlet-body, without a html element, so I cannot select it with css, like so:</li> </ul> <blockquote> <pre><code>&lt;!-- Pseudo-code: This is Portlet B or C, ids and classes are auto-generated --&gt; &lt;div class="portlet-body" id="321_xy"&gt; Warning: java.io.IOException: Stream closed &lt;form id="123_xy" action="index.php" method="POST"&gt; &lt;input&gt;...&lt;/input&gt; &lt;/form&gt; &lt;/div&gt; </code></pre> </blockquote> <p>here is the actual action attribute of the form(newlines just for readability here):</p> <pre><code>action="http://myhost.com/path/to/portlet/page? p_p_id=My_WAR_Portlet_INSTANCE_rGC6NUwA7DaP &amp;p_p_lifecycle=0 &amp;p_p_state=normal &amp;p_p_mode=view &amp;p_p_col_id=column-3 &amp;p_p_col_count=2 &amp;_My_WAR_Portlet_INSTANCE_rGC6NUwA7DaP_phpURI=index.php" </code></pre> <p>Is it correct so far?</p> <p>I'm using liferay 6.1.1 CE</p> <p>the question is also on the official forum, but unresolved: <a href="http://www.liferay.com/de/web/guest/community/forums/-/message_boards/message/3510437" rel="nofollow">link to liferay-forum</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload