1 / 6
Jul 2020

Hello @RalfBecker,

when selecting the application from the selectbox I get this in the error log:

2020/07/29 10:53:52 [error] 8#8: *4043 FastCGI sent in stderr: “
PHP message: Error reading etemplate request data for id=etemplate_asig_6FEBX/MnSex7d/nWWdcIEgL9jRyVHNuIz3HCekvDHBI=!
PHP message: EGroupware\Api\Etemplate\Request::read(‘etemplate_asig_6FEBX/MnSex7d/nWWdcIEgL9jRyVHNuIz3HCekvDHBI=’, …) eT2 request not found / expired --> redirecting app etemplate to /index.php?menuaction=etemplate.editor.edit&redirect=1596020032.1159 (_GET[menuaction]=etemplate.db_tools.edit, isJSONRequest()=FALSE)” while reading response header from upstream, client: 172.19.0.1, server: _, request: “POST /egroupware/etemplate/process_exec.php?menuaction=etemplate.db_tools.edit HTTP/1.1”, upstream: “fastcgi://172.19.0.3:9000”, host: “localhost”, referrer: "http://localhost/egroupware/index.php?menuaction=etemplate.db_tools.edit1"
2020/07/29 10:53:52 [error] 8#8: *4043 FastCGI sent in stderr: “
PHP message: PHP Warning: Use of undefined constant name - assumed ‘name’ (this will throw an Error in a future version of PHP) in /var/www/egroupware/etemplate/inc/class.boetemplate.inc.php(211) : eval()'d code on line 1
PHP message: #1 /var/www/egroupware/etemplate/inc/class.boetemplate.inc.php(211): eval()
PHP message: #2 /var/www/egroupware/etemplate/inc/class.etemplate.inc.php(1449): boetemplate::expand_name(‘window.open(egw…’, 0, 3, 0, 0, Array)
PHP message: #3 /var/www/egroupware/etemplate/inc/class.etemplate.inc.php(1749): etemplate->show_cell(Array, Array, Array, ‘exec’, 0, 3, ‘’, NULL, ‘/0/4A/1’)
PHP message: #4 /var/www/egroupware/etemplate/inc/class.etemplate.inc.php(873): etemplate->show_cell(Array, Array, Array, ‘exec’, 0, 3, ‘all’, NULL, ‘/0/4A’)
PHP message: #5 /var/www/egroupware/etemplate/inc/class.etemplate.inc.php(1504): etemplate->show_grid(Array, Array, Array, ‘exec’, 0, 0, ‘/0’)
PHP message: #6 /var/www/egroupware/etemplate/inc/class.etemplate.inc.php(699): etemplate->show_cell(Array, Array, Array, ‘exec’, 0, 0, ‘’, NULL, ‘/0’)
PHP message: #7 /var/www/egroupware/etemplate/inc/class.etemplate.inc.php(258): etemplate->show(Array, Array, Array, ‘exec’)
PHP message: #8 /var/www/egroupware/etemplate/inc/class.editor.inc.php(547): etemplate->exec(‘etemplate.edito…’, Array, Array, Array, Array, 0, ‘/^cont/’)
PHP message: #9 /var/www/egroupware/index.php(155): editor->edit()
PHP message: #10 {main}
PHP message: # Instance=default, User=asig, Request=GET http://localhost/egroupware/index.php?menuaction=etemplate.editor.edit&redirect=1596020032.1159, User-agent=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0” while reading response header from upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/index.php?menuaction=etemplate.editor.edit&redirect=1596020032.1159 HTTP/1.1”, upstream: “fastcgi://172.19.0.3:9000”, host: “localhost”, referrer: "http://localhost/egroupware/index.php?menuaction=etemplate.d

In the console log I don’t see something strange…
Thanks again and
BR
Alex

Hi Alex,

That explains the behavior.

Question is now, did you leave that open for a long time, and the eTemplate requests simply timed out, or do you have a problem storing eTemplate requests?

Ralf

Hi Ralf,
I just logged out and in again, same issue. How can I check the Problem with the storing of the eTemplate requests. Could it be a file permission issue?
Thank you
Alex

The GET request to db_tools calling etemplate::exec() which creates a new request - to store it’s state - and sends it’s id back to the client:

When the template is submitted later, eTemplate reads the id, and if it does not find a request with that id, it redirects to the apps index page, as a last resort fallback:

Ralf