astguiclient/admin.php

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

astguiclient/admin.php

Postby sharad » Fri Aug 18, 2006 7:47 am

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.
sharad
 
Posts: 36
Joined: Fri Jul 21, 2006 7:47 am

Postby mflorell » Fri Aug 18, 2006 8:26 am

did you configure your dbconnect.php for your database server?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby sharad » Sat Aug 19, 2006 12:06 am

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
sharad
 
Posts: 36
Joined: Fri Jul 21, 2006 7:47 am

Postby mflorell » Sat Aug 19, 2006 6:17 am

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?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby sharad » Sat Aug 19, 2006 6:46 am

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.
sharad
 
Posts: 36
Joined: Fri Jul 21, 2006 7:47 am

Postby sharad » Sat Aug 19, 2006 7:16 am

hi sir
i got it.

thanks for you help
sharad
 
Posts: 36
Joined: Fri Jul 21, 2006 7:47 am

Postby mflorell » Sat Aug 19, 2006 7:16 am

Did you run the "GRANT" statements in your MySQL database?

Did you manually INSERT the first record into your vicidial_users table?(6666/1234)
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby D » Wed Aug 23, 2006 5:57 am

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
D
 
Posts: 87
Joined: Mon Jun 19, 2006 11:36 pm

Postby mflorell » Wed Aug 23, 2006 12:41 pm

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.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby D » Wed Aug 23, 2006 2:59 pm

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.
D
 
Posts: 87
Joined: Mon Jun 19, 2006 11:36 pm

Postby mflorell » Wed Aug 23, 2006 3:50 pm

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?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Google [Bot], tantd and 118 guests