PDA

View Full Version : Reciprocal Link Not Found


pass124
10-13-2005, 04:00 AM
When I add a link using my admin panel, and require reciprical link, everything is fine, but when I add a link to the links data base normally, like a user/visitor would, it adds and see's the link, but when I RUN the link check, it says reciprical link is not found.

I need help because this is really pissing me off.

pass124
11-08-2005, 11:58 PM
anybody? I rEALLY want to use this software but it just does NOT work properly.

I turned off disabled functions in php and allowed fopen url, there is nothign else I can do to get this software to work, it does not check for reciprical links properly.

I would DEFINATELY not donate to this project if I were you guys, they don't properly bug test at all as I've tried three different versions.

Bill
11-09-2005, 02:46 AM
Content visible to registered users only.

Hey, please remember this a free project. David has spent thousands of dollars just towards this project and works very hard to keep it free. He has a life too and cant sit around the forums all day answering questions. Im sure if you be polite in asking, someone will be more than happy to help you.

Plese also use the search function to see if anything on this topic has been discussed. Please check this thread, might give you a little insight.
{url no longer in service}

-Bill

vkaryl
11-09-2005, 02:54 AM
Y'know, pass124, I don't have any problem at all doing exactly what you claim is not working....

Maybe ask your host if they've disabled something?

And BE POLITE. We're ALL volunteers, working for NOTHING. Including the programmers, mostly.

yktan
11-09-2005, 03:22 AM
Hi pass123,

The problem you are facing is probably caused by the webserver returning the page in "Chunked" mode. Try this:

Open include\functions.php
Find:
Content visible to registered users only.
REPLACE with this:
Content visible to registered users only.

This problem took me 3 hours to sort out (it takes a lot of time to troubleshoot a big application like PHPLD) but thankfully, it is funded by cvos, so write him a "Thank You" note if it wprks for you.

Regards,
York Kie

Timeless
11-09-2005, 11:51 AM
THERE is a lil mistake in the code. In the code of the submit.php is:


Content visible to registered users only.


this is not right...there failed the $id. i replaced it with this one:

Content visible to registered users only.

without the $id on this line, the checking is for sure not working...so ad the $id

yktan
11-09-2005, 01:48 PM
Content visible to registered users only.

Hi Timeless, did you reply to the wrong thread? The problem that you are talking about has nothing to do with reciprocal links not validating.

pass124
11-09-2005, 05:00 PM
alrighty, thank you very much for the replies, I will try your php code fixes and let you know if my problem is fixed.

To the person who said contact my host, I AM the host, I was talking about turning off "disabled_functions" and allow_url_fopen, only someone with ROOT access can do that, My server is cpanel/whm latest edition, and I turned all security OFF for testing of php LD, now if this fix works, I can go back and turn SOME security back on, I disabled alot of stuff LAST month for security reasons, then disabled the disabled for installing phpLD.

Are you going to release a new fixed version of the code for people to download, or is this issue only with people that use Cpanel servers ? I tried PHP LD 5.2, the beta 4 AND The latest CVS snapshot versions, NONE of them worked for reciprical link checking.

Anyways, let me test and get back to you guys..


Thanks again.

pass124
11-09-2005, 05:16 PM
uploading and reinstalling now, if this works properly, then I will hopefully become more partipating in this project and it's further development, as I love the concept of it, just really disappointed me when it doesn't work for me from the start.

Cheers~...

pass124
11-09-2005, 06:16 PM
k, tried your php code fix by commenting out those lines, did Not work man :(

What else should I try?

I created a page called 1.html on my domain, and added the link ( I submited via REGULAR submit page, not admin or anything, and copied link from the box / pasted on 1.html, uploaded, then submitted the link, and it submitted OK, so it FOUND the link when it submitted, but when I go into the admin panel and "validate links" , I select ALL the boxes and click go,

URL Link Valid Recpr. Valid Link Response Recpr. Response
mydomain.com/1.html
mydomain.com/1.html Valid Not found HTTP/1.1 200 OK Link not found


What the heck is going on? When I "validate links" it cannot find the reciprical but when i submit the link, it finds it just fine.......

Help please~!!!
lol...

oh, and I have mod rewrite installed and running on my server, but when I "enable" the url rewrite in the phpld admin panel, the directory no longer works. Weird or what?


I tried 2 .htaccess files.

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [QSA,L]


and

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [QSA,L]



neither worked.

pass124
11-09-2005, 07:17 PM
ok guys, I took 45 minutes and tested, found out that the entire problem is with the NEW method of validation, it does NOT work properly.

Below, I just added the variable $sven11 and set it equal to 1 (for true) and made it use the old method of validation and it works just fine.

Content visible to registered users only.

Anyone ever rewrite this function and make it work properly ?

Cheers~!

pass124
11-10-2005, 12:39 AM
I looked in the mysql database, and found the RECIP ID to be:

332316

but in my LINK that phpld generated for me before I added the link, is:

MYSITENAMEHERE

R32B51E does not equal 332316, so I am curious how this value is generated/interpreted.....

Any ideas?

cozmogeek
01-02-2006, 11:44 AM
It seems that your code doesn't always work either. This thing is still really broken and is forcing me to disable the reciprocal requirement for links I add myself (they get angry when they see their link with a nofollow when it shouldn't have one, which I can understand). Anyway, has there ever been an official fix released for this problem? I hacked on it myself for a while and got it so it could find this one particular link once in a while.. why it isn't consistant I have no idea. I found that my link was about 90k down inside the html file, and it seemed to be too far over to the right on the line it was on for the regexp search to find it because I don't think it was read into the page array since it looked like it was checking only the first 127 characters.

Content visible to registered users only.

StB73
01-02-2006, 02:38 PM
@all

i've debugged a lot in this case and finally found the recpro_id field in the database is only defined as varchar(6).

The ID which is given to the users on the submit.php, is a to hex converted integer.

This is made in the 'submit.tpl' at:

Content visible to registered users only.

The value written to to database is the original integer value which is 7 or more chars long.
Due to the limitation in the database (varchar(6)) the value will be cutted, and the check_recpr_link function gets a wrong input value to compare.



So i have changed my database-field to varchar(10) and it works fine until now ...

Hope this helps :lol:

pokerbankrolls
01-04-2006, 12:53 AM
Where do I go to change the varchar? Does that require me to actually change the mysql database?

StB73
01-04-2006, 08:06 AM
Yes, logon to your MySQL Database via PHPMyAdmin. Got to TABLE 'PLD_LINK' and change the definition of the FIELD 'RECPR_ID' to VARCHAR(10).

The only problem is, that the existing entries of the TABLE are already cutted when they were written in the database. The reciprocal link check will only work with future entries.

If you want to make the older links work:
- you have to look at the source code of the recriprocal link adresses
- search for your link
- note the ID (should start with R......)
- look for the integer value of that link in your database
- convert that integer value to HEX (perhaps with a php-page)
- try different values by adding 0-9 after that interger
- when the converted string matches enter to database

for example:

the value in your database is 721115 , the ID on the linkpage is R6E0892

721115 converted to HEX is B00DB --> the function is looking for RB00DB

now try to convert 7211151 --> HEX = 6E088F --> R6E088F
now try to convert 7211152 --> HEX = 6E0890 --> R6E0890
now try to convert 7211153 --> HEX = 6E0891 --> R6E0891
now try to convert 7211154 --> HEX = 6E0892 --> R6E0892 -> matches !

or simply reconvert the ID without the first digit from HEX to DECIMAL
--> R6E0892 --> 6E0892 to HEX = 7211154

StB73

pokerbankrolls
01-04-2006, 06:59 PM
It still is having trouble finding a reciprocal link where the person took the ID tag out.

StB73
01-04-2006, 07:24 PM
That's correct, if somebody takes the ID tag out, the reciprocal link isn't valid anymore ! If you manually want to fix links in your database of those people which have taken the ID tag out, you have to clear the RECPR_ID field of each dataset.

StB73

pokerbankrolls
01-04-2006, 07:49 PM
oh, ok. Thanks a lot for the help.

yanayun
01-09-2006, 04:42 AM
How to disable ID check?

75% links exchange using Database and can't add ID on theyere links.
End User will bored to modify they're script.

nostrand
01-09-2006, 07:52 AM
Thanks that worked well Vorchar(10), but try to delete your Reciprocal Link and run Validate Links one more time, mine showed Recpr. Response OK !!! :( Any1?, or maybe I made a mistake?

yanayun
01-10-2006, 05:08 AM
i was change to disable ID.
now the problem :
"URL sites and different Reciprocal links" can submit to this utility.

example :
URL : AAAAA.com
Reciprocal : BBBBB.com/links/a.html

AAAAA.com on that reciprocal)

you can found more than 5 URL using the same Reciprocal Links.

do you have idea to check URL and Reciprocal Links must Valid.
my sites always receive links from diferent URL and Reciprocal.



[quote=Ap0s7le]yanayun, view my post here.

{url no longer in service}