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

can not run admin.cgi

Quote Reply
can not run admin.cgi
On start the admin script, i get following message. Can somone help me?


Error Message : fatal error: /homepages/16/d12237970/htdocs/2000/cgi-bin/links/admin/links.def did not return a true value at /homepages/16/d12237970/htdocs/2000/cgi-bin/links/admin/admin.cgi line 55.

Script Location : /homepages/16/d12237970/htdocs/2000/cgi-bin/links/admin/admin.cgi
Perl Version : 5.00502
Quote Reply
Re: can not run admin.cgi In reply to
Please save your admin.cgi and links.def files as text files, upload the text files to a publicly accessible directory in your server, and then post the URL to these text files in this Thread...so, that we can see the exact codes you are using.

Regards,

------------------
Eliot Lee....
* Check Resource Center
* Search Forums

Quote Reply
Re: can not run admin.cgi In reply to
Thanks for your help,

visit my ftp site at IP ftp://212.227.106.59
for the code. I hope you can help me.

Best Regards
from Munich/Germany
Quote Reply
Re: can not run admin.cgi In reply to
Uh...I cannot connect to your FTP site. Please do as I posted earlier, okay...If not, you are on your own!

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: can not run admin.cgi In reply to
Sorry folks,
my provider is unable to give me for the ip an ftp accont.


Please take my private ftp account
at ftp://ftp.schani.de
"links for gossamer-threads"

Sorry for the break
Best Regards from snowy Munich on Wen evening
Quote Reply
Re: can not run admin.cgi In reply to
OKAY...This is the last time I am going to request you to do something, so that we can help you. If you refuse to do it, then you are on your own.

1) COPY the following files and save them as text files:

links.def
admin.cgi

LIKE links.txt and admin.txt

2) Upload the text files to a PUBLICLY ACCESSIBLE DIRECTORY in your WEB SERVER, NOT YOUR FTP SERVER.

3) Then PROVIDE the URLs to these text files in this Thread.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: can not run admin.cgi In reply to
Sorry,

i hope now itīs ok ?
here is the URL you want
http://212.227.106.59/links.html
Thanks for helping me
Schani
Quote Reply
Re: can not run admin.cgi In reply to
Well, this shouldn't really matter, however, I do see that one possible problem.

Change the following codes:

Code:
$in{'db'} ?
require "$db_lib_path/$in{'db'}.def":
require "$db_lib_path/links.def";

in your admin.cgi to the following:

Code:
$in{'db'} ?
require "$db_lib_path/$in{'db'}.def" :
require "$db_lib_path/links.def";

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: can not run admin.cgi In reply to
The only different i can see is the space between f" : ???

Ok but this was not the bug. This "Space" do not fix the Problem. I also have the same line 55 error.
Could it be that the question mark mack trouble - $in{'db'} ?. This is the line 55 in admin.cgi script.

Quote Reply
Re: can not run admin.cgi In reply to
That line's syntax is fine with the exception of the space between the :.

The only other problem I can see is that you may have renamed links.def inadvertantly or that you have not put the links.def in the $db_lib_path.

Best of luck!

Regards,



------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums