Gossamer Forum
Home : Products : DBMan : Discussions :

CGI Error?

Quote Reply
CGI Error?
Problem: I enter the database via the login screen, but when I try to add, delete, modify or admin it kicks me back out to the login screen. It says Oops Invalid/Expired User. Any suggestions? I have debuging turned on, but it does not say why it is doing this? So far I can tell that it is not writing the temporary files to the auth directory. Unknown why, it is set at 777.

Here is my debuging information if ANYONE could help?

DBMan encountered an internal error.

CGI ERROR
==========================================
Error Message : Debug Information
Script Location : /www/htdocs/www.atm-security.com/dbman/db.cgi
Perl Version : 5.00502
Setup File : default.cfg
User ID : admin
Session ID : admin.9881323998741

Form Variables
-------------------------------------------
db : default
login : Logon
pw : admin
uid :
userid : admin

Environment Variables
-------------------------------------------
CONTENT_LENGTH : 49
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /www/htdocs/www.atm-security.com
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-comet, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CACHE_CONTROL : no-cache
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.atm-security.com
HTTP_REFERER : http://www.atm-security.com/dbman/db.cgi
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
PATH : /usr/sbin:/usr/bin
QUERY_STRING :
REMOTE_ADDR : 24.66.212.223
REMOTE_HOST : h24-66-212-223.cg.shawcable.net
REMOTE_PORT : 1484
REQUEST_METHOD : POST
REQUEST_URI : /dbman/db.cgi
SCRIPT_FILENAME : /www/htdocs/www.atm-security.com/dbman/db.cgi
SCRIPT_NAME : /dbman/db.cgi
SERVER_ADDR : 204.244.225.82
SERVER_ADMIN : root@batman.imag.net
SERVER_NAME : www.atm-security.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SIGNATURE : Apache/1.3.17 Server at www.atm-security.com Port 80

SERVER_SOFTWARE : Apache/1.3.17 (Unix) PHP/4.0.4pl1
TZ : Canada/Pacific


Just a note, it was working for about 1 month, then something just happened?

Aaron

Quote Reply
Re: CGI Error? In reply to
In Reply To:
then something just happened?
Okay...have you hacked the script AT ALL? Have you added any modifications? Would help us to know, so that we can help you debug the problem, ya know?

Regards,

Eliot Lee
Quote Reply
Re: CGI Error? In reply to
Do you have cookies turned on?

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: CGI Error? In reply to
With NO modifications it still does not work. Cookies are enabled.

Quote Reply
Re: CGI Error? In reply to
After logging in, it says "Error: Unknown Action" on the main menu. When you try to add or modify etc, it kicks me back out to the main menu saying "invalid/expired user session."???

Help PLEASE!!!!


Quote Reply
Re: CGI Error? In reply to
Have you tried to write to the auth directory with another utility with the same permissions as DBMan?
I had a look at your script 'live', and though you say it is chmod 777 I couldn't get a directory listing of the folder as I could with the 'parent' folder