Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

ERROR 500 adding NEW link from ADMIN PANEL

Quote Reply
ERROR 500 adding NEW link from ADMIN PANEL
Ciao to everybody from Italy.
Ciao *Elliot* you are my idol [....]

I have a rare problem with Links 2.0 : I successfully installed it and runned for 6 days.

When I tryed to ADD a Link from the admin panel (link 186) I received that error.

I checked everything : is apparently ok.
I did nothing after the 1st running.

WHAT'S THAT ???

Thanks to everybody for the contribution in resolving this big question.

Alex
Quote Reply
Re: ERROR 500 adding NEW link from ADMIN PANEL In reply to
Most likely a permission problem with your database files or with your admin.cgi file.

I would recommend turning on the cgierr message, so that you can get more information about the Error rather than a simple Internal Server Error.

To turn on the de-bugging mode, simply un-comment the following line of codes in your admin.cgi script:

Code:
# &cgierr("No Errors");

Remove the # sign.

So, the codes should look like the following:

Code:
&cgierr("No Errors");

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: ERROR 500 adding NEW link from ADMIN PANEL In reply to
Ciao Elliot: I turned on and this is the error description:


CGI ERROR
==========================================
Error Message : Done
Script Location : admin.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------
Contact Email :
Contact Name :
Date : 2-May-2000
Description :
Hits : 0
ID : 237
Rating : 0
Title :
URL : http://
Votes : 0
add_record : Add Link
db : links
isNew : No
isPopular : No

Environment Variables
-------------------------------------------
CONTENT_LENGTH : 193
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /usr/home/bergamo/www
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: it
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : 209.235.204.248
HTTP_REFERER : http://209.235.204.248/cgi-bin/links/admin/admin.cgi?db=links&add_form=1
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
PATH : /usr/local/bin:/usr/bin:/bin:/usr/home:/usr/sbin
QUERY_STRING :
REMOTE_ADDR : 212.216.22.44
REMOTE_PORT : 2708
REQUEST_METHOD : POST
REQUEST_URI : /cgi-bin/links/admin/admin.cgi
SCRIPT_FILENAME : /usr/home/bergamo/cgi-bin/links/admin/admin.cgi
SCRIPT_NAME : /cgi-bin/links/admin/admin.cgi
SERVER_ADDR : 209.235.204.248
SERVER_ADMIN : bergamo@bergamoland.com
SERVER_NAME : 209.235.204.248
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.9 (Unix) DAV/0.9.17 PHP/3.0.16
UNIQUE_ID : ORABotHrwCsAAWZfep0


Quote Reply
Re: ERROR 500 adding NEW link from ADMIN PANEL In reply to
Hmmm...Do you have the db.pl file uploaded in your $db_lib_path directory? The problem I see is that there is problem in validating the records and the script seems to not be finding the appropriate subs in the db.pl file.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: ERROR 500 adding NEW link from ADMIN PANEL In reply to
***Elliot...

I have that file in the right path with right permissions....

The most strange thing is that - anyway - the software runned for more than 5 days !!!!

What do you think ?

Thanks for your genuine and professional help:
for me it is the right occasion to meet e *real* perl specialist.

Very honored.

Sincerely, Alex.
Quote Reply
Re: ERROR 500 adding NEW link from ADMIN PANEL In reply to
I would recommend contacting your hosting company and ask them if they have made any changes to your account.

Best of luck!

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: ERROR 500 adding NEW link from ADMIN PANEL In reply to
Ciao Elliot,

I re-installed links2 completely,
now I *only* have problems calling the main scripts ( subscribe.cgi, jump.cgi etc.... )

All other functions are available.

What does it mean ?

Thanks for your support.
Alex