DEV Community

[Comment from a deleted post]
 
darwin1501 profile image
darwin1501 • Edited
 
darwin1501 profile image
darwin1501
 
darwin1501 profile image
darwin1501
 
huericnan profile image
Eric Hu

I think the voyager you installed is corrupted, try run php artisan voyager:install again. That should solve your problem.

 
darwin1501 profile image
darwin1501

How do I solve this I tried to install again but I says The [D:\Code_project\php\laravel\laravel-basics\public\storage] link already exists. Do I need to delete this storage?

 
darwin1501 profile image
darwin1501

what folder should I delete?

 
darwin1501 profile image
darwin1501

I tried to install the voyager again after deleting the storage, but still the error exists.

 
huericnan profile image
Eric Hu

Try clear the cached routes:
php artisan route:clear

 
darwin1501 profile image
darwin1501

Thank you, but still I have the same error, Can I continue to the next topic of your blog having this error? Is it possible?, because I want to learn only the basics of laravel.

 
huericnan profile image
Eric Hu

I think you can. If Voyager is not working for you, you can always choose some other admin panels for Laravel apps

 
darwin1501 profile image
darwin1501 • Edited

I think I fixed the the error that I was having for days. Instead of changing the post slug url to blog-post. I changed the Post Model name, and database name posts to blog_post. and I also changed some code on the database migrations "post_tags" inside this php file I changed the post_id to blog_post_id, and I also change the column name post_id to blog_post_id into the database to make it work. Now I can continue to your tutorials, without existing errors. Thank you for providing me some possible solutions. It made me think outside the box to do this solution on my head. Thank you, now I can continue to your next tutorial on the blog.