*

KaloSex

  • ****
  • 135 posts
Reciprocal links problem
« 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?

*

MB Themes

Re: Reciprocal links problem
« Reply #1 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.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

KaloSex

  • ****
  • 135 posts
Re: Reciprocal links problem
« Reply #2 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..?

*

MB Themes

Re: Reciprocal links problem
« Reply #3 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.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

KaloSex

  • ****
  • 135 posts
Re: Reciprocal links problem
« Reply #4 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?

*

MB Themes

Re: Reciprocal links problem
« Reply #5 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)) {
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

KaloSex

  • ****
  • 135 posts
Re: Reciprocal links problem
« Reply #6 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!

*

MB Themes

Re: Reciprocal links problem
« Reply #7 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.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots