bireme / proethos2

Other
14 stars 33 forks source link

Internal server error undefined index en: #550

Closed pmacharia closed 2 years ago

pmacharia commented 2 years ago

Hello,

I just succeeded installing proethos2. I get this error when I click on the protocol tab, please see below;

at ErrorHandler ->handleError ('8', 'Undefined index: en', '/project/proethos2/git/symphony/src/Proethos2/CoreBundle/Controller/CRUDController.php', '376', array('output' => array(), 'request' => object(Request), 'session' => object(Session), 'translator' => object(DataCollectorTranslator), 'em' => object(EntityManager), 'locale' => 'en', 'user' => object(User), 'protocol_repository' => object(EntityRepository), 'trans_repository' => object(TranslationRepository), 'configuration_repository' => object(EntityRepository), 'protocol_checklist' => object(Configuration), 'translations' => array())) in src/Proethos2/CoreBundle/Controller/CRUDController.php at line 376

What could be the problem. Thank you for your help.

Paul

pmacharia commented 2 years ago

Proethos2 Error this is the error message

wilsonmoura commented 2 years ago

@pmacharia the commands make test and make runserver are not required and can be ignored.

After finishing the command composer install, please make the following settings:

  1. If you are not using the HTTPS protocol, setting the cookie_secure variable to false in the symphony/app/config/config.yml file (after this fix, run the sudo make update command inside the symphony directory):

  2. Add a hostname alias to IP number in /etc/hosts like this:

    127.0.0.1           localhost
    127.0.0.1           proethos-env