cancel
Showing results for 
Search instead for 
Did you mean: 

http://localhost/Magento/admin waiting for local host (forever)

http://localhost/Magento/admin waiting for local host (forever)

Hello everyone,

 

I hope somebody can help me with this problem.

 

Yesterday I downloaded xampp V3.2.4 and copied the magento files in the folder C:\xampp\htdocs\Magento.

 

The installation was successful. I created my username and my login password, but I can't get to the login panel, because, after typing http://localhost/Magento/username

in the browser bar, I get no response from localhost... I can only read "waiting for local host".

This lasts forever. After a while I received this message: An error has happened during application run. See exception log for details:

[2020-07-03 09:47:32] main.CRITICAL: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento.core_config_data' doesn't exist, query was: SELECT `main_table`.* FROM `core_config_data` AS `main_table` {"exception":"[object] (Zend_Db_Statement_Exception(code: 42): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento.core_config_data' doesn't exist, query was: SELECT `main_table`.* FROM `core_config_data` AS `main_table` at C:\\xampp\\htdocs\\Magento\\vendor\\magento\\framework\\DB\\Statement\\Pdo\\Mysql.php:110, PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento.core_config_data' doesn't exist at C:\\xampp\\htdocs\\Magento\\vendor\\magento\\framework\\DB\\Statement\\Pdo\\Mysql.php:91)"} []


Can anyone please help me solve the problem?

Thank you for your help

Regards

12 REPLIES 12

Re: http://localhost/Magento/admin waiting for local host (forever)

Hi @giovanniam6f7b 

Please check with database , table 'core_config_data' exist or not.

Upload core_config_data table with your database , which contains all required configuration of Magento2. This is required table.

It may help you to resolve issue.
If issue resolve, please click on 'Kudos'  & Accept as Solution!

Problem solved? Click Accept as Solution!

Re: http://localhost/Magento/admin waiting for local host (forever)

Hi Bhanu,

 

thank you for the quick reply!

How do I do that?  I accessed http://localhost/phpmyadmin and then clicked on database. I can't see any core_config_data.

Re: http://localhost/Magento/admin waiting for local host (forever)

Hi @giovanniam6f7b 

It core_config_data table is missing from database, Magento will not work and show error.
Can you download core_config_data table from other magneto2 database and upload with current database. It will be helpful to you.

Thank you.

Problem solved? Click Accept as Solution!

Re: http://localhost/Magento/admin waiting for local host (forever)

Hello. No, I can't. I do not have any further magento2 table.  Is there any other way to solve this?

Re: http://localhost/Magento/admin waiting for local host (forever)

Hi @giovanniam6f7b ,

 

Other way to solve this issue. Please try this.

 

1. Rename env.php in app/etc/ folder.

2. Try to run the magento setup again and set a fresh database.

 

Hope this helps you.

Problem Solved! Click Kudos & Accept as Solution!

Re: http://localhost/Magento/admin waiting for local host (forever)

No, it doesn't work either.   It's so frustrating...  I tried installing magento again and now, after clicking on install (last step), it is stuck at 0% and no progress...

I am wondering what the hell I have to do to have it installed on my machine.

Re: http://localhost/Magento/admin waiting for local host (forever)

Hi @giovanniam6f7b,

 

This is the step by step guide to install magento on xamp.

https://www.simicart.com/blog/how-to-install-magento-2-localhost/

 

Can you please try all the steps at your end once.

 

Hope this helps you.

Problem Solved! Click kudos & Accept as Solution!

Re: http://localhost/Magento/admin waiting for local host (forever)

Hello @giovanniam6f7b ,

 

Magento's official stance is they do not support Magento 2 natively on Windows (or Mac). They recommend using the Windows' Subsystem for Linux, or a virtual machine solution like Docker or Vagrant.

 

First check with your system requirements

https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements-tech.html

 

Try the following settings before 

Check php.ini file. This is normally under your xampp folder (Example D:\xampp\php)

Search like php_soap.dll;,php_xsl.dll,php_intl.dll each dll extension

removing the first; character, to make it looks like

extension=php_soap.dll

extension=php_xsl.dll

extension=php_intl.dll

Once done restart the Apache server.
And as you again installing Magento then try with command-line installation 

 

using the following command 

 

php bin/magento setup:install --backend-frontname="admin" --session-save="files" 
--db-host="localhost" 
--db-name="Magento" 
--db-user="root" 
--db-password="root" 
--base-url="http://127.0.0.1/Magento/" 
--base-url-secure="https://127.0.0.1/Magento/"
--admin-user="admin"
--admin-password="admin123" 
--admin-email="user@gmail.com" 
--admin-firstname="user" --admin-lastname="user123"


Check for the system log if any errors.

Thank You.

 

 

Re: http://localhost/Magento/admin waiting for local host (forever)

Hello.  I tried following these steps, but it does not work.