Ken Chan
2004-Nov-11 10:28 UTC
[Asterisk-Users] astGUIclient Problem -- http://10.10.10.15/astguiclient/admin.php
Hello, I was trying to install "astGUIclient" following the "SCRATCH INSTALLATION" document. After I finished Step (6.1) -- creating the MySQL "asterisk" database and try to do http://10.10.10.15/astguiclient/admin.php, it failed. The following are the warning or error messages: Any idea where is the problem? My work-around solution is to hard-code the Asterisk IP Address in the "/usr/local/apache2/htdocs/astguiclient/dbconnect.php" file. Thanks Ken ========================================================================================= Warning: mysql_connect(): Access denied for user: 'cron@localhost' (Using password: YES) in /usr/local/apache2/htdocs/astguiclient/dbconnect.php on line 3 Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /usr/local/apache2/htdocs/astguiclient/admin.php on line 41 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/local/apache2/htdocs/astguiclient/admin.php on line 42 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/astguiclient/dbconnect.php:3) in /usr/local/apache2/htdocs/astguiclient/admin.php on line 52 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/astguiclient/dbconnect.php:3) in /usr/local/apache2/htdocs/astguiclient/admin.php on line 53 Invalid Username/Password: ||| |SELECT count(*) from phones where login='' and pass='' and active = 'Y' and status='ADMIN';| ====================================================================================== -- _______________________________________________ Find what you are looking for with the Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
Guido Rebert
2004-Nov-11 10:54 UTC
[Asterisk-Users] astGUIclient Problem --http://10.10.10.15/astguiclient/admin.php
The same happened to me on an old RH9 It?s a permission stuff.. Check mysql permissions for root, cron.. Also check passwords (you can connect to mysql without password). You can edit dbconnect.php to use another user (ex: root) Guido Rebert Network Manager GrupoPyD - +54 11 55554800 -----Mensaje original----- De: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] En nombre de Ken Chan Enviado el: Jueves, 11 de Noviembre de 2004 02:29 p.m. Para: asterisk-users@lists.digium.com Asunto: [Asterisk-Users] astGUIclient Problem --http://10.10.10.15/astguiclient/admin.php Hello, I was trying to install "astGUIclient" following the "SCRATCH INSTALLATION" document. After I finished Step (6.1) -- creating the MySQL "asterisk" database and try to do http://10.10.10.15/astguiclient/admin.php, it failed. The following are the warning or error messages: Any idea where is the problem? My work-around solution is to hard-code the Asterisk IP Address in the "/usr/local/apache2/htdocs/astguiclient/dbconnect.php" file. Thanks Ken ======================================================================================== Warning: mysql_connect(): Access denied for user: 'cron@localhost' (Using password: YES) in /usr/local/apache2/htdocs/astguiclient/dbconnect.php on line 3 Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /usr/local/apache2/htdocs/astguiclient/admin.php on line 41 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/local/apache2/htdocs/astguiclient/admin.php on line 42 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/astguiclient/dbconnect.php:3) in /usr/local/apache2/htdocs/astguiclient/admin.php on line 52 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/astguiclient/dbconnect.php:3) in /usr/local/apache2/htdocs/astguiclient/admin.php on line 53 Invalid Username/Password: ||| |SELECT count(*) from phones where login='' and pass='' and active = 'Y' and status='ADMIN';| ===================================================================================== -- _______________________________________________ Find what you are looking for with the Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp ?SRC=lycos10 _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.788 / Virus Database: 533 - Release Date: 01/11/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.788 / Virus Database: 533 - Release Date: 01/11/2004