Bagisto Forum

    Bagisto

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

    Error when run bagisto

    Installing Bagisto
    3
    7
    4612
    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.
    • J
      jorgetvcp last edited by

      When I run Bagisto for the first time I get an error:
      "file_put_contents(C:\xampp\htdocs\bagisto\storage\app/db-blade-compiler/views/3ad3cf66a3856b81120bd1be29475b50): failed to open stream: No such file or directory (View: C:\xampp\htdocs\bagisto\packages\Webkul\Shop\src\Resources\views\home\index.blade.php)

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hi,

        Please run following commands -

        composer dump-autoload
        php artisan vendor:publish

        Thanks

        E 1 Reply Last reply Reply Quote 0
        • E
          ehdava @rahul last edited by

          hi @rahul, i have the same issue and then i already did what you write above

          and i got this error

          Impossible to create the root directory "/var/www/html/wkwk/public/vendor/webkul/admin/assets"
          

          can you help me?

          1 Reply Last reply Reply Quote 0
          • R
            rahul last edited by

            Hi @ehdava

            From the project's root directory do following things -

            cd public
            unlink storage
            

            From the project's root directory run the following command:

            php artisan storage:link
            

            Thanks

            E 1 Reply Last reply Reply Quote 0
            • E
              ehdava @rahul last edited by

              hi @rahul,

              symlink(): permission denied
              
              1 Reply Last reply Reply Quote 0
              • R
                rahul last edited by

                Hi @ehdava

                Run this at root of your project.

                chmod 777 -R storage
                chown -R www-data:www-data storage
                

                Thanks

                E 1 Reply Last reply Reply Quote 0
                • E
                  ehdava @rahul last edited by

                  @rahul yup it works, thankyouu

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