openvoips / OV500

OpenSource Freeswitch & Kamailio Billing, rating and Routing Software
http://ov500.openvoips.org
GNU Affero General Public License v3.0
104 stars 54 forks source link

Issue On Login Page After Installation #3

Closed amitiyer closed 4 years ago

amitiyer commented 4 years ago

Hello,

I have used the installation guide and when i try to login i get the below error.

image

openvoips commented 4 years ago

Hello Amit,

Please use below cmd

rm -rf /home/OV500/portal/application/config/database.php

echo "<?php defined('BASEPATH') OR exit('No direct script access allowed'); \$active_group = 'default'; \$query_builder = TRUE; \$db['default'] = array( 'dsn' => 'mysql:host=localhost;dbname=switch', 'hostname' => '', 'username' => 'ovswitch', 'password' => 'ovswitch123', 'database' => '', 'dbdriver' => 'pdo', 'dbprefix' => '', 'pconnect' => TRUE, 'db_debug' => TRUE, 'cache_on' => FALSE, 'cachedir' => '', 'char_set' => 'utf8', 'dbcollat' => 'utf8_general_ci', 'swap_pre' => '', 'encrypt' => FALSE, 'compress' => FALSE, 'stricton' => FALSE, 'failover' => array() ); \$db['cdrdb'] = array( 'dsn' => 'mysql:host=localhost;dbname=switchcdr', 'hostname' => '', 'username' => 'ovswitch', 'password' => 'ovswitch123', 'database' => '', 'dbdriver' => 'pdo', 'dbprefix' => '', 'pconnect' => FALSE, 'db_debug' => FALSE, 'cache_on' => FALSE, 'cachedir' => '', 'char_set' => 'utf8', 'dbcollat' => 'utf8_general_ci', 'swap_pre' => '', 'encrypt' => FALSE, 'compress' => FALSE, 'stricton' => FALSE, 'failover' => array(), 'save_queries' => TRUE );">>/home/OV500/portal/application/config/database.php

Have a nice moment always!

Thanks and Regards, Seema Anand

[image: http://openvoips.com/] http://openvoips.com/ Email: openvoips@gmail.com Skype: simadayal Web: https://ov500.openvoips.org

On Wed, Nov 13, 2019 at 4:05 PM amitiyer notifications@github.com wrote:

Hello,

I have used the installation guide and when i try to login i get the below error.

[image: image] https://user-images.githubusercontent.com/25080311/68755976-6111af80-062f-11ea-8c79-69f79332f995.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openvoips/OV500/issues/3?email_source=notifications&email_token=AM6JLVFOMICYF4IYPQXGGATQTPJ6VA5CNFSM4JMYOAL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HY62D6A, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6JLVGFOY5GWSMPIZX6EXDQTPJ6VANCNFSM4JMYOALQ .

amitiyer commented 4 years ago

Thank you, That Solved the problem.