Gossamer Forum
Home : Products : Links 2.0 : Customization :

Document contains no data

Quote Reply
Document contains no data
I recently made modifications to use the "Links Modification Security System" that was posted by Bobsie.

http://www.gossamer-threads.com/scripts/forum/resources/Forum3/HTML/000540.html

I have everthing working, except that when I go to modify a link my browser comes back with "document contains no data" (Netscape 4.05)and (IE 4.0) comes back with "cannot open the internet site . . .server returned unrecoginzed response"

Can someone please help?

Thanks in advance!
Quote Reply
Re: Document contains no data In reply to
Kristin,

That sounds odd. Did you have any problem with your script before you installed the mod? That is, did it work or did it return a similar message.

I didn't do anything in the mod that would cause that error. Please double-check everything, particularly the action= part of the modification form and the path to perl at the top of modify.cgi.

You didn't say, so I will ask. Did you install this in the beta? If so, which version are you using and do you use templates?

------------------
Bob Connors
bobsie@orphanage.com
www.orphanage.com/goodstuff/
goodstufflists.home.ml.org/


Quote Reply
Re: Document contains no data In reply to
I went back and checked my backup copy and it did fine. My path to perl is ok, and I think that my action part of the modification form is ok.

Here it is
<form action="<%db_cgi_url%>/modify.cgi" method="POST">

I do have a few questions after going back and comparing what I changed to what you have listed on your site.

1. modify.cgi (template and non-template systems):

In sub modify_form replace the code between <Original Code> and <End Original Code> below with the code between <New Code> and <End New Code> below.

I didn't see a sub modify_form in my modify.cgi. I placed the code in the sub process_form part of my modify.cgi

2. site_html_templates.pl (template systems only):
sub site_html_modify_success:


On this part I just commented out what you had specified. Was that the only thing I was supposed to do?

Maybe one of the above is the problem.

I am using version 2.0 Beta4 and I use templates.

Here are a few more questions for ya, not relating to this problem.

1. Do you know if the Alternate Category Mod works with version 2.0 Beta4.

2. Last question, could you look at another post that I had made, but did't get a response to? here is where it is located
http://www.gossamer-threads.com/scripts/forum/resources/Forum3/HTML/000567.html

Thanks for the help, it is very much appreciated.

Kristin
Quote Reply
Re: Document contains no data In reply to
Kristin,

Quote:
I didn't see a sub modify_form in my modify.cgi. I placed the code in the sub process_form part of my modify.cgi

Thanks for pointing that out. It is sub process_form where that code is replaced. I will fix the documentation and get new glasses too!

Can you post the code you put in there so I can check it or email it to me (see my address below)?

Quote:
2. site_html_templates.pl (template systems only): sub site_html_modify_success:

On this part I just commented out what you had specified. Was that the only thing I was supposed to do?

Yes, that was all.

Quote:
1. Do you know if the Alternate Category Mod works with version 2.0 Beta4.

I have no idea as I have never studied the Alternate Category Mod that closely. I usually only study the code I actually use on my system.

Quote:
2. Last question, could you look at another post that I had made, but did't get a response to?

Creating a drop down menu would not be difficult but, from what you are asking, it sounds to me like you want to add this information in a new links field so that it can be used in the sort. That would require a bit more work but is not out of the realm of possibilities. If you search through the forums, you will find threads about adding fields. Other people are very adept at the sorting routines. I would attempt this for you but I really do not currently have the time to take on a new project like that. I might be able to in a few weeks though if you don't have it done by then.

------------------
Bob Connors
bobsie@orphanage.com
www.orphanage.com/goodstuff/
goodstufflists.home.ml.org/