PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

Uploading Assets

Solved
nick1

Jul 29th, 2020 09:09 AM

Trying to use the admin features to change logo, avatar etc. All updates that include a file upload seem to fail (500 error) whereas just editing a field value seems to be okay. Is there an upload folder that needs specifying? Also the admin icons in the left hand menu are not showing and are replaced with random letters and symbols.Annotation 2020-07-29 100815.jpg Thanks

bobbyiliev

Jul 29th, 2020 05:54 PM

Hi there,

Regarding the 500 error, what I could suggest is enabling debug mode in the .env file to see the actual error.

It could be due to a missing symlink for the storage folder, to check that list the contents of the public folder:

ls -lah /path/to/your/project/public

If you don't see the storage symlink there, run the following command:

php artisan storage:link

Regarding the icons, that is quite strange, have you tried clearing your browsers cache? Also do you see any errors in your web console? It looks like that the voyager icons are not being loaded.

nick1

Jul 29th, 2020 06:14 PM

Best Answer

Thanks for the reply Bobby. I'm a bit of a newbie here. Turning debug mode on showed that FileInfo wasn't available within PHP, switched it on and worked straight away and brought through the voyager icons.

bobbyiliev

Jul 29th, 2020 06:47 PM

Hi there Nick,

No problem at all. Happy to hear that it’s all working now!