yes, I changed it to blog-post of the URL for menu item, and I also changed the URL slug of post from post to blog-post. and when I create new tag, I got an error Route [voyager.posts.store] not defined,
you can check my screenshot below.
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?
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.
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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
yes, I changed it to blog-post of the URL for menu item, and I also changed the URL slug of post from post to blog-post. and when I create new tag, I got an error Route [voyager.posts.store] not defined,
you can check my screenshot below.
my screenshot error
dev-to-uploads.s3.amazonaws.com/i/...
my admin builder dev-to-uploads.s3.amazonaws.com/i/...
my slug url dev-to-uploads.s3.amazonaws.com/i/...
I think the voyager you installed is corrupted, try run php artisan voyager:install again. That should solve your problem.
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?
what folder should I delete?
I tried to install the voyager again after deleting the storage, but still the error exists.
Try clear the cached routes:
php artisan route:clear
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.
I think you can. If Voyager is not working for you, you can always choose some other admin panels for Laravel apps
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.