Closed brickratrsa closed 5 years ago
Probably there is some error in database connection. please check /etc/ictcore.conf for db section
I have followed the guide online and edited the following files /usr/ictcore/etc/ictcore.conf & /usr/ictcore/etc/odbc.ini with the details I used in creating the database.
Here is a example of the files and the database creation:
CREATE DATABASE ictdialer;
USE ictdialer;
GRANT ALL PRIVILEGES ON ictdialer. *TO ictdialeruser@localhost IDENTIFIED BY 'MYPassword';
FLUSH PRIVILEGES;
[db] host = localhost port = 3306 user = ictdialeruser pass = MYPassword name = ictdialer type = mysql
[ictcore] driver = MySQL Database = ictdialer Server = localhost
User = ictdialeruser Password = MYPassword
please can you tell me where my issue is?
In case you are using ICTCore with ICTDialer then please check console log from your browser's developer tools. and also apache log from server. and let us know the error
here is the httpd error log
[Fri Jun 01 12:40:07.038787 2018] [:error] [pid 493] [client 192.168.250.169:61079] PHP Fatal error: Uncaught exception 'Exception' with message 'Bad configuration file: /etc/ictcore.conf' in /usr/ictcore/core/lib/Conf/File.php:32\nStack trace:\n#0 /usr/ictcore/core/lib/init.php(38): ICT\Core\Conf\File::load('/etc/ictcore.co...')\n#1 /usr/ictcore/core/Core.php(16): require_once('/usr/ictcore/co...')\n#2 /usr/ictcore/wwwroot/index.php(18): include_once('/usr/ictcore/co...')\n#3 {main}\n thrown in /usr/ictcore/core/lib/Conf/File.php on line 32, referer: http://192.168.253.15/ictdialer/
Browser console:
polyfills.bd146a1d79d1888b031b.bundle.js:1 POST http://192.168.253.15/api/authenticate 500 (Internal Server Error)
Thanks for your input.
It seems your configurations file /etc/ictcore.conf is not in proper format, it must be ini format. In case you have added some additional line please try after removing them. also try remove special characters from database passwords.
Hi
I did not change format or add any lines. I just changed dbname, dbusername and dbpassword
On Sat, 02 Jun 2018 at 09:37, tahiralmas notifications@github.com wrote:
Thanks for your input.
It seems your configurations file /etc/ictcore.conf is not in proper format, it must be ini format. In case you have added some additional line please try after removing them. also try remove special characters from database passwords.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ictinnovations/ictcore/issues/5#issuecomment-394066696, or mute the thread https://github.com/notifications/unsubscribe-auth/ATSuv3v5onBZ_kmQoefy26XdbVhPHUnPks5t4kCagaJpZM4UTX1K .
-- Regards Juan Kilian 081 5272786
I followed the install guide, get to login screen but the default username and password it does not accept.