PDA

View Full Version : link adding error


Anonymous
04-18-2005, 06:21 PM
Whenever I add a link myself I get the error that I need to fill out the fields 'your name', 'email adress' & 'URL of the page you placed a link to us'.

I don't want to fill that out and I don't want that error.

Also, when I ignore it, the stuff is put in the db DOUBLE! :S

David
04-18-2005, 06:31 PM
Is this when you are editing a link, or when you are adding a link?
If editing, you can ignore.

I am planning to add a whole new section in admin for Configuration, where you can select different things like required fields and decide if reciprocal links are required or not.

Anonymous
04-18-2005, 06:52 PM
This is when I add a link myself in the admin area.

I leave the fields blank and click on the submit button.
Then I get the error, I choose ignore and I get it double in my db.

Anonymous
04-18-2005, 07:22 PM
I set the row 'title' to be unique.
This works, but it's not a nice solution. ;)

David
04-19-2005, 03:13 AM
Ok, I understand the problem better now. I will get a programmer to take a look at this. Most likely, I will post a fix, as well as re-release the latest version of the software. Thank you for letting me know.

Thanks,
David

IGonza
04-19-2005, 01:32 PM
Yes, there is a little bug in the class addlink.inc.php .
Open this file.
Around line #42 :

$link->action();

Just comment it : // $link->action();

Anonymous
04-19-2005, 03:39 PM
Content visible to registered users only.

Great!

This is the fix for the double link post?
Not for the ad error removal I guess?

IGonza
04-19-2005, 04:28 PM
Yes.
But I can try to find how to delete that error.
Just a little later...

David
04-19-2005, 04:46 PM
Concerning the error checking, it tends to popup anytime there is a missing field or duplicate entry, but you can always bypass this by clicking yes to accept. This can be a good thing, as it helps prevent missing fields and dupes, but certainly could be improved in the future.