Questions tagged [localhost]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
27 votes
15 answers
43k views

Magento 2 running so slow on localhost development

I recently started developing on magento2 new extensions or customizations, and my first impression was a nightmare. I have to wait about 20-30s for every change I make? really? I'm talking about ...
Marc Pont's user avatar
  • 1,453
21 votes
3 answers
4k views

Magento2 : How to setup PWA in Localhost?

I want to setup PWA in localhost. I have tried in localhost but at last its giving dynamic staging server URL like below https://magento-venia.local.pwadev:51828/ How can we change it to our ...
Sanjay Jethva's user avatar
19 votes
6 answers
19k views

add to cart not working localhost Only in chrome (Magento 2 fresh install )

I've installed magento 2 fresh on localhost, and trying to add items to cart but didn't work.. when click on add to cart button, button will change into adding and stays there, didn't add to cart ...
Arslantabassum's user avatar
16 votes
6 answers
45k views

Local installation of Magento 2 doest not generate files in the pub/static folder

I've just installed Magento 2 Community Edition with sample data (downloaded from their website and not installed with composer) locally via MAMP. The installation process was succesful, but all files ...
Skovsgaard's user avatar
8 votes
5 answers
33k views

Base URL error when localhost

While configuring magento for the first time. When I try to set my base url to http://localhost it gives me an error.
Mohamed Ahmed Taher Mohamed's user avatar
8 votes
2 answers
3k views

magento Error on mail send

I install Aschroder_SMTPPro but mail not send it gives error Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:...
Jigs Parmar's user avatar
  • 2,438
5 votes
7 answers
22k views

Magento2 installation problem

I try to install Magento2 in My local system but I got PHP Extension intl error
Magento 2's user avatar
  • 3,834
5 votes
5 answers
18k views

Magento 2, website redirecting to localhost

I uploaded my magento 2 website from localhost (xampp) to server. I changed base url in database table but it is still redirecting to same localhost (both section frontend and admin). Is there a ...
Rakesh Kumar's user avatar
5 votes
3 answers
3k views

Magento 2.3.0 - Multi Website Store URL Return 404 error

Workout : 1) Created new folder in Root folder named usa, 2) Copy index.php and .htaccess from root folder and moved to usa folder 3) Created symbolic links to usa folder, usa symbolic links are, ...
zus's user avatar
  • 165
5 votes
3 answers
2k views

How can I test GraphQL of magento 2.3.0 in Wamp Server?

I have installed magento2.3.0 in localhost wamp server, It is working fine. When I'm trying to test GraphQL for PWA studio, I'm getting this error "TypeError: Failed to fetch".
Mankesh's user avatar
  • 91
5 votes
0 answers
754 views

Getting Error "TypeError: Failed to fetch" While running graphql endpoint in ChromeiQL

I am running xampp server in my windows local. I setup magento 2.3.2 with sample data in it. When i try to run graphql in ChromeiQL , it throws error "TypeError: Failed to fetch". I have been using ...
Vaibhav Munjpara's user avatar
4 votes
3 answers
6k views

How do I install Magento 2 on Mac OSX with Laravel Valet?

Question How do I install and setup Magento with sample data to run locally? Background I'm using Laravel Valet to manage my local development on Mac OS Sierra and want to do some work on a Magento ...
Luke's user avatar
  • 165
4 votes
3 answers
15k views

Magento 2: How to send emails from localhost?

I'm working on a module which sends emails from admin panel on some action. I want to test these emails on localhost. How can I configure my Magento 2.1 settings or add SMTP so that sends emails over ...
Ashar Riaz's user avatar
  • 1,035
4 votes
5 answers
3k views

Can anyone share the demo link of Magento 2.3.0 PWA Studio?

I'm not able to install PWA studio in my localhost wamp server. So, I want to test Magento 2.3.0 PWA studio. If anyone knows the demo link of Magento 2.3.0 PWA Studio, Please share the link.
Mankesh's user avatar
  • 91
4 votes
2 answers
2k views

Magento 2 : How to check MEQP2 for My Extension

I've been trying to validate my extension before submit it to Magento Marketplace. I've installed MEQP using composer. $ composer create-project --repository=https://repo.magento.com magento/...
anonymous's user avatar
  • 3,732
4 votes
1 answer
2k views

Setup site on localhost thorough research but not localhost returns 404 Not Found [closed]

These are the steps I took to move a live site to localhost ssh in to live site as root cd to directory of site dump database using mysqldump -u -p db_name > db_name.sql.gz cd one directory up ...
user avatar
3 votes
3 answers
1k views

Magento products are not showing

I download a live site and installed it in localhost. I am using windows and xampp. I can see home page but if I click on a category page then Magento showing "Object not found!" . Can anyone say ...
abu abu's user avatar
  • 744
3 votes
3 answers
1k views

Magento Error after transferring onto a different computer localhost

after importing my magento project to a different localhost, i've received the following error: There has been an error processing your request Item (Mage_Core_Model_Store) with the same id "0" ...
AN11's user avatar
  • 175
3 votes
1 answer
2k views

Site randomly redirecting to localhost

I've to a Magento 1.9.0.1 site running that's started randomly 302 redirecting users to localhost. The site's been running for about 2.5 years now and this issue just started happening yesterday. ...
Mike Levy's user avatar
  • 795
3 votes
0 answers
21 views

Magento 2.3 - After setup Multi-website CSS unknown error - LEMP (Centos 7 - Nginx)

After configure multi website using https://magento.stackexchange.com/a/117930/57334 css not loading. Note: My main website working, multi Website only getting this error.
zus's user avatar
  • 165
3 votes
0 answers
69 views

Fatal Error in Magento Command Line

Trying to do a module check from the command line gets me a Fatal Error. I'm using XAMPP to run Magento 2.3
MCaneda's user avatar
  • 83
3 votes
2 answers
1k views

why my magento 2 localhost setup in very slow?

When i run cli cmds it's take to much time >php bin/magento s:s:d -f frontend/Magento/luma/en_US 2918/2918 ===100% % 10 mins frontend/Solwin/kosmic_child/...
prabhakaran7's user avatar
  • 1,087
3 votes
5 answers
7k views

Magento 2 : Multiple website setup in localhost

I am trying to create multi websites in Magento 2 in local environment with XAMPP on Windows operating system 10. I followed this tutorial : http://devdocs.magento.com/guides/v2.0/config-guide/multi-...
S.Venky's user avatar
  • 105
2 votes
4 answers
3k views

Magento 2: Templates are not working correctly

I'm attempting to create my own module with a custom template however in my browser, I am unable to view the 'hello world' output. Gregt/Hello/block - helloworld.php <?php namespace ...
Greg's user avatar
  • 399
2 votes
9 answers
9k views

Magento on localhost forwarding to live site

I have installed Magento using MAMP for access on a localhost (as to not touch the live site). I have then imported the database to duplicate the live site and have changed the username/password etc ...
user3217495's user avatar
2 votes
7 answers
8k views

Css and Js files are not loading in admin panel and storefront

I have setup Magento 2.2.3 enterprise edition store in my local windows system. Previously, the CSS and JS were loading and the store was appearing fine. But recently the CSS and JS files are not ...
Rajesh Vedhamurthy's user avatar
2 votes
6 answers
5k views

Magento 2 install with baseUrl "http://localhost": Can't add product to the cart in Chrome

Today I've created a vanilla installation of Magento 2: Magento CE 2.0.3 Vagrant Ubuntu 14.04 PHP 7.0.3 MySQL 5.6.28 URL: http://localhost/ Out of the box, when I try to add a product to the cart in ...
Giel Berkers's user avatar
  • 12.2k
2 votes
3 answers
11k views

How to resolve .htaccess not working on localhost? [closed]

I copy all files of my website for to run it on my PC, but when I want to see pages it doesn't work and show me the phpinfo(). I have .htaccess in root and this is the code of it but it doesn't work ...
Elham Gdz's user avatar
  • 605
2 votes
1 answer
3k views

Magento on LocalHost - Links Not Working?

Eugh, i'm honestly banging my ahead against the brick wall with this. I have my Magento site hosted on the localhost so that I can make changes without affecting the live site. Everything works ...
user3217495's user avatar
2 votes
2 answers
73 views

How to work localhost correctly? (Magento 2)

Edited: My problem is: Sometimes I need to run: find . -type f -exec chmod 644 {} \; find . -type d -exec chmod 755 {} \; find ./var -type d -exec chmod 777 {} \; find ./pub/media -type d -exec ...
Pedro Lima's user avatar
2 votes
2 answers
295 views

Magento repository on localhost

I am new to Magento. I have cloned a repository of an existing website on my local machine using Sourcetree. The repository was on Bitbucket. I also have WAMP installed and have imported the database ...
coderatlarge's user avatar
2 votes
2 answers
339 views

Redirecting to different URL's after restoring the site on local

We have a development server to test our code changes before pushing them to live. Recently, we have restored the development server to local (xampp) for testing and also done the necessary changes to ...
Siva's user avatar
  • 1,120
2 votes
2 answers
7k views

How to boost Magento speed on localhost/xampp?

I have checked that Magento is running such slowly on localhost although my php.ini has the requirements to run Magento. However, its low performance and speed lack make my work so much slow and I ...
joaogdesigner's user avatar
2 votes
1 answer
3k views

magento 2: copy production server to localhost

I copied my whole Magento 2.1 root directory to my local computer. Also exported and copied the database.sql to my local computer. Then I setup XAMPP and created a db (with same name as db in ...
Blackpanther0001's user avatar
2 votes
3 answers
1k views

One or more indexers are invalid. Make sure your Magento cron job is running. (winadows LocalHost wampserver)

please help, i am using WAMP server 3 on windows and i have installed Magento 2. but i am getting the following issue. One or more indexers are invalid. Make sure your Magento cron job is running....
Waleed Magdy's user avatar
2 votes
1 answer
194 views

Magento Local (localhost) Installation Customer Login

I have a Magento local installation, but can't log in with customer user account on Chrome browser. Any fix? Registration works well on my localhost though, because I can verify the account from the ...
ONOCHIE's user avatar
  • 31
2 votes
4 answers
2k views

Localhost frontpage - index.php showing "This webpage is not available" - Admin works

Im trying to setup my LIVE Magento repo on localhost (WAMP) and simply can't get the website itself to work. Admin works. Currently I can conclude the following: Requesting: http://127.0.0.1/...
user1231561's user avatar
2 votes
1 answer
2k views

Moving Magento installation from localhost to sub-directory in server root?

The title says it all .. however I'm having a problem. I transferred my installation from localhost to a sub-directory in the server root name test. I edited app/etc/local.xml to include the correct ...
Natsu's user avatar
  • 121
2 votes
0 answers
163 views

Install Magento2 Enterprise on desktop Mac via Docker

I am trying to install a fresh install of Magento2.3.3 enterprise on my local Mac desktop via docker.I am new to docker so maybe i am missing something. I installed composer, and also docker. The ...
Jayreis's user avatar
  • 705
2 votes
1 answer
245 views

Magento 2.2.8 is not working in Xampp

I have installed Magento 2.2.8 in Xampp. After installed and done all the necessary things, I have checked the site in frontend but it seems the CSS is not loaded correctly. Please see the screenshot ...
Siva's user avatar
  • 1,120
2 votes
1 answer
2k views

magento 2 showing wrong version of php

I am new to Magento. I have installed Magento 2.1.10 successfully and now I am trying to install extension to it. I got a free extension from the market place and while installing it, I am finding the ...
ratul keot's user avatar
2 votes
1 answer
808 views

Transferring website from server to localhost using WAMP

I'm trying to transfer live website to me localhost. Steps I did: 1. Made folder in wamp/www 2. Copied FTP files there 3. Imported database 4. Changed core_config_data for unsucure/base url and ...
Karadjordje's user avatar
2 votes
5 answers
896 views

Why local.xml always use <host><![CDATA[localhost]]></host>?

I want to see what database a Magento installation was using. If i observe the file /public_html/app/etc/local.xml Surprisingly, it shows a database that doesn't exist, even my hosting server is ...
user3704920's user avatar
1 vote
2 answers
13k views

How to disable Redis for Magento on Localhost?

I can't turn off Redis within my Magento/Wampserver Installation. I have removed all lines referencing Redis in local.xml and it already shows as disabled in cm_redissessions.xml - But, when I visit ...
user9722's user avatar
  • 413
1 vote
2 answers
2k views

Error Incomplete installation

I'm a beginner and trying to install Magento 2.3.5 on my localhost. I've tried several times but at a point 51% get the following error message: [ERROR] InvalidArgumentException: Wrong file in C:\...
Hseb's user avatar
  • 11
1 vote
2 answers
1k views

Magento on Local Host won't show any image or CSS files?

I am running a copy of Magento on my localhost so that I can make changes without affecting the live site. I have imported a database which was backed up from the 'live' site and have changed the web/...
user3217495's user avatar
1 vote
1 answer
6k views

Warning: Use of undefined constant MCRYPT_RIJNDAEL_256 - assumed 'MCRYPT_RIJNDAEL_256'

I have setup magento 2.2.6 website on local system. PHP Version 7.2.12 installed on the local system. When I have run url on local system then getting error: [2018-12-12 06:51:27] main.CRITICAL: ...
Vinod Kumar's user avatar
  • 2,055
1 vote
2 answers
5k views

Entire database is not exporting from phpmyadmin in Xampp

The database is not exporting completely from phpmyadmin in my local server xampp. Please tell me the way to export the entire database.
user avatar
1 vote
2 answers
2k views

Tips and tricks for fast Magento2 localhost development

Does anyone has some ideas or tips for improving magento2's performance on localhost taking into consideration that you are working without cache and other stuff that helps the loading speed. How ...
Dragos's user avatar
  • 399
1 vote
2 answers
52 views

Magento on live site forwarding to localhost!

i have a problem with the re-setup magento. i download back-up site on Cpanel. and export DB. i want setup to localhost. But it just redirects to the live site. How it works on localhost. I've edited ...
Shadow's user avatar
  • 83