View Full Version : Directory does not recognize the Reciprocal Link
jeremyalyea
07-10-2005, 06:49 AM
Hello,
When users are adding their links to my site, my directory is not recognizing their link back to my site. For example:
My site is http://www.nfl-directory.com
Another NFL Site would like to add their site to my directory. When you submit the information, it returns the error "A link to http://www.nfl-directory.com could not be found at the specified URL." But the domain does in fact link back to the directory from that url. I have had several people have this problem. Does anyone know what might be causing this?
Regards,
Jeremy
MichaelMed
07-10-2005, 07:28 AM
I believe this is influenced in the administration panel, under configuration.
The site details that are entered on the top portion of this area is the link the program seems to seek.
I believe the version on my site may differ from what is currently available. However, I would still imagine that is where to look.
You should consider a donation throught the link to the left. I don't think many people have contributed much to their work thus far. Moreover, the developers are probably more apt to provide support to those whom support them.
I hope that helps.
David
07-10-2005, 06:21 PM
Interesting, I haven't seen this issue come up yet. Have you tried different versions such as with and without the www, and with and without the trailing slash?
combinacion
07-12-2005, 01:40 PM
i have the same problem
yktan
07-12-2005, 05:37 PM
Hi guys, can you try to apply the mod highlighted in this thread:
http://www.phplinkdirectory.com/forum/viewtopic.php?t=183
Tell me if it solves the problem for you. Please also make sure your website url is configured without a trailing slash (ie. http://www.yourdomain.com not http://www.yourdomain.com/ ).
combinacion
07-13-2005, 12:53 PM
I tried that:
Find:
if (!empty ($urlArray['path'])) {
Replace with:
if (!empty ($urlArray['query'])) {
But NOT works properly
achafik
07-14-2005, 01:39 AM
Hello, just reposting the fix as requested by david (combinacion, make sure that you did it right)
Open "include/functions.php"
On line 272 Find: Content visible to registered users only.Replace With: Content visible to registered users only.if you would rather download the fix, it is located here:
{old non working urls removed}
minstrel
07-14-2005, 02:56 AM
Good work...
That's the kind of line you could stare at all day and not notice the error :shock:
yktan
07-14-2005, 03:12 AM
Hi combinacion, does the mod solve the problem for you? If not, would you be able to PM me your cpanel/ftp access and your PHPLD's admin username and password so that I can have a look for you?
jeremyalyea
07-15-2005, 11:29 PM
None of the patches posted have worked for me. Now having a link ID attached to the reciprocal link has just made it even more confusing. Is there a way to leave the reciprocal link field on the form but not have it checked? Before you suggest that I turn off the "reciprocal link required" option, I have already tried that. But when someone enters something into the Reciprocal Link field when I have reciprocal links not required, the submit form fails. Any ideas?
http://www.nfl-directory.com
yktan
07-16-2005, 02:30 AM
Hi jeremyalyea, when you disabled the "reciprocal link required" option, will not be checking the reciprocal link URL for the reciprocal link back to your site.
However, if an URL is entered for the reciprocal link URL field, the system will still check if the URL is a valid one. If you want to disable that validation when "reciprocal link required" option is disabled, do this:
Open templates\submit.tpl
Find:
Content visible to registered users only.
Replace with:
Content visible to registered users only.
jeremyalyea
07-16-2005, 03:30 AM
Content visible to registered users only.
That looks like it would work if I weren't going to require a reciprocal link. Instead I just removed the reciprocal link validator in submit.php but left the admin panel setting to require a recirprocal link. This makes the page appear as if it is a required field, but the form does not check it. Pretty shady work around, but it'll work until they get the bugs worked out of this version.
combinacion
08-10-2005, 10:49 AM
Hello, i have installed the new RC4, and changed:
Find:
if (!empty ($urlArray['path'])) {
Replace with:
if (!empty ($urlArray['query'])) {
But when i send a valid reciprocal link, it not works. The script is installed in:
{url seems to have moved}
Regards
yktan
08-10-2005, 11:53 AM
Does the link in the reciprocal link have the ID field?
David
08-10-2005, 03:22 PM
I see it does contain the ID tag. In the WebSVN (newest version), this feature has been made optional.
combinacion
08-10-2005, 03:32 PM
yktan: Yes, the link in the reciprocal link have the ID field, but it doesn't works.
David: It's a problem of the ID tag? In the release RC3, this tag did not appears, and i had the same problem.
What can i do?
(if you wish, try to send reciprocal link to validate that)
David
08-10-2005, 03:44 PM
I'm not extremely familiar with the exact issue, but if you like, we can help you upgrade to the latest version in the WebSVN, or you can just install it and test it. I remember there were some problems in the past, but I don't recall the solution.
Ap0s7le
08-10-2005, 05:51 PM
combinacion, The problem is the ID. It has to be in the url that the other site is linking to you from.
For example, I submitted a link and it told me no link was found on my site etc. So I added your link with the ID and it accepted it.
So this will work fine for you, just make sure whatever sites that link to you use the code provided by the directory OR upgrade to the current version and shut off the ID feature.
Have a great day :)
-Casey
combinacion
08-10-2005, 11:30 PM
How can i get the latest version in the WebSVN?
Thanks.
Ap0s7le
08-11-2005, 01:43 AM
This should help.
{SVN link removed. we no longer use this}
;)
On the far right it says "Tarball" click on the one and not the one towards the top.
Later!
-Casey
combinacion
08-11-2005, 11:19 AM
I get an error when i try to download the tarball:
Warning: filesize(): Stat failed for php Link Directory 2.0.tar.gz (errno=2 - No such file or directory) in [URL]dl.php on line 70
Unable to open file php Link Directory 2.0.tar.gz
Warning: fclose(): supplied argument is not a valid stream resource in [URL]/dl.php on line 86
David
08-11-2005, 03:46 PM
Content visible to registered users only.
Read his post again...you want the link on the right side (down and to the right of the one where you got that error)
combinacion
08-12-2005, 02:31 AM
Excuse me, perhaps i'm very silly, but i don“t find the link. I saw the source code too, and i don't find the link. It appears:
Current Directory: [/] - View Log - Compare with Previous - Tarball - RSS feed
Path Log Tarball RSS feed
And there isn't link. Perhaps there is any problem. Can you post the link here or see if there is any problem in that page?
Thanks. Regards
David
08-12-2005, 03:53 AM
Combinacion, you are correct...sorry about that.
There is something missing in the WebSVN right now that we are working to resolve, and I hope we'll get it working again shortly.
Thanks,
David
Ap0s7le
08-24-2005, 06:50 PM
combinacion, I don't know if this was ever fixed for you.
Did you ever upgrade? If not, you can get RC5.2 in the downloads section.
Let me know :)
-Casey
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.