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.
http://nada.ihsn.org
MIT License
38 stars 10 forks source link

Metadata editor - creation from scratch #94

Open ceracine opened 10 months ago

ceracine commented 10 months ago

Hi,

When you add microdata from scratch through the web inteface, the xml file doesn't seem to be created.

The study is visible on the repository, but all the functionalities link to the DDI aren't working.

Administration side Survey options menu

When I try to upload a thumbnail, the error IDNO-NOT-FOUND occurs, even if an ID is set on the page (Reference No). image

Moreover, when I go back to the Metadata tab and I modify some information, I can't save my modification. The button "save" doesn't react.

Public side The export of the DDI makes an error 500 image

Thank you

mah0001 commented 10 months ago

@ceracine - Can you please provide information on the version of NADA you are using?

ceracine commented 10 months ago

Hi, I'm on the version 5.3

mah0001 commented 10 months ago

I have tested a fresh installation of 5.3 and I cannot regenerate the errors you are running into. Can you please try these and share the details:

To find out what is causing the 500 server error, you need to enable "development" mode so you can see the actual error:

define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'production');

To:

define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');
error_reporting(-1);

To:

error_reporting(E_ALL ^ (E_DEPRECATED));