Question: Bug On Installation

Bug On Installation

Copied the downloaded files to htdocs/pos npm i and composer install is done after I hit localhost/pos/install it redirects me to http://localhost/dashboard/ however; when I hit htt

A

ambn

Asked
Copied the downloaded files to htdocs/pos

npm i and composer install is done

after I hit localhost/pos/install it redirects me to http://localhost/dashboard/

however; when I hit http://localhost/pos/public/install it gives me this error

https://pasteboard.co/WQGo0PJrZx5p.png
https://pasteboard.co/ftbDKq1sMDwU.png
  • A

    ambn

    Answered
    when I go to http://localhost/pos/public/install/checklist it says

    {
    success: false,
    message: "Please check the following server requirement",
    errors: [
    "Imagick PHP extension needs to be loaded!"
    ]
    }

    https://pasteboard.co/ffOt0bqWJfuO.pn

    however I already have image magick

    https://pasteboard.co/fCejqNuq26Nm.png
  • A

    ambn

    Answered
    https://pasteboard.co/27Upl8gbQ4c6.png

    still the same error
  • MS

    Mian Saleem

    Answered
    Hello,

    You need to add virtual host for local installation and set the correct `public` root path. Please don't use public folder to access your site.

    You can google how to add virtual host for your web platform. Laragon is known to be good for Laravel.

    Thank you
  • A

    ambn

    Answered
    php artisan serve
    and I get stuck in this error
    https://pasteboard.co/Ts2J3PhGyvOe.png
  • MS

    Mian Saleem

    Answered
    Hello,

    I can see the connection reset error. Please make sure that you are connected and try again.

    I will check the installer; it should show the error, but I can't see any on your screenshot.

    Thank you
  • A

    ambn

    Answered
    PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=pos", "pos", "pass123", [])

    while migrating
    php artisan migrate:refresh --force --seed
    it is using pass123 by default even though i have set another password in .env file.
    How do I change it

    https://pasteboard.co/Wxm0Z3pu1yQv.png
  • MS

    Mian Saleem

    Answered
    Hello,

    Please double check the username and purchase code for no database error.

    artisan command uses the password from env file. Please make sure that you don't have any other env file and that you have cleared the config `php artisan config:clear`

    Thank you
  • Login to Reply