[ZBX-22318] Syntax error in JavaScript - jsLoader.php in older browsers Created: 2023 Feb 08  Updated: 2024 Apr 10  Resolved: 2023 Mar 03

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 6.0.12
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Kim Jongkwon Assignee: Dmitrijs Fofanovs
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File debug_console.png     PNG File jsloader.php_30015_6.0.12.png    
Issue Links:
Duplicate
Team: Team A
Sprint: Support backlog

 Description   

Syntax error in 'jsLoader.php' leads to inability to use the UI because jQuery cannot be read.

This issue has been reproducible on

Please see the screenshot for more details.

Web browser released in 2019. May cause screen problems in Zabbix 6.0s if used without internet updates.

SyntaxError: fields are not currently supported
jsLoader.php:30015:8
SyntaxError: expected expression, got '?'
jsLoader.php:4795:40
> ReferenceError: jQuery is not defined
zabbix.php:414:1
> ReferenceError: jQuery is not defined
zabbix.php:415:1
> ReferenceError: jQuery is not defined
zabbix.php:419:2 

 



 Comments   
Comment by Dmitrijs Fofanovs [ 2023 Mar 03 ]

This problem occurs because of out of date browser's JS compiler, which doesn't support newest JS syntaxis. Trying to fix it on our side, will cause a lot other problems with features introduced or upgraded in version 6.0 or newer.

User should update their browser, the problem is not issued in the latest versions of the browser. 

Generated at Tue May 27 20:14:32 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.