Gossamer Forum
Home : Products : DBMan : Installation :

500 - error

Quote Reply
500 - error
I followed exactly all your rules but still got the "500 error".
If I put the "-d" switch in the first line of db.cgi, I at last obtain a form with "UserID" and "password" fields, but below I find this:
CGI ERROR
==========================================
Error Message : Debug Information
Script Location : db.cgi
Perl Version : 5.00503
Setup File : default.cfg

Form Variables
-------------------------------------------

Environment Variables
-------------------------------------------
CHARSET : windows-1251
CHARSET_HTTP_METHOD : http://
CHARSET_SERVER_NAME : elite-art.add.spb.ru:80
CHARSET_SERVER_PORT : 80
CONTENT_LENGTH : 49
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /home/elite/public_html
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/x-comet, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: ru
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : elite-art.add.spb.ru
HTTP_REFERER : http://elite-art.add.spb.ru/cgi-bin/db.cgi
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING :
REMOTE_ADDR : 193.125.199.101
REMOTE_PORT : 3623
REQUEST_METHOD : POST
REQUEST_URI : /cgi-bin/db.cgi
SCRIPT_FILENAME : /home/elite/cgi-bin/db.cgi
SCRIPT_NAME : /cgi-bin/db.cgi
SERVER_ADMIN : www@add.spb.ru
SERVER_NAME : elite-art.add.spb.ru
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.6 (Unix) rus/PL28.15
SOURCE_CHARSET : koi8-r


And when trying to login the page returnes the same. What is my problem?

------------------
Quote Reply
Re: 500 - error In reply to
Looks to me like you're just getting the debug information. If there was an error you would get something about a line number that was causing problems.

Try setting

$db_debug = 0;

in your .cfg file and see if it goes away.


------------------
JPD





Quote Reply
Re: 500 - error In reply to
Yes, debugging info has moved. But I still cannot login - I've tried admin/admin, author/author and guest/guest combinations but right after I click "logon" the form clears and remains the same... Frown
Quote Reply
Re: 500 - error In reply to
...And if I remove the "-d" switch from the first line it lust says "500 error"...
Quote Reply
Re: 500 - error In reply to
Can I see the database in action?


------------------
JPD





Quote Reply
Re: 500 - error In reply to
Oh, sure. Be my guest:
http://elite-art.add.spb.ru/cgi-bin/db.cgi

Let me remind, that the first line in db.cgi still has the debugging "-w" switch. Without it I still get "500 error".

Both texts of db.cgi and default.cfg are accessible at: http://elite-art.add.spb.ru/db.txt and http://elite-art.add.spb.ru/default.txt

Can you help, please?
Quote Reply
Re: 500 - error In reply to
I tried the URL, but I got the message "Unable to locate server..."

Could you have made a typo?


------------------
JPD