0%

Magento 2 Issue that bother's me

This issue has been bothered my for so damn long. I’ve been seeing the same messages for weeks and it wouldn’t go away after so many trials!


Tell me, what kind of fish that bothers a person the most?

The answer is MCRYPT_BLOWFISH
(Ok, it’s a really really bad joke. I’m losing my sanity.)

The error itself

1
2
3
mcrypt - Notice: Use of undefined constant MCRYPT_BLOWFISH - assumed 'MCRYPT_BLOWFISH'

intl [Fatal error: Class 'IntlDateFormatter' not found]

After done tons of research, again, for weeks there are two possible reasons that I got this error:

  1. I installed mcrypt and intl package in php56, but my php executable is in a different version.
  2. I was using the wrong php package.


I’ve been trying uninstalling and installing php libraries and different version of Magento 2, re-building the libraries from various sources, … blah blah blah, but in the end all the act went to the same end:

seeing this damn BLOWFISH.


I called this Serendipity

One day, for some reasons, I saw a tiny line in the boot log file saying, I couldn’t find the index.html couldn’t find the css and javascript files via port 1025.






Wait …

Wasn’t I using 1028 as my default port?

I opened my long-time-no-see Magento 2 admin panel with the help of a screenshot that I took months ago I first time installed and launched the Magento 2, finally found out that even though the nginx port setting is correct. In the very beginning when I installing Magento 2, I set 1025 as default Store url, and then I configured both Magento 2 and Wordpress on the same nginx file, and change Magento 2 port 1028 and never noticed since. That’s why I could access my Magento 2 store but tried to retrieve CSS and Javascript and images from other port.

OK, I did this to myself…

Enjoy reading? Some donations would motivate me to produce more quality content