Gossamer Forum
Quote Reply
CGI Error
Hi all,

I've used this script for some time now and everything used to work fine.
But now I have some problems.
I cannot add new links to the database for some strange reason. No things were changed in the script configuration.

This is the errormessage I get from the script: (permissions seems to be ok)

CGI ERROR
==========================================
Error Message : Error building! Links database is 0 bytes!
Script Location : nph-build.cgi
Perl Version : 5.006

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

Environment Variables
-------------------------------------------
AUTH_TYPE : Basic
DOCUMENT_ROOT : /opt/guide/www.web-nl.com/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: nl
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.web-nl.com
HTTP_REFERER : http://www.web-nl.com/cgi-bin/sexlinks/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING :
REMOTE_ADDR : 213.93.191.23
REMOTE_HOST : e191023.upc-e.chello.nl
REMOTE_PORT : 61775
REMOTE_USER : web-nl
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/sexlinks/admin/nph-build.cgi
SCRIPT_FILENAME : /opt/guide/www.web-nl.com/cgi-bin/sexlinks/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/sexlinks/admin/nph-build.cgi
SERVER_ADDR : 212.204.208.35
SERVER_ADMIN : webmaster@web-nl.com
SERVER_NAME : www.web-nl.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.14 (Unix) FrontPage/4.0.4.3 PHP/4.0.3pl1 mod_ssl/2.7.1 OpenSSL/0.9.6
UNIQUE_ID : Om1M3NTM0AEAAGXHFhk




Quote Reply
Re: CGI Error In reply to
Most probably your links.db file got too large and was therefore automatically deleted by your hosting company. Some hosts do not allow flat files to exceed 0.5 or 1 MB.

Thomas
http://www.japanreference.com
Quote Reply
Re: CGI Error In reply to
The file links.db was NOT deleted and it is still on the same location.
So I am still wondering what the problem is here.

Quote Reply
Re: CGI Error In reply to
Well, its content was deleted. Has happened to me as well.

Thomas
http://www.japanreference.com
Quote Reply
Re: CGI Error In reply to
Not not deleted. The file is about 225 Kb in size