Support Forums - Classified Ads Script Osclass

Osclass plugin support => Seo Plugins => Topic started by: KaloSex on February 06, 2023, 09:18:34 PM

Title: Reciprocal links problem
Post by: KaloSex on February 06, 2023, 09:18:34 PM
Hello, i face problem with the reciprocal links.

I add them normally, i save them, but i get the status "It is not possible to get content of partner's website, make sure it exists". (OF course the site exists and works normally).

No matter how many sites i add, if they are http or https, with www or without. Same status with all. I added 7-8 to test it out. Same unknown status to all

What do i need to change, so the status will work normally?
Title: Re: Reciprocal links problem
Post by: MB Themes on February 07, 2023, 10:20:27 AM
Hmm, well plugin will try to get content from link you provide and search for that link there.
If it is not possible to get content, or link is not found in that form, it will return this error.
Title: Re: Reciprocal links problem
Post by: KaloSex on February 07, 2023, 05:02:33 PM
yes but i tried on too many sites and get same result for all. So there is an error there for sure..?
Title: Re: Reciprocal links problem
Post by: MB Themes on February 09, 2023, 02:44:17 PM
Would need to check from source code.
Create support ticket and add backoffice login & ftp and someone will take closer look.
Title: Re: Reciprocal links problem
Post by: KaloSex on March 06, 2023, 11:47:04 PM
this is the php error i get:
[07-Mar-2023 00:44:10 Europe/Athens] PHP Warning:  Trying to access array offset on value of type bool in /home/fdhgdhgdfgdfc/public_html/oc-content/plugins/all_in_one/admin/reciprocal_links.php on line 48

does that help?
Title: Re: Reciprocal links problem
Post by: MB Themes on March 07, 2023, 12:38:44 PM
In that file,
find:
Code: [Select]
if($file_headers[0] <> 'HTTP/1.1 404 Not Found' and $file_headers[0] <> '' and !empty($file_headers)) {

Replace with:
Code: [Select]
if($file_headers !== false && isset($file_headers[0]) && $file_headers[0] <> 'HTTP/1.1 404 Not Found' and $file_headers[0] <> '' and !empty($file_headers)) {
Title: Re: Reciprocal links problem
Post by: KaloSex on March 07, 2023, 03:15:41 PM
Ye, now it doesn't add any error on php error log - still it cant check any site to confirm if there a reciprocal link there. I have about 20 sites there, not of them can be checked: for all of them when i add /refresh them i get:

It is not possible to get content of website https://blahblahlbla.bla


So, function still not working, but thanks for trying!
Title: Re: Reciprocal links problem
Post by: MB Themes on March 08, 2023, 12:48:33 PM
@KaloSex
It may not be always possible to connect from your server to another.
If you want we may try to check output of crawl.