Error 500 After Deployed The Application

0

Dear Sirs,

I bought the app Simple Stock Manager yesterday e after I deployed it in my server in DigitalOcean, using ubuntu 22.04, I fill up the fields in Initial Wizard, the server gave me an error 500.
I tried again, same error. Please help me what is wrong? I changed the vhost setting default path from /public_html/ to /public_html/public.
The database connection with MariaDB it ok, the tables and users were created with successful.

Currently url: http://estoque.protestocontagem.com.br

Thank you so much,

Max Malta
Brazil.

Question Resolved For: Simple Stock Manager 0 Votes 2 Answers 188 Views
Asked by Max Malta 3 months ago

0

Answered by Max Malta 3 months ago

Solution: the password saved in .env file need to include double quotes ("").
Example: If you password is secret, edit the file .env and change from: DB_PASSWORD=secret to DB_PASSWORD="secret"
The developer needs to fix this bug.

Hint: if you would like to force redirect http to https, edit file /public/.htaccess:
Include 2 lines after RewriteEngine On and restart the web server.

RewriteCond %{HTTPS}  !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]

0

Answered by Mian Saleem 3 months ago

Thank you for feedback. I will update the installer in next release.

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.