Greetings from NF:
If possible (or impossible) could you suggest solutions to the following problem:
Can not login to manage db but is possible to 'direct connect to db.
When attemting to login the system just reloads login page repeatedly.
Have tried several variations for demo info in the cfg file but no go.
Thank you for any assisstance you care to offer.
George Frampton
PS
I've changed the IP address to 0's and the actual domain name reported by the debug report to domain.com to protect the names of the innocent:.)
I used the domian name - the .com for the name of the db. It appearrs to work fine when accessed via 'direct connect'
===========================================================================================
Debug report for 'username/password' enabled below
===========================================================================================
Content-type: text/html
CGI ERROR
==========================================
Error Message : debug
Script Location : mysql.cgi
Perl Version : 5.00404
Configuration
-------------------------------------------
db_host_cookie_name : mysqlman_host
db_pass_cookie_name : mysqlman_password
db_user_cookie_name : mysqlman_username
debug : 1
default_sort : 0
demo_db :
demo_host :
demo_mode : 0
demo_pass :
demo_user :
direct_connect : 0
direct_db : test
direct_host : localhost
direct_pass : test
direct_port :
direct_user : domain
dump_in_pages : 0
dump_page_length : 1000
home_url : www.domain.com
insert_null : 1
insert_origin : insert
page_length : 20
script_url : mysql.cgi
show_null : 1
template_dir : templates
url_cookie_name : mysqlman_url
Cookies
-------------------------------------------
mysqlman_username :
mysqlman_password :
mysqlman_host :
mysqlman_url : http://www.domain.com/cgi-bin/mysqlman/mysql.cgi
Form Variables
-------------------------------------------
data_source :
do :
init_login : 1
Environment Variables
-------------------------------------------
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /www/domain
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*
HTTP_ACCEPT_LANGUAGE: en-ca
HTTP_CONNECTION : keep-alive
HTTP_COOKIE : mysqlman_url=http://www.domain.com/cgi-bin/mysqlman/mysql.cgi; orderid=106673407; mysqlman_host; mysqlman_username; mysqlman_password
HTTP_HOST : www.domain.com
HTTP_REFERER : http://www.domain.com/cgi-bin/mysqlman/mysql.cgi
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
HTTP_VIA : 1.1 TurboCharge_3
HTTP_X_FORWARDED_FOR: 000.000.0.000
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING : do=&data_source=&init_login=1
REMOTE_ADDR : 000.000.00.0
REMOTE_HOST : user.domain.com
REMOTE_PORT : 7127
REQUEST_METHOD : GET
SCRIPT_FILENAME : /www/domain/cgi-bin/mysqlman/mysql.cgi
SCRIPT_NAME : /cgi-bin/mysqlman/mysql.cgi
SERVER_ADMIN : webmaster@domain.com
SERVER_NAME : www.domain.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.4 (Unix) FrontPage/4.0.4.3 PHP/3.0.14
Stack Trace
-------------------------------------------
(main::cgierr) called from (mysql.cgi) line (2518)
(main::sqlerr) called from (mysql.cgi) line (2451)
(main::connect_db) called from (mysql.cgi) line (122)
(main::show_dbs) called from (mysql.cgi) line (81)
(main::main) called from (mysql.cgi) line (57)
((eval)) called from (mysql.cgi) line (57)
===========================================================================================
Debug report for 'direct connect'error below
===========================================================================================
Content-type: text/html
CGI ERROR
==========================================
Error Message : debug
Script Location : mysql.cgi
Perl Version : 5.00404
Configuration
-------------------------------------------
db_host_cookie_name : mysqlman_host
db_pass_cookie_name : mysqlman_password
db_user_cookie_name : mysqlman_username
debug : 1
default_sort : 0
demo_db :
demo_host :
demo_mode : 0
demo_pass :
demo_user :
direct_connect : 1
direct_db : domain
direct_host : localhost
direct_pass : test
direct_port :
direct_user : domain
dump_in_pages : 0
dump_page_length : 1000
home_url : domain.com
insert_null : 1
insert_origin : insert
page_length : 20
script_url : mysql.cgi
show_null : 1
template_dir : templates
url_cookie_name : mysqlman_url
Cookies
-------------------------------------------
mysqlman_username :
mysqlman_password :
mysqlman_host :
mysqlman_url : http://www.domain.com/cgi-bin/mysqlman/mysql.cgi
Form Variables
-------------------------------------------
Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /www/domain
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : keep-alive
HTTP_COOKIE : mysqlman_url=http://www.domain.com/cgi-bin/mysqlman/mysql.cgi
HTTP_HOST : www.domain.com
HTTP_PRAGMA : no-cache
HTTP_REFERER : [unknown origin]
HTTP_USER_AGENT : Mozilla/4.73 [en] (Win98; U)
HTTP_VIA : 1.0 TurboCharge_3
HTTP_X_FORWARDED_FOR: 142.163.7.163
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING :
REMOTE_ADDR : 000.000.00.0
REMOTE_HOST : user.domain.com
REMOTE_PORT : 8691
REQUEST_METHOD : GET
SCRIPT_FILENAME : /www/domain/cgi-bin/mysqlman/mysql.cgi
SCRIPT_NAME : /cgi-bin/mysqlman/mysql.cgi
SERVER_ADMIN : webmaster@domain.com
SERVER_NAME : www.domain.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.3.4 (Unix) FrontPage/4.0.4.3 PHP/3.0.14
Stack Trace
-------------------------------------------
(main::cgierr) called from (mysql.cgi) line (105)
(main::main) called from (mysql.cgi) line (57)
((eval)) called from (mysql.cgi) line (57)
If possible (or impossible) could you suggest solutions to the following problem:
Can not login to manage db but is possible to 'direct connect to db.
When attemting to login the system just reloads login page repeatedly.
Have tried several variations for demo info in the cfg file but no go.
Thank you for any assisstance you care to offer.
George Frampton
PS
I've changed the IP address to 0's and the actual domain name reported by the debug report to domain.com to protect the names of the innocent:.)
I used the domian name - the .com for the name of the db. It appearrs to work fine when accessed via 'direct connect'
===========================================================================================
Debug report for 'username/password' enabled below
===========================================================================================
Content-type: text/html
CGI ERROR
==========================================
Error Message : debug
Script Location : mysql.cgi
Perl Version : 5.00404
Configuration
-------------------------------------------
db_host_cookie_name : mysqlman_host
db_pass_cookie_name : mysqlman_password
db_user_cookie_name : mysqlman_username
debug : 1
default_sort : 0
demo_db :
demo_host :
demo_mode : 0
demo_pass :
demo_user :
direct_connect : 0
direct_db : test
direct_host : localhost
direct_pass : test
direct_port :
direct_user : domain
dump_in_pages : 0
dump_page_length : 1000
home_url : www.domain.com
insert_null : 1
insert_origin : insert
page_length : 20
script_url : mysql.cgi
show_null : 1
template_dir : templates
url_cookie_name : mysqlman_url
Cookies
-------------------------------------------
mysqlman_username :
mysqlman_password :
mysqlman_host :
mysqlman_url : http://www.domain.com/cgi-bin/mysqlman/mysql.cgi
Form Variables
-------------------------------------------
data_source :
do :
init_login : 1
Environment Variables
-------------------------------------------
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /www/domain
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*
HTTP_ACCEPT_LANGUAGE: en-ca
HTTP_CONNECTION : keep-alive
HTTP_COOKIE : mysqlman_url=http://www.domain.com/cgi-bin/mysqlman/mysql.cgi; orderid=106673407; mysqlman_host; mysqlman_username; mysqlman_password
HTTP_HOST : www.domain.com
HTTP_REFERER : http://www.domain.com/cgi-bin/mysqlman/mysql.cgi
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
HTTP_VIA : 1.1 TurboCharge_3
HTTP_X_FORWARDED_FOR: 000.000.0.000
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING : do=&data_source=&init_login=1
REMOTE_ADDR : 000.000.00.0
REMOTE_HOST : user.domain.com
REMOTE_PORT : 7127
REQUEST_METHOD : GET
SCRIPT_FILENAME : /www/domain/cgi-bin/mysqlman/mysql.cgi
SCRIPT_NAME : /cgi-bin/mysqlman/mysql.cgi
SERVER_ADMIN : webmaster@domain.com
SERVER_NAME : www.domain.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.4 (Unix) FrontPage/4.0.4.3 PHP/3.0.14
Stack Trace
-------------------------------------------
(main::cgierr) called from (mysql.cgi) line (2518)
(main::sqlerr) called from (mysql.cgi) line (2451)
(main::connect_db) called from (mysql.cgi) line (122)
(main::show_dbs) called from (mysql.cgi) line (81)
(main::main) called from (mysql.cgi) line (57)
((eval)) called from (mysql.cgi) line (57)
===========================================================================================
Debug report for 'direct connect'error below
===========================================================================================
Content-type: text/html
CGI ERROR
==========================================
Error Message : debug
Script Location : mysql.cgi
Perl Version : 5.00404
Configuration
-------------------------------------------
db_host_cookie_name : mysqlman_host
db_pass_cookie_name : mysqlman_password
db_user_cookie_name : mysqlman_username
debug : 1
default_sort : 0
demo_db :
demo_host :
demo_mode : 0
demo_pass :
demo_user :
direct_connect : 1
direct_db : domain
direct_host : localhost
direct_pass : test
direct_port :
direct_user : domain
dump_in_pages : 0
dump_page_length : 1000
home_url : domain.com
insert_null : 1
insert_origin : insert
page_length : 20
script_url : mysql.cgi
show_null : 1
template_dir : templates
url_cookie_name : mysqlman_url
Cookies
-------------------------------------------
mysqlman_username :
mysqlman_password :
mysqlman_host :
mysqlman_url : http://www.domain.com/cgi-bin/mysqlman/mysql.cgi
Form Variables
-------------------------------------------
Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /www/domain
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : keep-alive
HTTP_COOKIE : mysqlman_url=http://www.domain.com/cgi-bin/mysqlman/mysql.cgi
HTTP_HOST : www.domain.com
HTTP_PRAGMA : no-cache
HTTP_REFERER : [unknown origin]
HTTP_USER_AGENT : Mozilla/4.73 [en] (Win98; U)
HTTP_VIA : 1.0 TurboCharge_3
HTTP_X_FORWARDED_FOR: 142.163.7.163
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING :
REMOTE_ADDR : 000.000.00.0
REMOTE_HOST : user.domain.com
REMOTE_PORT : 8691
REQUEST_METHOD : GET
SCRIPT_FILENAME : /www/domain/cgi-bin/mysqlman/mysql.cgi
SCRIPT_NAME : /cgi-bin/mysqlman/mysql.cgi
SERVER_ADMIN : webmaster@domain.com
SERVER_NAME : www.domain.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.3.4 (Unix) FrontPage/4.0.4.3 PHP/3.0.14
Stack Trace
-------------------------------------------
(main::cgierr) called from (mysql.cgi) line (105)
(main::main) called from (mysql.cgi) line (57)
((eval)) called from (mysql.cgi) line (57)