Skip to main content
7 votes

Image CAPTCHA requires FT fonts support

For docker users - update for Magento 2.4, for those using official php docker images - I had to use --with-freetype rather than @cgalvaojr answer --with-freetype-dir, like this: FROM php:7.4-fpm ARG ...
John O'Rourke's user avatar
6 votes
Accepted

Cannot create new user account - Magento 2

I had a similar issue and it turned out I'd missed a form key in the Magento_CustomerCustomAttributes module override : Magento_CustomerCustomAttributes/templates/customer/form/register.phtml I'd ...
Frank's user avatar
  • 1,144
5 votes
Accepted

Image CAPTCHA requires FT fonts support

you need to change the php configure script to include --with-freetype-dir=/usr/lib64/ where /usr/lib64 contains the libfreetype.so file. My final configuration so far looks like: ./configure --with-...
user3338098's user avatar
3 votes

Image CAPTCHA requires FT fonts support

I found fix for development environment, because I use Mac OS and the apache php doesn't support these fonts and it's a lot of work to get it working and not mess up my system. open vendor/...
Yoan Arnaudov's user avatar
3 votes
Accepted

Magento2 change to production mode

you can follow below steps go to app/etc/env.php file Set MAGE_MODE' => 'production' Run below commands bin/magento setup:static-content:deploy bin/magento setup:di:compile
Murtuza Zabuawala's user avatar
3 votes
Accepted

ESI processing not enabled error only on Product detail page Varnish and Magento 1.9

Varnish 4 does not support -p esi_syntax=, instead you have to use -p feature= -p feature=+esi_disable_xml_check,+esi_ignore_other_elements esi_disable_xml_check, "Don't check of body looks like XML"...
MagenX's user avatar
  • 3,816
2 votes
Accepted

Compile command not running in staging environment

/var/di is only used in production mode. If it exists it needs to be deleted before you can run bin/magento setup:di:compile. I am assuming your local site is in developer mode and hence does not have ...
Kristof at Fooman's user avatar
2 votes
Accepted

Unable to access Admin Panel 404 error

The issue is just because you may forget to add a slash ( ‘/’) at the end of base url in system configuration settings. /IP ADDRESS/Website/ Please try adding the same and test it again.
SanthoshP's user avatar
  • 386
2 votes

Image CAPTCHA requires FT fonts support

For me (using docker) solves problem with: FROM php:7.2.0-fpm-stretch RUN apt-get update --fix-missing libfreetype6-dev && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-...
cgalvaojr's user avatar
2 votes

Magento 2.3.3 - 502 Bad Gateway - Centos - Nginx

you see this config part: upstream fastcgi_backend { server unix:/run/php-fpm/php-fpm.sock; } this is where your php-fpm is listening. please check your php-fpm config, it must be the same socket ...
MagenX's user avatar
  • 3,816
2 votes

Magento 2.3 - LEMP Localhost - How to configure Nginx for Multi-Website store on Localhost (Centos 7)

for installation please follow the link, Magento 2: How to configure Nginx to use multiple websites with sub-folder you can also check the below link for your problem. Magento 2: How to configure ...
Smita Kagwade's user avatar
2 votes

Magento 2.3 - LEMP Localhost - How to configure Nginx for Multi-Website store on Localhost (Centos 7)

Can you follow below blog they have setup this. https://devdocs.magento.com/guides/v2.4/config-guide/multi-site/ms_nginx.html
ParulThakkar's user avatar
  • 1,147
2 votes

No alive nodes found in your cluster

Did anyone have success fixing this error? I have the same error, indexing via cli is working but the Storefront and Admin have the error "No alive nodes found in your cluster" Update: I ...
Matt R's user avatar
  • 31
1 vote

Magento 2.3.3 + Varnish + Nginx + SSL + CentOS - 302 Too May Redirects

I found a solution to this at Varnish - NGINX serving all resources HTTP instead of HTTPS (Magento 2) Since I had such a hard time finding the solution specifically for my setup I'll copy the answer ...
Casey's user avatar
  • 53
1 vote

Magento 2.4.0 versus 2.3.5 regarding CentOS 6 vs CentOS 7 and the version of Elasticsearch

Magento installation will depend on your php version not on your os as per my understanding wheras magento 2.3.5 does not have support for php 7.4 so it would be better to use php 7.3 as of now which ...
Pramod's user avatar
  • 1,464
1 vote

Magento 2.3 - Unexpected error Exception: Warning: SessionHandler::read()

For me I have solved this problem by deleting the session that is causing the problem (it is indicated in the message Exception: Warning). Identify this problematic php session in the php session ...
akim's user avatar
  • 11
1 vote

Php missing extension for php_intl via composer install

I resolved the issue by removing the PHP via yum remove php and re-install PHP by following the link here: http://devdocs.magento.com/guides/v2.2/install-gde/prereq/php-centos.html I used the ...
mokko211's user avatar
  • 121
1 vote
Accepted

PHP Extension bcmath is missing in PHP Extensions Check

You can solve it with the help of following command sudo yum install php72w-bcmath --disablerepo=epel\*
surbhi agr's user avatar
1 vote
Accepted

Magento 2: wrong url causing css problems

To update the URL to point to the subfolder, you can either modify the base URLs in the database as I assume you can't access the backend. You want to update in the core_config_data table both web/...
Sam's user avatar
  • 1,910
1 vote
Accepted

Database connection error, after CLI install?

Please try: php bin/magento setup:install --base-url="http://example.com/shop/" --db-host="127.0.0.1" --db-name="th_magento" --db-user="th_magento" --db-password="...
Saphal Jha's user avatar
  • 1,873
1 vote

Image CAPTCHA requires FT fonts support

This is almost definitely caused by the underlying system not having FreeType installed (if FreeType is already installed then @user3338098's solution should fix it). If you come across this problem ...
Bathmat's user avatar
  • 111
1 vote

404 on every page, fresh install

Thank you all for the replies and the help! But it turned out to be a pretty simple fix that I just didn't realize. I was installing to the base url example.com/magento2/ but there was no magento2 ...
Joshua Day's user avatar
1 vote
Accepted

Unexplained PHP errror after upgrading to PHP 5.6.27

Check the requirements: http://docs.magento.com/m1/ce/user_guide/magento/system-requirements.html simplexml and DOM are required modules for Magento. http://php.net/manual/en/class.domdocument.php
Phil M's user avatar
  • 748
1 vote

Blank page after installation and admin 404

In your php.ini settings, add/amend the below configuration. That should show you an error that points you in the right direction next time you try to load the page: error_reporting(E_ALL); ini_set('...
Craig's user avatar
  • 2,650
1 vote

Compile command not running in staging environment

You have to delete the directory, not only the files inside var/di. Took me a while to figure that out :-)
schasiepen's user avatar
1 vote

My magento 2 is not working after install japanese locale file

Try letting the folder have read and write permission (i.e.: changing the permission to 777) to var directory, this worked for me for Magento 2.1. Ensure you are using recursive option. chmod -Rf ...
Pranav's user avatar
  • 11
1 vote
Accepted

CentOS search specific text in all files

grep -rnw '/path/to/somewhere/' -e "pattern" -r or -R is recursive -n is line number, and -w stands match the whole word. -l (lower-case L) can be added to just give the file name of matching ...
Aman Alam's user avatar
  • 1,318

Only top scored, non community-wiki answers of a minimum length are eligible