entroducing.com
  • Home
  • Coding
  • Trading
  • Troubleshooting
    • Operating System
    • Networking
  • Reviews
  • Travel
  • Quick Snap
  • Thoughts
  • Side Hustle
  • Earn Passive Income/Referral
Website sponsored by LingeriesG
@2023 - All Right Reserved. Entroducing. Sponsored by mm3288
Travel

Get Temporary Driving License in China (Updated 2024)

by Ben January 1, 2024
written by Ben

Sharing my experience on getting temporary driving license or short term driving license for Foreigner in China.

China does not recognize the International Driving Permit or other foreign driver’s licenses. You need to obtain a China Permanent/Temporary Driving License

As of my last check in Dec 2023, there are two types of driving license you can get if you are foreigner:-

  • Long Term Driving License
  • Temporary Driving License
Continue Reading
January 1, 2024 1 comment
0 FacebookTwitterPinterestEmail
CodingHosting

Delete files FAST in Linux

by Ben December 3, 2023
written by Ben

1 of my magento sites built up too many files in var/sessions and deleting through rm will cause it to show the following error:-

Argument list too long.

And stumble upon this post that can delete files fast and it works!

find . -type f -delete
December 3, 2023 0 comment
0 FacebookTwitterPinterestEmail
Hosting

Contabo VPS M Singapore Server Benchmark

by Ben November 26, 2023
written by Ben

Below is the benchmark of Contabo VPS M Singapore Server from YASBS.

You may also interested in the OVH Cloud VPS benchmark which I did previously.

Continue Reading
November 26, 2023 0 comment
0 FacebookTwitterPinterestEmail
Codingmagento

Magento – Get the list of products which customer wanted to be notify when it is back in stock

by Ben August 19, 2023
written by Ben

In Magento 2.4, customer can request to be notified of product which is back in stock. However, to view which product has customer requested to be notified, we need to go to each of the product detail page and view the information under product alert.

Hence, the other way to retrieve the list at one go is to query from the database.

Below is the SQL to extract the list of products and customers who wish to be notified when the products are back in stock.

Continue Reading
August 19, 2023 0 comment
0 FacebookTwitterPinterestEmail
magento

catalog_product index does not exist yet. Make sure everything is reindexed.

by Ben August 12, 2023
written by Ben

For some reason, the catalog_product index could not be indexed through the magento scheduler but you are able to reindex it manually and this causes error in loading the product detail page.

This issue has been occurring ever since I upgraded to Magento 2.4.6 and using Smile Elastic Plugin.

{main} {"exception":"[object] (LogicException(code: 0): catalog_product index does not exist yet. Make sure everything is reindexed. at /vendor/smile/elasticsuite/src/module-elasticsuite-core/Index/IndexOperation.php:118)"} []
[2023-07-27T03:33:09.723085+00:00] main.CRITICAL: LogicException: catalog_product index does not exist yet. Make sure everything is reindexed.

The quick workaround is to manually reindex through the CLI which temporarily solve the issue.

Continue Reading
August 12, 2023 0 comment
0 FacebookTwitterPinterestEmail
magento

Unknown filter type [phonetic] for [phonetic]

by Ben August 5, 2023
written by Ben

If you encounter the following when you reindex with magento, you probably did not install analysis-phonetic and analysis-icu plugins.

Error encounter

{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Unknown filter type [phonetic] for [phonetic]"}],"type":"illegal_argument_exception","reason":"Unknown filter type [phonetic] for [phonetic]"},"status":400}

Resolution

Install the 2 plugins below. If you are using elasticsearch docker, docker bash to your docker and install from there

bin/elasticsearch-plugin install analysis-phonetic
bin/elasticsearch-plugin install analysis-icu
August 5, 2023 0 comment
0 FacebookTwitterPinterestEmail
Codingmagentophp

Common Code Error When Upgrading to PHP 8.1

by Ben July 25, 2023
written by Ben 5 mins read

When I was updating my magento 2.3 to 2.4.x, PHP 8.1 is required, During the upgrade, I encountered the following coding errors which was either deprecated or hit critical error and need to update to.

Hence, I am sharing the following errors and the workaround.

Continue Reading
July 25, 2023 0 comment
0 FacebookTwitterPinterestEmail
Coding

Generate Docker Run Command from Docker Container

by Ben July 11, 2023
written by Ben

Found a way to reverse engineer Docker Container to generate a Docker Run command so that I can safely remove the container and re-run it with some settings.

  1. Get the container id with “docker ps” command
  2. Then use this command to generate the docker run
docker inspect --format "$(curl -s https://gist.githubusercontent.com/efrecon/8ce9c75d518b6eb863f667442d7bc679/raw/run.tpl)" [container-id]

July 11, 2023 0 comment
0 FacebookTwitterPinterestEmail
  • 1
  • 2
  • 3
  • 4
  • …
  • 10

Search

Categories

  • Coding
    • apache
    • cakephp
    • java
    • magento
    • php
    • SQL
    • symfony
    • wordpress
  • Hosting
  • Quick Snap
  • Reviews
  • Side Hustle
  • Thoughts
  • Trading
  • Travel
  • Troubleshooting
    • Networking
    • Operating System

Tags

3.28 angry bird jb angry birds activity park apache beijing cakephp cdata cruise crypto docker elasticsearch element mall fil ftx claim hacked hanshou how-to html data in xml java johor bahru jumper land linux mac magento magento2 malacca malaysia travel move-to-earn passive income php plugin Programming rides side hustle stepn stfil stfil.io struts SyntaxHighlighter theme travel VPS windows 7 wordpress xampp
  • Email

@2023 - All Right Reserved. Entroducing. Sponsored by mm3288