Page 1 of 1

Issue with JavaScript Initialization in Mantis after Migration

Posted: 13 Mar 2025, 09:10
by iame
Hello,

I recently migrated my Mantis Bug Tracking system from Machine A to Machine B. After copying the same codebase, I encountered an error on the login.php page, specifically at the following line:


var listprojects = new List('projects-list', projects_list_options);


The error seems to be related to the initialization of the List.js library. I have verified that List.js is properly included in the HTML, and jQuery (version 2.2.4) is also loaded correctly. However, I am still experiencing issues.

Could anyone provide guidance on what might be causing this issue or how to troubleshoot it further? Any help would be greatly appreciated!

Thanks

Image
Image

Re: Issue with JavaScript Initialization in Mantis after Migration

Posted: 16 Mar 2025, 17:46
by dregad
iame wrote: 13 Mar 2025, 09:10 The error seems to be related to the initialization of the List.js library. I have verified that List.js is properly included in the HTML
Indeed. Are you certain that list.js is correctly loaded ? I would expect to see it in the list of scripts under js in your screenshot