ui-icts / redcap-admin-dashboard

Provides a sortable table view of various reports on REDCap metadata
MIT License
2 stars 2 forks source link

Fatal error in v4.0.4: An error occurred while parsing a configuration file #10

Closed tertek closed 2 years ago

tertek commented 2 years ago

After upgrading to 4.0.4 I am getting fatal error whenever I want to manage REDCap enabeled modules:

image

Unfortunately, I cannot upgrade to admin_dash_v4.0.5 because it is not listed in "modules available in the REDCap Repo"

image

This issue is rather critical, because there is no way to fix this without file access. This would be a big problem on our production server and I do not know why REDCap does not ignore invalid config...

uiowajs commented 2 years ago

Hello,

It looks like there may be an extra comma in the config.json. If you have access to edit the file, you could try deleting it. It's recommended to try this on a test REDCap instance first.

{ "name": "Chris Ortman", "email": "redcap@icts.uiowa.edu", "institution": "University of Iowa Institute for Clinical and Translational Science" }, <----- THIS ONE

Otherwise, were you able to get any other Admin Dashboard v4 versions working on REDCap 10? Are you using LTS? It looks like there were updates to the external module framework in 11.1.1. Some of these newer modules may not work on older versions of REDCap.

Please let me know your thoughts.

Thanks

tertek commented 2 years ago

Hey, I had to delete the module via file access. In the meanwhile a solution for this case has been posted in the REDCap community: https://community.projectredcap.org/questions/119851/redcap-fatal-error-caused-by-invalid-external-modu.html