Gossamer Forum
Quote Reply
Bad_Link.cgi - error 500
Hello Pugdog

I have an error 500 when Bad_Link.cgi script is called since a static page.

No the problem on the dynamic pages.

You have a solution?

Thank you


Quote Reply
Re: [mick31] Bad_Link.cgi - error 500 In reply to
What do your error logs say?

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] Bad_Link.cgi - error 500 In reply to
Hello Andy,

I do not have access to the logs.

I am on a mutualized lodging...

Actuelement, my error occurs on two links.

In static and dynamic mode.

/bad_link.cgi?ID=1&d=1
/bad_link.cgi?ID=3&d=1

But not on the other link.
I did not check all the links!


Hum!!!

Quote Reply
Re: [mick31] Bad_Link.cgi - error 500 In reply to
Ah the top of bad_link.cgi, try adding;

Code:
use CGI::Carp qw(fatalsToBrowser);

right after...

Code:
#!/usr/bin/perl

...so it looks like;

Code:
#!/usr/bin/perl
use CGI::Carp qw(fatalsToBrowser);

Then try running the script again.. what does that do for you?

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] Bad_Link.cgi - error 500 In reply to
I found my error,

I created Column for crypter addresses email
http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=251599#251599

If I remove Column, script goes again.

Script does not accept the contents of Column (Javascript)

------------------

<script type="text/javascript" language="javascript"><!--
eval(unescape(
'%76%61%72%20%65%3D%27%6D%69%63%68%65%6C%27%2B%27%40%27'+
'%2B%27%74%6F%75%6C%6F%75%73%65%2D%61%6E%6E%75%61%69%72'+
'%65%2E%63%6F%6D%27%3B%64%6F%63%75%6D%65%6E%74%2E%77%72'+
'%69%74%65%28%27%3C%61%20%68%72%65%66%3D%22%6D%61%69%6C'+
'%74%6F%3A%27%2B%65%2B%27%22%20%74%69%74%6C%65%3D%22%27'+
'%2B%65%2B%27%22%3E%27%2B%65%2B%27%3C%2F%61%3E%27%29'));
// -->
</script>


-----------------

If you have an answer!

Thank you

Quote Reply
Re: [mick31] Bad_Link.cgi - error 500 In reply to
Try doing a resync tables.. does that fix it?

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] Bad_Link.cgi - error 500 In reply to
Hello Andy

Not.

Can't the columns accept the Javascript?

Thank you

Quote Reply
Re: [mick31] Bad_Link.cgi - error 500 In reply to
Is the field TEXT or CHAR?

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] Bad_Link.cgi - error 500 In reply to
Hello Andy

I tested the two possibilities.

Nothing changes.

But with Char I am limited to 255...

Thank you

Quote Reply
Re: [mick31] Bad_Link.cgi - error 500 In reply to
Could you attach the version of bad_link.cgi that you are using?

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] Bad_Link.cgi - error 500 In reply to
Hello Andy

It seems that the problem comes from Bad_Link.cgi. 2.1.1a

I do not have any problem with other scripts

/recommend_it.cgi?ID=1

/myfaves.cgi?action=add&ID=1

Thank you

Quote Reply
Re: [mick31] Bad_Link.cgi - error 500 In reply to
Yeah, but could you attach it, so I can take a look. I don't have a copy available to me on this computer.

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] Bad_Link.cgi - error 500 In reply to
Hello Andy

bad_Link.cgi

Thank you

Last edited by:

mick31: Sep 16, 2003, 8:57 AM
Quote Reply
Re: [mick31] Bad_Link.cgi - error 500 In reply to
Can't see any obviouse problems with the code. I'm afraid I'm stumped :(

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!