inoerp / inoERP

inoERP is an OneApp [ Go back-end & Flutter front-end ] based enterprise management system
http://docs.inoerp.com/
Mozilla Public License 2.0
767 stars 675 forks source link

Getting following error after successfull installation #38

Open shelkesantosh opened 8 years ago

shelkesantosh commented 8 years ago

Notice: Undefined property: stdClass::$ar_revenue_schedule_cb in C:\wamp\www\inoerp\extensions\site_info\class_site_info.inc on line 142

radenmasmaksum commented 8 years ago

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.

designerxxx commented 8 years ago

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.

uMoto commented 8 years ago

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.