Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Problem w/ "Table Maintenance" in admin

Quote Reply
Problem w/ "Table Maintenance" in admin
I installed LinksSQL 1.11 about a week ago, and everything is working fine, except one thing. When I'm in the Admin section, any links under the "Table Maintenance" section (they all go to editor.cgi, with different parameters) give me an Internal Server Error. The following shows up in my error_log:

[Sat Jul 22 03:36:45 2000] [error] [client 63.36.78.198] malformed header from script. Bad header=plicate function name -mysql_: /home/httpd/cgi-bin/linkssql/admin/editor.cgi

It spits out the HTML fine when I run the following from telnet:

$perl editor.cgi db=Links

I've double checked permissions and that didn't help any.

Any help would be greatly appreciated!

Thanks,

Jeremy


---------------------
BuffyGuide.com
Quote Reply
Re: Problem w/ "Table Maintenance" in admin In reply to
Hi!

That's very strange. Have you made any modifications/changes to the code? I don't have a function named mysql_ in the code. That's the only thing I can think of.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Problem w/ "Table Maintenance" in admin In reply to
No, I haven't changed the code at all (not yet anyway). I even did a compare with Araxis, just to make sure.

I knew I was probably going to leave out a detail from my original post.

Once again, any help would be greatly appreciated.

Jeremy


---------------------
BuffyGuide.com
Quote Reply
Re: Problem w/ "Table Maintenance" in admin In reply to
any chance the error came from DBSQL.pm..

editor.cgi starts up with printing of headers..

check if your path to perl is correct.. usually when a script has not been changed at all and it doesn't run one reason can be the current path points to an older version of perl..

weird error.. plicate function name .. where could that come from.. error from mysql.pm?

btw.. path to perl is the first line of the script..

usually paths to perl can be..
#!/usr/bin/perl
#!/usr/local/bin/perl
and sometimes
#!/bin/perl
#!/user/bin/perl55

Jerry Su
Quote Reply
Re: Problem w/ "Table Maintenance" in admin In reply to
Blush

I figured out what the problem was. Apparently I uploaded some of the .cgi's in binary mode.

Thanks for the help,

Jeremy


---------------------
BuffyGuide.com