nada icon indicating copy to clipboard operation
nada copied to clipboard

Metadata editor - creation from scratch

Open ceracine opened this issue 2 years ago • 3 comments

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

  • The link "generate DDI" makes an error 500.
  • The link "refresh DDI" creates the error "DDI_NOT_FOUND"
  • The link "export DDI" makes an error 404

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

ceracine avatar Oct 19 '23 09:10 ceracine

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

mah0001 avatar Oct 20 '23 15:10 mah0001

Hi, I'm on the version 5.3

ceracine avatar Oct 20 '23 15:10 ceracine

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:

  • Edit index.php file and change the environment from "production" to "development" on line number 66:
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'production');

To:

define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');
  • In the same file, go to line number 79 and change:
error_reporting(-1);

To:

error_reporting(E_ALL ^ (E_DEPRECATED));
  • Save the file
  • Now try to Generate the DDI and you should see the actual errors instead of the 500 server error.

mah0001 avatar Oct 20 '23 17:10 mah0001