Hello,
I'm having a little problem with DBMan and I was wondering if anyone might be able to help me.
I've finished most of the installation and I've had no problems. Much to my surprise (and delight) I went without a single error for quite some time.
Before finding DBMan I maintained a database manually, and I decided to move all of the listings from my old database into DBMan, so I inputed the listings one by one using the add record form. I went through about 52 listings without any problems, and then all of a sudden I got a 500 Internal Server Error and my error logs don't tell me anything except "Premature end of script headers."
This baffles me because I didn't do anything to change db.cgi, default.cfg or html.pl between submitting one record successfully and trying it again and receiving the error. And everything else in the script works just fine.
Does anyone have any idea how one aspect of a script could just suddently stop working? I turned on the debug feature in the default.cfg file and received this message when I tried to add a record:
CGI ERROR
==========================================
Error Message : Debug Information
Script Location : db.cgi
Perl Version : 5.00502
Setup File : default.cfg
User ID : admin
Session ID : admin.93009330976285
Form Variables
-------------------------------------------
EMail : test@test.com
ID : 52
Location : Alabama
Looking_For : this is a test
Name : test
Religion : Catholic
Self_Description : this is a test
Userid : admin
add_record : Add Record
db : default
uid : admin.93009330976285
Environment Variables
-------------------------------------------
CONTENT_LENGTH : 186
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /www/survivalnetwork
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.survivalnetwork.org
HTTP_REFERER : http://www.survivalnetwork.org/cgi-bin/dbman/db.cgi?db=default&uid=admin.93009330976285&add_form=1
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; Windows 95; CNETHomeBuild03171999; DigExt)
PATH : /usr/local/bin:/usr/bin:/bin:/usr/local/mysql/bin
QUERY_STRING :
REMOTE_ADDR : 38.11.102.42
REMOTE_HOST : ip42.new-haven.ct.pub-ip.psi.net
REMOTE_PORT : 2952
REQUEST_METHOD : POST
REQUEST_URI : /cgi-bin/dbman/db.cgi
SCRIPT_FILENAME : /www/survivalnetwork/cgi-bin/dbman/db.cgi
SCRIPT_NAME : /cgi-bin/dbman/db.cgi
SERVER_ADMIN : webmaster@survivalnetwork.org
SERVER_NAME : survivalnetwork.org
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.2b PHP/3.0.7
This message doesn't help me to understand what the problem might be and how I might fix it, so does anyone know what might be going on?
Any information would be greatly appreciated.
Thanks in advance,
Peter
I'm having a little problem with DBMan and I was wondering if anyone might be able to help me.
I've finished most of the installation and I've had no problems. Much to my surprise (and delight) I went without a single error for quite some time.
Before finding DBMan I maintained a database manually, and I decided to move all of the listings from my old database into DBMan, so I inputed the listings one by one using the add record form. I went through about 52 listings without any problems, and then all of a sudden I got a 500 Internal Server Error and my error logs don't tell me anything except "Premature end of script headers."
This baffles me because I didn't do anything to change db.cgi, default.cfg or html.pl between submitting one record successfully and trying it again and receiving the error. And everything else in the script works just fine.
Does anyone have any idea how one aspect of a script could just suddently stop working? I turned on the debug feature in the default.cfg file and received this message when I tried to add a record:
CGI ERROR
==========================================
Error Message : Debug Information
Script Location : db.cgi
Perl Version : 5.00502
Setup File : default.cfg
User ID : admin
Session ID : admin.93009330976285
Form Variables
-------------------------------------------
EMail : test@test.com
ID : 52
Location : Alabama
Looking_For : this is a test
Name : test
Religion : Catholic
Self_Description : this is a test
Userid : admin
add_record : Add Record
db : default
uid : admin.93009330976285
Environment Variables
-------------------------------------------
CONTENT_LENGTH : 186
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /www/survivalnetwork
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.survivalnetwork.org
HTTP_REFERER : http://www.survivalnetwork.org/cgi-bin/dbman/db.cgi?db=default&uid=admin.93009330976285&add_form=1
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; Windows 95; CNETHomeBuild03171999; DigExt)
PATH : /usr/local/bin:/usr/bin:/bin:/usr/local/mysql/bin
QUERY_STRING :
REMOTE_ADDR : 38.11.102.42
REMOTE_HOST : ip42.new-haven.ct.pub-ip.psi.net
REMOTE_PORT : 2952
REQUEST_METHOD : POST
REQUEST_URI : /cgi-bin/dbman/db.cgi
SCRIPT_FILENAME : /www/survivalnetwork/cgi-bin/dbman/db.cgi
SCRIPT_NAME : /cgi-bin/dbman/db.cgi
SERVER_ADMIN : webmaster@survivalnetwork.org
SERVER_NAME : survivalnetwork.org
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.2b PHP/3.0.7
This message doesn't help me to understand what the problem might be and how I might fix it, so does anyone know what might be going on?
Any information would be greatly appreciated.
Thanks in advance,
Peter