Set Page Title Using 'title' option of htmlWebpackPlugin & Vue-Cli in Vue.config.js

Leave a Comment
We can set page title using vue.config.js file for the VueJS application that has been created using Vue CLI.

Please create vue.config.js file in your project root directory and restart your application using npm run serve command.

module.exports = {
    chainWebpack: (config) => {
            .tap((args) => {
                args[0].title = 'Chikku Fresh';
                return args;

ErrorException : Return value of "Illuminate\Foundation\Console\PackageDiscoverCommand::execute()" should always be of the type int since Symfony 4.4, NULL returned

Leave a Comment
This issue Laravel 6.* installation getting failing because PHP Error Suppress operator (@) is disabled in PHP configuration file using following directive.



xdebug.scream =1;

This scream directive will disable the effects of error suppression operator (@).

So please disable the following directive in your php.ini file.



xdebug.scream =0;

Error : Can't Load URL: The domain of this URL isn't included in the app PHP Facebook OAuth 2 Login

Leave a Comment
Simply upgrade facebook/graph-sdk to 5.7 solves the problem.

    "require" : {
       "facebook/graph-sdk" : "^5.7"

Highcharts Error #22 Map does not support latitude/longitude

Leave a Comment
When you are trying to use custom GeoJSON to draw a map using Highmap, you will get this error "Highcharts Error #22 Map does not support latitude/longitude".

  1. It is because of custom GeoJSON you had is not supported projection format of the HighMap.
  2. Maybe you have not included proj4.js file in your html file.
    <script src=""></script>
  3. Maybe custom GeoJSON doesn't have projection (CRS) related information i.e. hc-transform in it.
            "crs":"+proj=mill +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +R_A +datum=WGS84 +units=m +no_defs"
Please refer following tutorial to create custom GeoJSON from scratch and also using same GeoJSON and draw highmaps. Custom HighMaps GeoJSON World Map Using QGIS

Generate hc-transform using QGIS

Leave a Comment
After re-projection of your map layers, then to know about CRS transformation follow the steps

Step 1: Open Projection Properties Dialog:

Use Ctrl+Shift+P in windows or Cmd+Shift+P on Mac to open Projection properties dialog.

Step 1: Add HC-TRANSFORM in your GeoJSON file:

Now add following hc-transform in your GeoJSON file like in the below image.

        "crs":"+proj=mill +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +R_A +datum=WGS84 +units=m +no_defs"

Feature has invalid geometry. Please fix the geometry or change the Processing setting to the "Ignore invalid input features" option QGIS

Leave a Comment
Settings > Options > Processing > General > Invalid features filtering

Step 1:

Step 2:

HTTP to HTTPS redirect Using htaccess

Leave a Comment
Create .htaccess file in your public_html folder if not exists. Add following conditions in it to redirect from http to https.

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

If Apache version is below 2 use this

RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]