Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

No such host is known.

Muhammad Shahid   ( User )

Commented 1 year ago

Hi Folks, while trying to install Receivables & Payables on version 3.0.11 throws below error..

The command C:/xampp/php/php.exe artisan module:install receivables-payables 1 failed.

Exit Code: 1(General error)

Working directory: C:\xampp\htdocs\akaunting

Output:
================

In Connection.php line 760:

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for localhost
failed: No such host is known. (SQL: select * from `gfp_modules` where `gf
p_modules`.`company_id` = 1 and `alias` = receivables-payables and `gfp_mod
ules`.`deleted_at` is null limit 1)


In Connector.php line 70:

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for localhost
failed: No such host is known.


In Connector.php line 70:

PDO::__construct(): php_network_getaddresses: getaddrinfo for localhost fai
led: No such host is known.

Can anyone hint a clue to rectify this please?

Ahmet Kurucan   ( User )

Commented 1 year ago

It seems to be related with your local installation but I was able to find the following article in the documentation:

https://akaunting.com/docs/faq/not-able-to-install-apps

Please login or register to leave a response.

Showing 1 to 2 of 2 discussions