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

Data Deposit Page not loading

NickNck opened this issue · comments

The data deposit page in site administration is not loading. I am getting the error HTTP ERROR 500

@NickNck - Data deposit is not installed by default with NADA. Please follow these steps to install the database tables and enable data deposit:

  • Run the SQL from the file install/schema.dd.mysql.sql on your NADA database to create data deposit tables
  • To enable data deposit, edit the configuration file application/config/datadeposit.php.
  • Change the setting enable_datadeposit to TRUE:
  $config['datadeposit']['enable_datadeposit'] = TRUE; ```
  • Save the file.
  • Open web browser and navigate to /index.php/datadeposit.

Here is a link to the documentation - https://ihsn.github.io/nada-documentation/admin-guide/web-ui/data-deposit.html

If you still get 500 errors after installation, try this to see the actual error message:

  • edit 'index.php' file and on line number 66, change the environment to development' from production`:
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');
  • Make sure to change the value back to production once you have resolved the issue.