Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Error 500 by add.cgi

Quote Reply
Error 500 by add.cgi
Hello again,

every time I will add a new Link , the Error 500 will shown. Crazy

Here ist my Form tag :

<%if error%>
<p><%error_font%><b><%error%></b></font></p>
<%endif%>

<FORM ACTION="<%db_cgi_url%>/add.cgi" ENCTYPE="multipart/form-data" method="POST">

<TABLE border ="0" CELLSPACING="1" CELLPADDING="2" WIDTH="100%" BGCOLOR="#FFF3C3">
<TR><TD ALIGN="left" vALIGN="top" colspan="2" CLASS="EINTRAG">Füllen Sie dieses Formular bitte vollständig aus.<BR>
Ihre Linkanmeldung wird dann von uns überprüft und freigeschaltet.</TD></TR>

<TR><TD colspan="2"><hr noshade size="2" color="#E82000"></TD></TR>

<TR><TD ALIGN="right" vALIGN="middle" CLASS="EINTRAG_BOLD">Kategorie:</TD>

<TD ALIGN="left"><%Category%></TD></TR>

<TR><TD ALIGN="right" vALIGN="middle" CLASS="EINTRAG_BOLD">Homepage zum Lauf:</TD>

<TD ALIGN="left"><input name="URL" size="50" value="http://"></TD></TR>

<TR><TD ALIGN="right" vALIGN="middle" CLASS="EINTRAG_BOLD">Name:</TD>

<TD ALIGN="left"><input name="Username" value="<%Username%>" size="50"></TD></TR>

<TR><TD ALIGN="right" vALIGN="middle" CLASS="EINTRAG_BOLD">Email:</TD>

<TD ALIGN="left"><input name="Email" value="<%Email%>" size="50"></TD></TR>

<TR><TD></TD><TD><input type="SUBMIT" name="add" value="Lauf eintragen"> <input type="reset" value="Felder löschen"></TD></TR>



</TABLE>

</form>

I dont understand the Problem, because on the Laptop it works fine Mad



Thanx for Help

QIX
Quote Reply
Re: [qix] Error 500 by add.cgi In reply to
Does your Error log show anything? (the perl one, not LSQL's).

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Error 500 by add.cgi In reply to
In Reply To:
Does your Error log show anything? (the perl one, not LSQL's).

Cheers
Quote Reply
Re: [qix] Error 500 by add.cgi In reply to
No reply Unsure

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Error 500 by add.cgi In reply to
In Reply To:
Does your Error log show anything? (the perl one, not LSQL's).

Cheers


Ohhhhh, wow .. Iam very Pirate

Andy, I dont know where I find the Perl Logfile !! But I used the Syntaxchecker of my Provider, and the Output:

+ Check succeeded
e /kunden/homepages/19/d72759779/htdocs/laufsuche_de/html/cgi-bin/add.cgi syntax OK
+ STDOUT OK STDERR O

When I do the same with the ScriptOutputMonitor, I got this:

+ CGI Check succeeded
o Location: http://www.laufsuche.de/html/cgi-bin/user.cgi?url=http%3A%2F%2Fwww.laufsuche.de%2Fhtml%2Fcgi-bin%2Fadd.cgi&from=add
o Content-type: text/html
o
e GT::Plugins (4037): Created new GT::Plugins object. at /homepages/19/d72759779/htdocs/laufsuche_de/html/cgi-bin/admin/GT/Base.pm line 67.
e GT::Plugins (4037): Destroyed GT::Plugins=HASH(0x822c45c) in package main at /kunden/homepages/19/d72759779/htdocs/laufsuche_de/html/cgi-bin/add.cgi line 0. at /homepages/19/d72759779/htdocs/laufsuche_de/html/cgi-bin/admin/GT/Base.pm line 91.
+ STDOUT OK STDERR OK


But when I filled the Addform for Example without Category, the the Script show me the Error Message " You must take a Category) in the Addform, so I think the Add.cgi works fine .

QIX
Quote Reply
Re: [qix] Error 500 by add.cgi In reply to
I'm experiencing exactly the same problem. If the link i'm trying to add is NEW (no duplicates) then everything works fine, but if the link already exists in the database then I get an error 500.
Quote Reply
Re: [jaltuve] Error 500 by add.cgi In reply to
The code was buggy (I can't believe bobody noticed) guess this is related to the way the web server prints headers? I just added a line to print the content type just before printing the template in Duplicate_Check.pm and that did the trick.
Quote Reply
Re: Error 500 by add.cgi In reply to
Hi,

now I used a very short add Form (only Category, Username an Email) but I got the same Error 500 ??!??

Iam despair :o((

QIX
Quote Reply
Re: [qix] Error 500 by add.cgi In reply to
Hi,

I make a New Install and now every Thing works fine !!

Thanx for the Support

QIX