Skip to main content

Questions tagged [magento2]

Magento 2 is an eCommerce project facilitating the improvement of Magento Core products. Written in PHP-Zend Framework. Available under both open-source and commercial licenses via Adobe Commerce.

119 votes
23 answers
601k views

how can I enable PHP Extension intl?

I am going to install Magento2 at my local server and it gives me following error notice. I am using XAMPP. When I tried to enable it from php.ini file it throws another error for missing dll: The ...
Yasin Mushtaq's user avatar
129 votes
9 answers
298k views

Uncaught SyntaxError: Unexpected token u in JSON at position 0

Only at the checkout and on individual product pages I am getting the following error in the console log: VM35594:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0 at JSON.parse (&...
Howli's user avatar
  • 12.4k
50 votes
20 answers
296k views

To enable extensions, verify that they are enabled in those .ini files - Vagrant/Ubuntu/Magento 2.0.2

When installing Magento 2.0.2 via composer getting this error: Problem 1 - Installation request for magento/product-enterprise-edition 2.0.2 -> satisfiable by magento/product-enterprise-edition[2....
Verse's user avatar
  • 1,443
7 votes
3 answers
7k views

Blank admin page on Magento 2.3.0 CE in localhost

I have installed Magento 2.3 on my local-machine, installation goes fine. I can access my store at localhost/magento. I tried to access my admin page localhost/magento/admin_pogi but it gives me a ...
user8143979's user avatar
4 votes
4 answers
5k views

Not able to place the order using paypal in magento 2 rest

I am developing an e-commerce mobiloe application using magento 2 rest apis only.This is the flow for making the REST API calls for order placement. 1.Create a cart api -->{{url}}/index.php/rest/...
Muhsin Keloth's user avatar
0 votes
2 answers
3k views

Azure App Service Linux PHP - How to add "--with-freetype-dir=/usr/lib/x86_64-linux-gnu" to "./configure"?

I'm trying to install Magento on Azure Linux App Service (PHP 7.3-apache) and I ran into this error: Image CAPTCHA requires FT fonts support Apparently the libfreetype6-dev despite being installed ...
Bruno Medina's user avatar
23 votes
3 answers
61k views

How to install/enable intl and xsl extensions after installing PHP 7

I installed php7/apache2.4/mysql5.6 via this script, but it turns out that the extensions xsl and intl are missing (need them to run Magento2). I'm using Ubuntu 14.04.
Henry's user avatar
  • 593
12 votes
5 answers
16k views

Installing magento 2 does not deploy the /pub/static/frontend and backend

I'm having this weird error and I did not suceed to find the origin. First of all I would like to say that I succeeded to perform some installation of Magento 2 on a windows os with a xampp server ...
Anselme's user avatar
  • 519
11 votes
3 answers
15k views

How to install a language pack in Magento 2?

I tried to follow the instructions from https://mage2.pro/t/topic/270 and http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-i18n.html#config-cli-subcommands-xlate-example2 ...
Henry's user avatar
  • 593
9 votes
1 answer
17k views

on Change event in select with knockout

I have a problem how to call onchanges knock js to my select option, i already have a function and html, but when i choose the select option, nothing changes <select data-bind="event:{change:...
andiwan halim's user avatar
8 votes
3 answers
9k views

Composer 2, which some of your plugins seem to be incompatible with

I tried to install extension from the magento market place but I got incompatibility error.. Problem 1 magento/composer-root-update-plugin is locked to version 1.0.0 and an update of this package was ...
AmitGroundwork's user avatar
5 votes
1 answer
7k views

Magento REST API - How to determine the API base URL?

I'm running Magento 2.2.5 and was having trouble working out what the URL was for making API requests. For example to GET a list of countries I had seen the following syntax used: /rest/default/V1/...
user982124's user avatar
  • 4,562
2 votes
3 answers
742 views

How to add/Insert Extension in magento 2.0?

I tried to add the external magento-2 extension but I can't add it because I can't find magento-connect in admin side. I think the admin panel doesn't have magento-connect. Do you have any idea about ...
Maulik Patel's user avatar
0 votes
1 answer
966 views

Magento 2 backend MIME type ('text/html') is not executable, and strict MIME

I have a fresh installation with Magento (Apache on os x). Frontend works, but backend is broken: console gives Refused to apply style from '<URL>' because its MIME type ('text/html') is not a ...
Jerry's user avatar
  • 1,089
29 votes
4 answers
60k views

Magento 2 - How to call a custom phtml file in another phtml file, xml layout, static block and cms page?

I am creating a magento 2 theme. I just want to know how can I add .phtml file in xml layout, static block, cms page or in another .phtml file. Thank You.
Milan Chandro's user avatar

15 30 50 per page
1
2 3 4 5
8