Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Can't Add Sites (Auto submission is not allowed)

Quote Reply
Can't Add Sites (Auto submission is not allowed)
I tryed adding a site as a user would do, not from within the admin controls
and ran into an error. Instead of again doing it right from the front page I
tryed from within the directory (category) I wanted the link on and got
the same error.


-THE ERROR-

There were the following errors trying to add your resource:

Auto submission is not allowed in this directory. Please visit the site to add
your entry.

Please make any changes and try again!
Quote Reply
Re: Can't Add Sites (Auto submission is not allowed) In reply to
Hi,

I've the same problem...

Toinbo
Quote Reply
Re: Can't Add Sites (Auto submission is not allowed) In reply to
What have you set as your referer in your links.cfg file? Either set it blank to allow submissions from any host, or set it to your domain name.

Cheers,

Alex
Quote Reply
Re: Can't Add Sites (Auto submission is not allowed) In reply to
This is what I got...

# Referers -- which hosts are allowed to add to your database.

@db_referers = (allofmaine.com, www.allofmaine.com, 209.224.109.143);


(Anything wrong there? My domain name is Http://allofmaine.com (209.224.109.143)
Quote Reply
Re: Can't Add Sites (Auto submission is not allowed) In reply to
I believe the problem is that the array elements should be in either single or double quotations:


@db_referers = ('allofmaine.com', 'www.allofmaine.com', '209.224.109.143');


Dan Smile


Quote Reply
Re: Can't Add Sites (Auto submission is not allowed) In reply to
Just replying to let everyone know I bypassed my problem. Since there is no security issues with someone trying to add to my database from an outside source I simply removed the
"@db_referers" from the links.cfg and now anyone can submit new urls Smile
Quote Reply
Re: Can't Add Sites (Auto submission is not allowed) In reply to
I've got same problem. I know cgi/perl pretty
well but this stumps me. my dbreferrer array is perfect but it still thinks it coming different server.
This is what i got now.
@db_referers = (todaysinternet.com);

I won't leave it blank because I know from my friends site he gets hundreds auto submissions eveyrday until I installed mod for v1.1. Thank You
Quote Reply
Re: Can't Add Sites (Auto submission is not allowed) In reply to
 
Quote:
@db_referers = (todaysinternet.com);

As Dan said, put the domain inside single quotes, as in:

Quote:
@db_referers = ('todaysinternet.com');

I hope this helps.
Quote Reply
Re: Can't Add Sites (Auto submission is not allowed) In reply to
 
Hehe I feel so stupid. sorry. Thank you very much