gamonoid / issues

0 stars 0 forks source link

Probling logging from network computer #134

Open gamonoid opened 9 years ago

gamonoid commented 9 years ago

Original report by Samuel Williams (Bitbucket: bromeo, GitHub: bromeo).


Please Help I install Icehrm work perfectly on localhost, but when I tried to connect from other computers in same network, its give an error unable to connect localhost/icehrm/apps/login.php: My config.php is:<?php ini_set('error_log', '/tmp/icehrm.log');

define('CLIENT_NAME', 'app'); define('APP_BASE_PATH', 'C:\xampp\htdocs\icehrm/'); define('CLIENT_BASE_PATH', 'C:\xampp\htdocs\icehrm\app/'); define('BASE_URL','http://localhost/icehrm/'); define('CLIENT_BASE_URL','http://localhost/icehrm/app/');

define('APP_DB', 'icehrm'); define('APP_USERNAME', 'root'); define('APP_PASSWORD', '1234'); define('APP_HOST', 'localhost'); define('APP_CON_STR', 'mysql://'.APP_USERNAME.':'.APP_PASSWORD.'@'.APP_HOST.'/'.APP_DB);

//file upload define('FILE_TYPES', 'jpg,png,jpeg'); define('MAX_FILE_SIZE_KB', 10 * 1024); I think the config.php is send the client computer to localhost

gamonoid commented 9 years ago

Original comment by Samuel Williams (Bitbucket: bromeo, GitHub: bromeo).


I,ve done it in the config.php

gamonoid commented 9 years ago

Original comment by Thilina Hasantha (Bitbucket: thilina, GitHub: thilina).


Replace localhost with with the ip of the host machine