ihsn / nada

National Data Archive (NADA) is an open source data cataloging system that serves as a portal for researchers to browse, search, compare, apply for access, and download relevant census or survey information. It was originally developed to support the establishment of national survey data archives.

Home Page:http://nada.ihsn.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error adding a study

TauM-ops opened this issue · comments

Installed 5.0.5, I get an error when I add new study after selecting DDI file & RDF file and then click submit.
I get an error which says:
This page isn't working.
Server is currently unable to handle this request.
HTTP ERROR 500

Enable the error logging feature in NADA by going to application/config/config.php file and look for the setting 'log_threshold' and set it to 1, save the config file and try uploading the DDI again.

To see the error logs, look inside the 'logs' folder. The logs should have the error details. If you see no logs being created, please make sure the logs folder has both read/write permissions set.

If this does not solve the issue, please provide info about your environment. e.g. Windows or Linux. Apache or IIS?

Thank you. Environment is as follows Linux and Apache.
Yes the Logs now have error details. This is the error that is coming up.

ERROR - 2020-02-27 06:20:31 --> Severity: error --> Exception: Call to undefined function JsonSchema\Uri\json_decode() /var/www/html/vendor/justinrainbow/json schema/src/JsonSchema/Uri/UriRetriever.php 210

This has been resolved by enabling JSON support .