How to Redirect website from http to https

Here is the exact code to redirect website from http to https using .htaccess file. After installing SSL certificate for your website. Please follow the steps mentioned below to Redirect website from http to https using .htaccess file 1 : Login into your site cpanel. 2 : Open File Manager and get into public_html directory (check the option show hidden files 3 : Select .htaccess file and open with code editor. 4 : Copy and Paste the below code in the starting of the 5 : .htaccess file. 5 : Save it and open your site in the new tab and check it, your site will be r... Read more

1071 Specified key was too long error in Laravel

1071 Specified key was too long Laravel 5.4 made a change to the default database character set, and it’s now utf8mb4 which includes support for storing emojis. This only affects new applications and as long as you are running MySQL v5.7.7 and higher you do not need to do anything. For those running MariaDB or older versions of MySQL you may hit this error when trying to run migrations: [Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter tabl e users ... Read more

Gmail configuration setup to send mail in Laravel

Gmail configuration setup  to send mail Many junior laravel developers don’t know what is gmail configuration setup in laravel. If you are working with laravel and you need to setup gmail configuration for sending email in laravel. if you want to set configuration of gmail then first go to mail.php file, you are work on laravel  4 and laravel 5 it’s not issue, because you can set common setting for both version of laravel framework . Mail.php setup gmail configuration     'driver' => smtp,     'host'... Read more

SMTP server doesn't work to send email in laravel

Gmail SMTP server for sending email in Laravel Are you looking for using Gmail SMTP server for sending email in Laravel? Sometimes SMTP server does not work deu to some server settings or configurations problem. To solve this problem now i am going to show you how to send email via SMTP server in laravel. One more benefit of using SMTP server is , you can send email from your local server also. By this way it will helpful for us to test email functionality on local server itself. It is better to know that laravel use Config/mail.php file to store details related to sending emails. Th... Read more

How to solve - you dont have permission to upload files in KCFinder ?

Don’t have permission to upload files in KCFinder I was working on my project and implementing KCEditor and CKFinder (the free one) with image upload, but when i tried to upload image i found error like "you don't have permissions to upload files". So, i though maybe issue for folder permission because i used ubuntu OS. i gave whole ckfinder folder give full permission 777 and also give ckeditor folder too. but same error. At last i found how to solve it. So if you have also fetch this error then you have to open config.php file in conf folder of ckfinder and disable... Read more

LET'S SOCIALITE - passive income

Recent Tweets