It seems Laravel is trying to use category_posts table (because of the many-to-many relationship). But you don’t have this table, because you’ve created category_post table. Change the name…
Add this code in below within .htaccess file RewriteRule ^(.*)$ index.php?/$1 [L] to RewriteRule ^(.*)$ index.php/$1 [L] based on the example urls your provide.…
Change database password and clear cache sudo mysql -u root -p; ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘password’; GRANT ALL PRIVILEGES ON *.* TO ‘root’@’localhost’;…
sudo nano /etc/apache2/sites-available/000-default.conf <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/website_name_laravel/public ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> Folder Permission chmod -R 777 storage sudo /etc/init.d/apache2 restart…
Hey, Reader Here, I will brief you step by step login with google account in laravel 6 socialite. in laravel 6 socialite provides API…
Laravel is a structure and it is really quick and fast. It is referred to as an improved and better framework. Laravel makes use…
Ajax Autocomplete Search in Laravel 7 Step 1: Install laravel 7 using composer composer create-project –prefer-dist laravel/laravel laravel7search Step 2: Going inside of project…
laravel new laravel_vue cd laravel_vue composer require laravel/ui php artisan ui vue –auth npm install npm run dev
Today, I am going to show you how to create a custom 404 page in laravel 7.First, you need to create a page inside…
Step 1: Setup Laravel 6 We going to setup laravel 6 projects in our machine laravel new laravel Step 2: Install dompdf Package we…
https://www.youtube.com/watch?v=5WHFlzAD2uw&t=613s Prerequisites PHP >= 7.1.3OpenSSL PHP ExtensionPDO PHP ExtensionMbstring PHP ExtensionTokenizer PHP ExtensionXML PHP ExtensionCtype PHP ExtensionJSON PHP Extension Getting started Check all Prerequisites…
Step 1: Install the laravel project using the command line. laravel new laravel_ajax Step 2: open project in code and use vs code terminal.…
Do you want to send mail using SMTP in laravel 6? then I will give your real-time example how to send mail in laravel…