Code Monkey home page Code Monkey logo

Comments (3)

radenmasmaksum avatar radenmasmaksum commented on May 25, 2024

got this error after succesfully installation

Notice: Use of undefined constant DB_SERVER2 - assumed 'DB_SERVER2' in D:\xampp\htdocs\inoerp\includes\general_class\class_dbc2.inc on line 15

Notice: Use of undefined constant DB_NAME2 - assumed 'DB_NAME2' in D:\xampp\htdocs\inoerp\includes\general_class\class_dbc2.inc on line 15

Notice: Use of undefined constant DB_USER2 - assumed 'DB_USER2' in D:\xampp\htdocs\inoerp\includes\general_class\class_dbc2.inc on line 15

Notice: Use of undefined constant DB_PASS2 - assumed 'DB_PASS2' in D:\xampp\htdocs\inoerp\includes\general_class\class_dbc2.inc on line 15

Warning: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\xampp\htdocs\inoerp\includes\general_class\class_dbc2.inc on line 15
Data Base Connection Error!:
Modify the database settings @ includes/basics/dbsettings.inc file & reload the page
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: No such host is known.

from inoerp.

designerxxx avatar designerxxx commented on May 25, 2024

Getting this error!

Modify the database settings @ includes/basics/dbsettings.inc file & reload the page
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: No such host is known.

from inoerp.

uMoto avatar uMoto commented on May 25, 2024

radenmasmaksum
I had the same issue as you. I believe the DB_SERVER2 is looking for the Demo data but without changing the write permissions it is finding your NEW db that you have created.

The way I resolved it was that I had to uninstall and reinstall - one of the last steps asks you to go to inoerp/includes/basics ... but actually ... inoerp/includes/basics/settings - and change the write permissions for the dbsettings.inc and .htaccess to DENY write.

That should resolve your first issue, the second is possibly related.

from inoerp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.