eureka2 / G6K

Generator of calculation simulator (calculator)
MIT License
20 stars 19 forks source link

Account ? #20

Open HamzaDams opened 4 years ago

HamzaDams commented 4 years ago

Hello I have a problem concerning the use of your script it asks me an account but in the documentation it is not written anywhere that it is necessary to use an account www/calcul/login https://prnt.sc/pvxddm

eureka2 commented 4 years ago

Hello,

If G6K asks you to log in, it means that you want to connect to the administration module (calcul/admin).

To login, there is a user after installation whose identifier is 'admin' and the password 'admin1'.

It is up to you to change this password and to create other users.

Thank you for using this software

Best regards

HamzaDams commented 4 years ago

Thank you for your answer but I have another problem when I put the password that shows me an error "Authentication request could not be processed due to a system problem."

eureka2 commented 4 years ago

Which database engine do you use?

In the case of sqlite, do you have a 'g6k.db' file in the "var/data/databases" directory?

HamzaDams commented 4 years ago

i dont have this file

HamzaDams commented 4 years ago

APP_ENV=prod APP_DEBUG=0 APP_LOCALE=en-US APP_UPLOAD_DIRECTORY=%kernel.project_dir%/var/uploads APP_VERSION=No-version-set-parsed-as-1.0.0- APP_SECRET=1666586c4119c598fc8d5f937f8b96e059009ef3 PDFTK_PATH= MAILER_URL=null://localhost DB_ENGINE=mysql DB_NAME=cg-minutes DB_HOST=127.0.0.1 DB_PORT=3306 DB_USER=root DB_PASSWORD=~ DB_VERSION=3.15 DB_PATH=%kernel.project_dir%/var/data/databases/g6k.db DB_CHARSET=UTF8 HTTP_PROXY=~ HTTPS_PROXY=~ PUBLIC_DIR=calcul APP_LANGUAGE=fr

HamzaDams commented 4 years ago

https://prnt.sc/pvzj5b

eureka2 commented 4 years ago

your database engine is mysql !

can you check that the fos_user table exists in the cg-minutes database?

If it does not exist, it is because the installation did not go well!

You can create the table with the script: https://github.com/eureka2/G6K/blob/master/var/data/databases/fos_user.sql

Don't forget to enter the password in the .env file.

HamzaDams commented 4 years ago

`# This file is auto-generated during the composer install APP_ENV=prod APP_DEBUG=0 APP_LOCALE=en-US APP_LANGUAGE=fr APP_UPLOAD_DIRECTORY=%kernel.project_dir%/var/uploads APP_VERSION=No-version-set-parsed-as-1.0.0- APP_SECRET=1666586c4119c598fc8d5f937f8b96e059009ef3 PDFTK_PATH= MAILER_URL=null://localhost

> database configuration

DB_ENGINE=mysql DB_NAME=cg-minutes DB_HOST=127.0.0.1 DB_PORT=3306 DB_USER=root DB_PASSWORD= DB_VERSION=3.15 DB_PATH=%kernel.project_dir%/var/data/databases/g6k.db DB_CHARSET=UTF8

< database configuration

HTTP_PROXY=~ HTTPS_PROXY=~ PUBLIC_DIR=calcul `

HamzaDams commented 4 years ago

It still does not work

HamzaDams commented 4 years ago

When I turn on the debug mode it displays Invalid configuration for path" framework.assets ": You can not use both" version_strategy "and" json_manifest_path "at the same time under" assets ".

HamzaDams commented 4 years ago

if you use webpack ?

HamzaDams commented 4 years ago

Problem is resolved my bad