Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Link submissions

Quote Reply
Link submissions
In the last couple of days, I have had 2 people have problems submitting their site to me. After filling out their info and they press "add site" it just takes them back to the add site page instead of the "site added" page. Both of them are using Internet Explorer 4.0.
I have tested links 2.0 with IE 5.0 and Netscape 4.x and they both work fine, but for some reason IE 4.0 users are having some problems. Has anyone else heard of this?

skotty
Quote Reply
Re: Link submissions In reply to
Howz about providing a link to your add form, so that we can test it and see what it is going on? Blind examples don't help us to help you.

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Link submissions In reply to
I forgot to also note that even after they press "add site" their info is not sent to me.
Here's my add url:

http://www.nascar-racing-sims.com/cgi-bin/links/add.cgi
Quote Reply
Re: Link submissions In reply to
Okay..the problem is related to the following:

1) You need to change your submit field to the following:

Code:
<input type="submit" name="send_form" value="Submit">

2) You need to have the Mailer.pm file uploaded to your $db_lib_path directory.

3) You need to have the following configurations in your links.cfg file:

Code:
$db_mail_path = '/usr/bin/sendmail';
$db_email_add = 1;
$db_email_modify = 1;

Change /usr/bin/sendmail/ to your sendmail path.

If you do not have sendmail program, then you need to configure the SMTP variable.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Link submissions In reply to
Eliot, I do get submissions via email just not from the 2 guys who are having problems with the form. Their both using IE4.0 and are being returned to the "add a site" page instead of going to "site added".
The only thing that you noted that I didnt have set was name="send_form"
Would this make a difference for IE4.0 users?
Quote Reply
Re: Link submissions In reply to
Most likely...Try it out yourself. You should experiment with at least the last two versions of all browsers before making pages public.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Link submissions In reply to
I don't know what the problem could be. I looked over your HTML codes and I did not see any red flags.

One thing I did notice was that if I click on the Submit button without entering in fields, it still goes back to the add.cgi add screen, NOT the error screen, like it should.

I would double check your site_html_templates.pl file to make sure that you have the correct template file loaded for the sub site_html_add_failure routine.

And also double check the codes and tags in the add_error.html file.

Also, try the following codes rather than the submit field codes I gave you before:

Code:
<input type="submit" name="process_form" value="Submit">

Regards,

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


[This message has been edited by AnthroRules (edited March 11, 2000).]
Quote Reply
Re: Link submissions In reply to
Well i added the send_form into input tag and then contacted one of the IE4.0 users to try again. Still no go for him.
Im starting to wonder if it is not necessarily IE4.0 but just his browser being messed up.
Im not about to install 2 more (lower version) browsers to check it myself.
Got any other ideas Eliot? Smile
Have u heard of this before at all?

Thanks again for the help. If you were not helping people in here on a daily basis alot of people would really be screwed.
I give u the links helper award of the year Smile
Quote Reply
Re: Link submissions In reply to
 
Code:
sub site_html_add_failure {
# --------------------------------------------------------
# This routine determines how the add failure page will look like.
my ($errormsg) = shift;
my $category = &build_select_field ("Category", "$in{'Category'}");
delete $in{'Category'};
my $altcategories = &build_select_field ("AltCategories","$in{'AltCategories'}","AltCategories","MULTIPLE Size=5");
delete $in{'AltCategories'};

&html_print_headers;
print &load_template ('add_error.html', {
AltCategories => $altcategories,
Category => $category,
error => $errormsg,
%in,
%globals
});
}

If you remember a while back, after adding the Alt Categories mod, I was having trouble getting the category to be hard coded.
Well, I did mess around a bit with the sub site_html_add_form routine because I saw what looked like an error after adding Alt Categories.

Here is what I had after initially adding Alt categories to sub site_html_add_form:

Code:
sub site_html_add_form {
# --------------------------------------------------------
# This routine determines how the add form page will look like.
#
&html_print_headers;
my $category = shift;
# $category ?
# ($category = qq~$category <input type=hidden name="Category" value="$category">~) :
# ($category = &build_select_field ("Category", "$in{'Category'}"));
my $category = &build_select_field ("Category", "$category");
my $altcategories = &build_select_field ("AltCategories","$in{'AltCategories'}","AltCategories","MULTIPLE Size=5");

print &load_template ('add.html', {
AltCategories => $altcategories,
Category => $category,
%globals
});
}

but it didnt look right so i changed it to:

Code:
sub site_html_add_form {
# --------------------------------------------------------
# This routine determines how the add form page will look like.
#
&html_print_headers;
my $category = shift;
$category ?
($category = qq~$category <input type=hidden name="Category" value="$category">~) :
($category = &build_select_field ("Category", "$in{'Category'}"));
# my $category = &build_select_field ("Category", "$category");
my $altcategories = &build_select_field ("AltCategories","$in{'AltCategories'}","AltCategories","MULTIPLE Size=5");

print &load_template ('add.html', {
AltCategories => $altcategories,
Category => $category,
%globals
});
}

This got my hard coded category back instead of the drop down list.

By chance could this be causing these IE4.0 users to have problems?
Quote Reply
Re: Link submissions In reply to
The problems I saw WERE WITH USING MIE 4.0!!!!!

I have looked over your codes, and they look fine.

I think that it may be something inherent in MIE 4.0 that for some reason is causing the bug. However, my add forms and modify forms work just fine in my site using MIE 4.0. So, I don't know what to tell you!

Best of luck!

Regards,

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


[This message has been edited by AnthroRules (edited March 12, 2000).]
Quote Reply
Re: Link submissions In reply to
Oh well, screw the IE4.0 users. Upgrade or fall behind the times I say Smile
Thanks for trying Eliot.