formcreator icon indicating copy to clipboard operation
formcreator copied to clipboard

Problem loading calls

Open Cainho opened this issue 1 year ago • 11 comments

Describe the bug After the last plugin update, I started having problems loading user tickets. It only takes one screen loading and never completes, as shown in the image below. image

GLPI / Plugins (please complete the following information):

  • GLPI version: 10.0.6
  • Formcreator version: 2.13.7
  • list of all plugins with their version (available in GLPI > Setup > General > tab System > bottom of the page)
  • GLPI Modifitactions has been removed. image

Desktop (please complete the following information):

  • OS: Windows 10/11
  • Browser Firefox/Chrome/Edge

Cainho avatar Aug 30 '23 13:08 Cainho

Hi

Open browser's developer tools, reproduce then inspect JS console and http requests.

Check also glpi's pho-errors.log and sql-errors.log.

Report here what you found, and only what is relevant to the issue.

btry avatar Aug 30 '23 14:08 btry

Upon inspection I found the following errors displayed: Uncaught ReferenceError: GLPIDashboard is not defined <anonymous> https://mysite.com.br/marketplace/formcreator/front/issue.php:1309 u https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:25 c https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:25 setTimeout handler*e</</Deferred/then/o/< https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:25 l https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:25 fireWith https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:25 fire https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:25 l https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:25 fireWith https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:25 ready https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:25 U https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:25 e https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:25 e https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:14 e https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:14 n https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:225 <anonymous> https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:257 <anonymous> https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:257 <anonymous> https://mysite.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:257

error.log: [Wed Aug 30 06:50:02.600093 2023] [php7:notice] [pid 223057] [client 10.0.0.254:20174] PHP Notice: Undefined index: use_filter_assign_group in /var/www/html/glpi/marketplace/escalade/setup.php on line 142, referer: https://mysite.com.br/marketplace/formcreator/front/formdisplay.php?id=3 [Wed Aug 30 06:50:02.715284 2023] [php7:notice] [pid 223057] [client 10.0.0.254:20174] PHP Notice: Undefined index: use_filter_assign_group in /var/www/html/glpi/marketplace/escalade/setup.php on line 142, referer: https://mysite.com.br/marketplace/formcreator/front/formdisplay.php?id=3 [Wed Aug 30 06:50:02.786348 2023] [php7:notice] [pid 218311] [client 10.0.0.254:20183] PHP Notice: Undefined index: use_filter_assign_group in /var/www/html/glpi/marketplace/escalade/setup.php on line 142, referer: https://mysite.com.br/marketplace/formcreator/front/formdisplay.php?id=3 [Wed Aug 30 06:50:02.889898 2023] [php7:notice] [pid 215778] [client 10.0.0.254:47300] PHP Notice: Undefined index: use_filter_assign_group in /var/www/html/glpi/marketplace/escalade/setup.php on line 142, referer: https://mysite.com.br/marketplace/formcreator/front/formdisplay.php?id=3 [Wed Aug 30 06:50:02.974559 2023] [php7:notice] [pid 223057] [client 10.0.0.254:20174] PHP Notice: Undefined index: use_filter_assign_group in /var/www/html/glpi/marketplace/escalade/setup.php on line 142, referer: https://mysite.com.br/marketplace/formcreator/front/formdisplay.php?id=3 [Wed Aug 30 06:50:03.782623 2023] [php7:notice] [pid 223057] [client 10.0.0.254:20174] PHP Notice: Undefined index: use_filter_assign_group in /var/www/html/glpi/marketplace/escalade/setup.php on line 142, referer: https://mysite.com.br/marketplace/formcreator/front/formdisplay.php?id=3 [Wed Aug 30 06:50:03.907318 2023] [php7:notice] [pid 215778] [client 10.0.0.254:47300] PHP Notice: Undefined index: use_filter_assign_group in /var/www/html/glpi/marketplace/escalade/setup.php on line 142, referer: https://mysite.com.br/marketplace/formcreator/front/formdisplay.php?id=3 [Wed Aug 30 06:50:06.782939 2023] [php7:notice] [pid 215778] [client 10.0.0.254:47300] PHP Notice: Undefined index: use_filter_assign_group in /var/www/html/glpi/marketplace/escalade/setup.php on line 142, referer: https://mysite.com.br/marketplace/formcreator/front/formdisplay.php?id=3

I didn't find any more logs.

Cainho avatar Aug 30 '23 14:08 Cainho

The log is spammed by a small problem in escalade plugin. You should report it.

Try to disable all plugins, except Formcreator and see if the problem persists, then check if php-errors.log and sql-errors.log contain something useful.

btry avatar Aug 30 '23 14:08 btry

GLPI version: 10.0.6

You need to update your GLPI to the latest version of GLPI (10.0.9)

stonebuzz avatar Aug 30 '23 14:08 stonebuzz

Debug only with active formcreator: <anonymous> https://suporte.grupomaricondi.com.br/marketplace/formcreator/front/issue.php:1201 u https://suporte.grupomaricondi.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:25 c https://suporte.grupomaricondi.com.br/public/lib/base.min.js?v=da99328487098c37675464865a7f65db468a5726:25

Error.log still shows the error actually on escalade even inactive. [Wed Aug 30 13:07:56.525587 2023] [php7:notice] [pid 231981] [client 10.0.0.254:52337] PHP Notice: Undefined index: use_filter_assign_group in /var/www/html/glpi/marketplace/escalade/setup.php on line 142, referer: https://suporte.grupomaricondi.com.br/front/marketplace.php

I will test to update the GLPI version.

Cainho avatar Aug 30 '23 16:08 Cainho

Hi !

do you have find solution for this problem ?

ju-derijke avatar Aug 31 '23 15:08 ju-derijke

Hi

Not yet.

Is it possible to completely remove the escalade plugin from marketplace or plugins folder to see if it's php warning is the cause of the bug ?

btry avatar Aug 31 '23 15:08 btry

i have a similary problem and i have disable the escalade plugin but doesnt work. if i disable the formcreator plugin i do not have the issu

ju-derijke avatar Aug 31 '23 15:08 ju-derijke

@Cainho do you have find solution ?

ju-derijke avatar Sep 04 '23 13:09 ju-derijke

in debug mode i have this msg

image

ju-derijke avatar Sep 04 '23 13:09 ju-derijke

Hi

in debug mode i have this msg

Upgrade GLPI to the latest stable version. The red message should disappear. Next, tell if the initial problem persists.

btry avatar Oct 03 '23 07:10 btry