Page 1 of 1

astguiclient/admin.php

PostPosted: Fri Aug 18, 2006 7:47 am
by sharad
Hi
I get this error when try to access admin.php

Could not connect to host

I am using proxy (lan) of my static IP (of server).
shall i use my static IP instead of proxy.
I have given this Proxy in all my configuration of asterisk and vicidialer.
For my softphone I give another static IP .

Where is the problem!

Help me please

PS- output of screen -r

root@asterisk:/# screen -r
There is a screen on:
5776.pts-2.asterisk (Attached)
There is no screen to be resumed.

PostPosted: Fri Aug 18, 2006 8:26 am
by mflorell
did you configure your dbconnect.php for your database server?

PostPosted: Sat Aug 19, 2006 12:06 am
by sharad
hi
what to edit in the dbconnect.php files in the astguiclient, vicidial
and agc directories of my webroot

what changes i have to make in dbconnect.php of all these directories.?

Thanks for help

PostPosted: Sat Aug 19, 2006 6:17 am
by mflorell
you need to configure them all for your database setup (database IP, user, pass) similar to how you configured the AST_SERVER_conf.pl file.

Did you read the entire SCRATCH_INSTALL document?

PostPosted: Sat Aug 19, 2006 6:46 am
by sharad
hi sir,
i get the admin.php page
but it dont give access to my usrname and pwd.
i have change it everywhere as specified in the scratch_install

I try usr cron with pwd rohitg
and i edit these usrname and pwd in all files as in documentation.

PostPosted: Sat Aug 19, 2006 7:16 am
by sharad
hi sir
i got it.

thanks for you help

PostPosted: Sat Aug 19, 2006 7:16 am
by mflorell
Did you run the "GRANT" statements in your MySQL database?

Did you manually INSERT the first record into your vicidial_users table?(6666/1234)

PostPosted: Wed Aug 23, 2006 5:57 am
by D
We did manually insert INSERT the first record into our vicidial_users table (6666/1234).

We have finished all the steps in Scratch Install. Can we run "GRANT" statements in our MySQL database again with affecting the rest of the configuration and directories? I think we got an error the first time we ran the GRANT statements. At least that's what it shows in the config file.

Thanks

PostPosted: Wed Aug 23, 2006 12:41 pm
by mflorell
To get into the astguiclient/admin.php page for the first time you should use the phones table login/pass that you created that has a phones.status of ADMIN.

PostPosted: Wed Aug 23, 2006 2:59 pm
by D
Can we run "GRANT" statements in our MySQL database again without affecting the rest of the configuration and directories? I think we got an error the first time we ran the GRANT statements. At least that's what it shows in the config file.

PostPosted: Wed Aug 23, 2006 3:50 pm
by mflorell
You can run the GRANT statements as often as you like and it shouldn't cause problems.

Did you insert the initial phones table record in subphase 6.1?