Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Undefined variable $__env (View: /var/www/html/public) (View: /var/www/html/resources/themes/velocity/views/home/index.blade.php)

    Installing Bagisto
    4
    12
    2613
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sanjay-webkul
      sanjay-webkul last edited by

      Hi there,
      Is it possible to share the steps which you followed for install the bagisto?

      1 Reply Last reply Reply Quote 0
      • A
        alggan4 last edited by

        Hi.

        In my local machine I have php PHP 7.3.29 (cli) , so I must use sail
        and install using this strange steps 3 and 4

        1.download bagisto-v1.4.5
        2.unzip and copy it to working folder
        3.add to composer.json:
        "require-dev": {
        ...
        "laravel/sail": "^1.0.1",
        ...
        }
        4. copy from other project
        .env
        sail
        docker-compose.yml
        vendor/bin/sail
        vendor/laravel/

        1. run:
          sail up

        2. run:
          sail composer update

        3. sail php artisan bagisto:install

        1 Reply Last reply Reply Quote 0
        • sanjay-webkul
          sanjay-webkul last edited by

          Hi there,
          Can you please try with php 8.1 and composer 2.4

          1 Reply Last reply Reply Quote 0
          • A
            alggan4 last edited by

            I work in docker using sail and there php v 8.1.17 and composer v2.5.5

            1 Reply Last reply Reply Quote 0
            • S
              shaun last edited by

              I'm using Laravel Sail and having the same issue

              1 Reply Last reply Reply Quote 0
              • M
                murilo last edited by

                Hi there,

                currently i'm using PHP 8.2.2 and composer 2.5.2, and having this issue.

                1 Reply Last reply Reply Quote 0
                • sanjay-webkul
                  sanjay-webkul last edited by

                  Hi there,

                  Please follow the below commands for installing the Bagisto. and if still you are getting the same issue then please let me know.

                  1. git clone -b v1.4.5 https://github.com/bagisto/bagisto.git
                  2. cd bagisto
                  3. composer create
                  4. edit the .env file [ configure the app_url, email and database credentials]
                  5. php artisan bagisto:install
                  A 1 Reply Last reply Reply Quote 0
                  • A
                    alggan4 @sanjay-webkul last edited by

                    @sanjay-webkul said in Undefined variable $__env (View: /var/www/html/public) (View: /var/www/html/resources/themes/velocity/views/home/index.blade.php):

                    Hi there,

                    Please follow the below commands for installing the Bagisto. and if still you are getting the same issue then please let me know.

                    1. git clone -b v1.4.5 https://github.com/bagisto/bagisto.git
                    2. cd bagisto
                    3. composer create
                    4. edit the .env file [ configure the app_url, email and database credentials]
                    5. php artisan bagisto:install

                    It's too easy )
                    In local machine I have php v7.3 and can't upgrate it to v8. So I need use sail and docker.
                    Is it possible to install the sail and bagisto? Аnd if so, give please instruction.
                    I think this instruction will help a lot.

                    А few weeks ago I successfully run sail and bagisto.zip (1.4.5), so I know it's possible. But now I can't reproduce those steps, and lost the source code.

                    1 Reply Last reply Reply Quote 0
                    • sanjay-webkul
                      sanjay-webkul last edited by

                      Hi there,
                      Please follow This issue

                      1 Reply Last reply Reply Quote 0
                      • A
                        alggan4 last edited by alggan4

                        Hi
                        I think I get solution for run

                        1. git clone -b v1.4.5 https://github.com/bagisto/bagisto.git

                        2. copy to bagisto folder (from other project): (not use "composer update" command)
                          docker-compose.yml - check must be 8.1 php
                          vendor/bin
                          vendor/laravel
                          vendor/autoload.php
                          .env - check db credentials, be shure that you point to new db (dagisto:install rewrite db in step 6 )

                        3. cd bagisto

                        4. sail up

                        5. sail composer create

                        6. sail php artisan bagisto:install

                        1 Reply Last reply Reply Quote 0
                        • sanjay-webkul
                          sanjay-webkul last edited by

                          Hi there.
                          You can take a reference from Here

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post