Issue with JavaScript Initialization in Mantis after Migration

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
iame
Posts: 19
Joined: 01 Sep 2023, 02:00

Issue with JavaScript Initialization in Mantis after Migration

Post 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
Attachments
error2.jpg
error2.jpg (156.88 KiB) Viewed 8631 times
error1.jpg
error1.jpg (96 KiB) Viewed 8631 times
dregad
Developer
Posts: 94
Joined: 26 Jul 2010, 14:24

Re: Issue with JavaScript Initialization in Mantis after Migration

Post 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
Post Reply