Recent Topics

Broken Image & Logo in Bagisto with causes and solutions?



  • Hi,

    Causes of broken image & logo.

    1. You have not run 'php artisan storage:link' command at root of project.
    2. Given wrong APP_URL in .env file.
    3. Renamed root of project after running 'php artisan storage:link' command.

    Solutions

    1. Run 'php artisan storage:link' command at root of project.

    2. Give right APP_URL in .env file
      Your APP_URL should be up to public ( APP_URL=http://localhost/bagisto/public )
      If you are running your project using 'php artisan serve' then it will '127.0.0.1:8000' or 'localhost:8000'.

    3. Remove existing symlink.
      From the project's root directory

      cd public
      unlink storage
      

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

        php artisan storage:link
      

    Please follow the same sequence.

    Thanks


Log in to reply