http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692016-06-09T19:29:16ZTYPO3 ForgeTYPO3 Core - Bug #76567: "Error - reference to main window is not set properly" on NGINX when using deprecated entry point browser.phphttp://forge.typo3.org/issues/76567?journal_id=3066732016-06-09T19:29:16ZMathias Schreibermathias.schreiber@typo3.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>Can you supply an extension that uses the old entrypoints?</p> TYPO3 Core - Bug #76567: "Error - reference to main window is not set properly" on NGINX when using deprecated entry point browser.phphttp://forge.typo3.org/issues/76567?journal_id=3066742016-06-09T19:37:25ZMarkus Blaschke
<ul></ul><p>Would it be possible to recreate the files (eg. with redirect or something like that), mark them as deprecated and push this fix to TYPO3 7 LTS?<br />It's fine to remove them for 8.x but it would be nice to keep some deprecated stuff without configuration workarounds for TYPO3 7.6 :)</p> TYPO3 Core - Bug #76567: "Error - reference to main window is not set properly" on NGINX when using deprecated entry point browser.phphttp://forge.typo3.org/issues/76567?journal_id=3066752016-06-09T19:38:08ZStephan Großberndt
<ul></ul><p>Apparently EXT:flux<br /><a class="external" href="https://github.com/FluidTYPO3/flux/issues/1153">https://github.com/FluidTYPO3/flux/issues/1153</a></p> TYPO3 Core - Bug #76567: "Error - reference to main window is not set properly" on NGINX when using deprecated entry point browser.phphttp://forge.typo3.org/issues/76567?journal_id=3066762016-06-09T19:39:47ZJuan Manuel Vergés Solanasjuanmanuel.vergessolanas@gmail.com
<ul></ul><p>I only know about <a class="external" href="https://github.com/FluidTYPO3/flux">https://github.com/FluidTYPO3/flux</a> but I bet a round of beers there are more in the TER ;)</p> TYPO3 Core - Bug #76567: "Error - reference to main window is not set properly" on NGINX when using deprecated entry point browser.phphttp://forge.typo3.org/issues/76567?journal_id=3066772016-06-09T19:41:38ZStephan Großberndt
<ul><li><strong>Subject</strong> changed from <i>Nginx hell?</i> to <i>"Error - reference to main window is not set properly" on NGINX when using deprecated entry point browser.php</i></li></ul> TYPO3 Core - Bug #76567: "Error - reference to main window is not set properly" on NGINX when using deprecated entry point browser.phphttp://forge.typo3.org/issues/76567?journal_id=3066832016-06-09T21:49:32ZStephan Großberndt
<ul></ul><p><a class="user active user-mention" href="http://forge.typo3.org/users/41063">@Juan Manuel Vergés Solanas</a> Please add a description on how to trigger that problem with an extension</p> TYPO3 Core - Bug #76567: "Error - reference to main window is not set properly" on NGINX when using deprecated entry point browser.phphttp://forge.typo3.org/issues/76567?journal_id=3071142016-06-16T15:18:40ZJuan Manuel Vergés Solanasjuanmanuel.vergessolanas@gmail.com
<ul></ul><p>Hi there, sorry for the late response.</p>
<ul>
<li>Install the extension <a class="external" href="https://github.com/jmverges/nginx_test">https://github.com/jmverges/nginx_test</a> and put the provided typoscript template in your root template; one time in apache and other time in nginx</li>
<li>Put the content element deliver as example: (Tab Nginx)</li>
<li>click on property File</li>
</ul>
<blockquote>
<ul>
<li>A popup is shown in apache</li>
<li>A popup is shown in nginx if you apply the readme.</li>
</ul>
</blockquote>
<ul>
<li>Click on a file from file admin in apache:</li>
</ul>
<blockquote>
<ul>
<li>All is good</li>
</ul>
</blockquote>
<ul>
<li>Click on a file from file admin in nginx:</li>
</ul>
<blockquote>
<ul>
<li>Javascript prompt with error is shown</li>
</ul>
</blockquote> TYPO3 Core - Bug #76567: "Error - reference to main window is not set properly" on NGINX when using deprecated entry point browser.phphttp://forge.typo3.org/issues/76567?journal_id=3071172016-06-16T16:05:16ZClaus Dueclaus@phpmind.net
<ul></ul><p>I've tested every way I know how, using the `nginx_test` extension Juan provided, on apache and nginx with no special URL rewriting on either of those. On both sites the expected `index.php?route=....` URL is opened when I click the "browse for file" icon and regardless of the way I select a file (upload then select, upload first then select in separate operation, select and click "import selection", place file in root folder - all with the same positive result). I managed to break the JS a single time in a new record before saving, but the symptom was that I couldn't clear the file again - I could select and browse for files still. I've done all this while using Charles HTTP proxy to detect if any redirects, permanent or otherwise, were in play (and I did it on a never before visited hostname). All of it checks out.</p>
<p>I'm very sorry to say, Juan, that I just can't reproduce this behavior at all. I've searched every piece of code that loads when the required set of extensions are installed and not a single one of them contains any references to `browser.php` (or the other deprecated endpoints). I've confirmed that indeed, Flux delivers TCA for this field and this TCA is as expected. I include a sample below:</p>
<pre>
array(17) { ["type"]=> string(5) "group" ["transform"]=> NULL ["default"]=> NULL ["size"]=> int(1) ["maxitems"]=> string(1) "1" ["minitems"]=> int(0) ["multiple"]=> bool(false) ["renderMode"]=> NULL ["itemListStyle"]=> NULL ["selectedListStyle"]=> NULL ["renderType"]=> NULL ["disallowed"]=> NULL ["allowed"]=> NULL ["max_size"]=> NULL ["uploadfolder"]=> NULL ["show_thumbs"]=> bool(true) ["internal_type"]=> string(4) "file" }
</pre>
<p>Do you have any idea about or can you track down the reason why this component on your site tries to open `browser.php`?</p> TYPO3 Core - Bug #76567: "Error - reference to main window is not set properly" on NGINX when using deprecated entry point browser.phphttp://forge.typo3.org/issues/76567?journal_id=3071222016-06-16T20:02:27ZJuan Manuel Vergés Solanasjuanmanuel.vergessolanas@gmail.com
<ul></ul><p>Deprecated code is in ext:vidi or ext:media I just saw I have them installed on the system. I will update the test extension.</p> TYPO3 Core - Bug #76567: "Error - reference to main window is not set properly" on NGINX when using deprecated entry point browser.phphttp://forge.typo3.org/issues/76567?journal_id=3071232016-06-16T20:04:50ZJuan Manuel Vergés Solanasjuanmanuel.vergessolanas@gmail.com
<ul></ul><p>I didn't perceive I had ext:media and ext:vidi installed. If I uninstall it flux works again, so deprecated code is not in flux is in ext:media or ext:vidi.</p> TYPO3 Core - Bug #76567: "Error - reference to main window is not set properly" on NGINX when using deprecated entry point browser.phphttp://forge.typo3.org/issues/76567?journal_id=3071252016-06-16T20:36:32ZJuan Manuel Vergés Solanasjuanmanuel.vergessolanas@gmail.com
<ul></ul><p>This chekout needs to be enable so the problem is isolated there: <a class="external" href="http://prntscr.com/bh7zgj">http://prntscr.com/bh7zgj</a></p> TYPO3 Core - Bug #76567: "Error - reference to main window is not set properly" on NGINX when using deprecated entry point browser.phphttp://forge.typo3.org/issues/76567?journal_id=3071442016-06-17T08:04:28ZMorton Jonuschatm.jonuschat@mojocode.de
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Closed</i></li></ul><p>Closing this as the bug is caused by EXT:media. Regarding the NGINX configuration there's already an issue open for that, I've linked these two for reference.</p>