Question: Software installation error

Software installation error

hello sir, I have tried multiple time for installation but the database connection error display the software please check the error. I have attached the file. Thanks

TB

Tushar bhor

Asked
hello sir,
I have tried multiple time for installation but the database connection error display the software please check the error. I have attached the file.



Thanks
  • MS

    Mian Saleem

    Answered
    Hello,

    I am so sorry to listen. It looks like server is not return the database for some reason. Please let me know your purchase code in private reply so that I can check. You can post private reply by enabling the `PRIVATE for Staff only` on top right of the reply section.

    Thank you
  • MS

    Mian Saleem

    Answered
    Oh Looks like you have already installed it but the key has been duplicated. Can you please edit .env file and correct the `APP_KEY` it should be something like

    ```
    APP_KEY=base64:FTGCRWD16sWmubVuKF6iXYYK/I+Uif/r6dradcjCXq0=
    ```
  • TB

    Tushar bhor

    Answered
    **[Mian Saleem](/u/saleem)** APP_KEY=base64:FTGCRWD16sWmubVuKF6iXYYK/QNtURbDDVqU5SuC7UfYoQW3TA=base64:FDAGWDdwl3WIsWCjZRDtkVtORylCJZ8kXBAszZOyGR0=

    here is my api key.
    please check also you want my purchase code
  • MS

    Mian Saleem

    Answered
    Please remove it and add following

    ```
    APP_KEY=base64:FDAGWDdwl3WIsWCjZRDtkVtORylCJZ8kXBAszZOyGR0=
    ```
  • MS

    Mian Saleem

    Answered
    Hello,

    I have fixed the settings and the measurements page. To correct order field, please run the query below after selecting your database

    ```sql
    ALTER TABLE `measurement_fields` CHANGE `order` `order` smallint NULL;
    ```
  • MS

    Mian Saleem

    Answered
    One measure edit is populated the filed other not. Did you added new fields after measurement?

    Adding more field after measure added could cause such behaviour. I will check in next update if I could ignore the latest file for edit measurement.

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    I have updated the item with fixes. You can download and perform update.

    Thank you
  • TB

    Tushar bhor

    Answered
    **[Mian Saleem](/u/saleem)** hello,

    updated Software downloaded but now the problem in logo updation.

    in the Settings tab Settings has been successfully updated message display but actual not update the logo.
    please check the attachment.
  • MS

    Mian Saleem

    Answered
    Hello,

    Could be due to storage link. Please run this command in the tsms folder `php artisan storage:link`

    Lastly, please check `storage/app/public/logos/` folder if the file is uploaded or not?
  • MS

    Mian Saleem

    Answered
    I have checked. The logos are uploaded but due to storage link it's not loading. I have changed the config to upload the logo images directly to public folder. I have tested it by uploading your logo.
  • Login to Reply