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

CGI Error: line 55 of admin.cgi <<<HELP!!!

Quote Reply
CGI Error: line 55 of admin.cgi <<<HELP!!!
I'm not quite surr what to do now... I've followed all of the steps carefully,
all non .cgi files and directories are 777 (except those that are 666 or 755).
When I run admin.cgi I get this error



CGI ERROR
==========================================
Error Message : fatal error: Unrecognized character \x12 at /home/thenoncom2/cgi-bin/links/admin/links.def line 1.
Compilation failed in require at /home/thenoncom2/cgi-bin/links/admin/admin.cgi line 55.

Script Location : /home/thenoncom2/cgi-bin/links/admin/admin.cgi
Perl Version : 5.006001

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

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /home/thenoncom2
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : */*
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_EXTENSION : Security/Remote-Passphrase
HTTP_HOST : thenoncom.net
HTTP_IF_MODIFIED_SINCE: Sat, 15 Sep 2001 22:33:09 GMT
HTTP_UA_CPU : PPC



(more info on my sever follows this jibber jabber )

I checked line 55 which is this:


$in{'db'} ?


(Here is the code chunk that this line comes form:

# Load the database definition file and set the link url.
$in{'db'} ?
require "$db_lib_path/$in{'db'}.def" :
require "$db_lib_path/links.def";

$db_script_link_url = "$db_script_url?db=$in{'db'}"; )

Now what... should that question mark be there or what?
Subject Author Views Date
Thread CGI Error: line 55 of admin.cgi <<<HELP!!! DualDiesel 5794 Sep 15, 2001, 4:00 PM
Thread Re: [DualDiesel] CGI Error: line 55 of admin.cgi <<<HELP!!!
QooQ 5714 Sep 15, 2001, 7:01 PM
Thread Re: [QooQ] CGI Error: line 55 of admin.cgi <<<HELP!!!
DualDiesel 5696 Sep 15, 2001, 11:21 PM
Thread Re: [DualDiesel] CGI Error: line 55 of admin.cgi <<<HELP!!!
Paul 5694 Sep 16, 2001, 4:09 AM
Thread Re: [PaulWilson] CGI Error: line 55 of admin.cgi <<<HELP!!!
DualDiesel 5676 Sep 18, 2001, 2:29 AM
Thread Re: [DualDiesel] CGI Error: line 55 of admin.cgi <<<HELP!!!
Paul 5743 Sep 18, 2001, 3:35 AM
Thread Re: [PaulWilson] CGI Error: line 55 of admin.cgi <<<HELP!!!
Wil 5668 Sep 18, 2001, 6:30 AM
Post Re: [wil] CGI Error: line 55 of admin.cgi <<<HELP!!!
Paul 5606 Sep 18, 2001, 6:41 AM
Thread Re: [PaulWilson] CGI Error: line 55 of admin.cgi <<<HELP!!!
DualDiesel 5656 Sep 19, 2001, 12:32 PM
Post Re: [DualDiesel] CGI Error: line 55 of admin.cgi <<<HELP!!!
Paul 5647 Sep 19, 2001, 12:49 PM