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

Create Categories problem???

Quote Reply
Create Categories problem???
After run admin.cgi, it appear Links 2.0 Administration Menu.
When I clicked on Add of the Categories, the frame appear a blank page?
So, What can I do?
Quote Reply
Re: Create Categories problem??? In reply to
Try reuploading the admin_html.pl script (in ASCII mode) and see if it helps.
Quote Reply
Re: Create Categories problem??? In reply to
The Problem still occur.
Quote Reply
Re: Create Categories problem??? In reply to
Is your admin directory password protected yet? If not, can you provide a URL so we can see what is happening?
Quote Reply
Re: Create Categories problem??? In reply to
The admin dir had protected.
What is your email address?
I send the password to you.
http://wilson33.hypermart.net/link/cgi-bin/admin/admin.cgi
Quote Reply
Re: Create Categories problem??? In reply to
You can always get my email address by clicking on the question-mark graphic in any message I post. But, to save you time, it is bobsie@orphanage.com
Quote Reply
Re: Create Categories problem??? In reply to
I have send the password to you.
Thank you
Quote Reply
Re: Create Categories problem??? In reply to
I just visited your site. I tried the Add Category option and got the blank frame. I clicked in the frame and told the browser to show me the source code. Here is what it displayed:

Code:
<html>
<head>
<title>Category Database: Add a New Category.</title>
</head>

<body bgcolor="#DDDDDD">
<form action="http://wilson33.hypermart.net/link/cgi-bin/admin/admin.cgi" method="POST">
<input type=hidden name="db" value="category">
<table border=1 bgcolor="#FFFFFF" cellpadding=5 cellspacing=3 width=500 valign=top>
<tr><td colspan=2 bgcolor="navy">
<FONT FACE="MS Sans Serif, arial,helvetica" size=1 COLOR="#FFFFFF">
<b>Category Database: Add a New Category</b>
</td></tr>
<tr><td>
<p><center><font face="verdana,arial,helvetica" size="4"><b>
Add a New Category
</b></font></center><br>
<font face="verdana,arial,helvetica" size="2">
<PRE>

CGI ERROR
==========================================
Error Message : error in get_defaults. unable to open id file: /data1/hypermart.net/wilson33/link/cgi-bin/admin/data/categoryid.txt.
Reason: No such file or directory
Script Location : /data1/hypermart.net/wilson33/link/cgi-bin/admin/admin.cgi
Perl Version : 5.00404

Form Variables
-------------------------------------------
add_form : 1
db : category

Environment Variables
-------------------------------------------
AUTH_TYPE : Basic
DOCUMENT_ROOT : /data1/hypermart.net
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : wilson33.hypermart.net
HTTP_REFERER : http://wilson33.hypermart.net/link/cgi-bin/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.07 [en] (Win95; U ;Nav)
PATH : /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
QUERY_STRING : db=category&add_form=1
REMOTE_ADDR : 12.76.124.20
REMOTE_HOST : 12.76.124.20
REMOTE_PORT : 2338
REMOTE_USER : wilson33
REQUEST_METHOD : GET
REQUEST_URI : /link/cgi-bin/admin/admin.cgi?db=category&add_form=1
SCRIPT_FILENAME : /data1/hypermart.net/wilson33/link/cgi-bin/admin/admin.cgi
SCRIPT_NAME : /link/cgi-bin/admin/admin.cgi
SCRIPT_URI : http://wilson33.hypermart.net/link/cgi-bin/admin/admin.cgi
SCRIPT_URL : /link/cgi-bin/admin/admin.cgi
SERVER_ADMIN : webmaster@hypermart.net
SERVER_NAME : wilson33.hypermart.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.2.4 FrontPage/3.0.3

According to this, you are missing the categoryid.txt file. Create it in the admin/data directory and chmod it to 666. That should solve your problem.

As a general rule of thumb, always look at the source code when you get a blank screen or frame to see if there is anything in it.

I hope this helps.