*

mwindey

  • *****
  • 485 posts
Re: ssl error_log
« Reply #15 on: May 02, 2022, 10:26:57 AM »
@Marius

Try this:  In file utils.php search for:

Code: [Select]
  $fp = fsockopen($host, $port);

  if ($fp === false) {
    return false;
  }

And replace with:

Code: [Select]
if($fp = @fsockopen($host, $port, $errno, $errstr, $timeout)) {   
return true;
}else{
return false;
}
« Last Edit: May 02, 2022, 10:40:16 AM by mwindey »

*

Marius

  • ***
  • 89 posts
Re: ssl error_log
« Reply #16 on: May 03, 2022, 06:49:37 PM »
@mwindey
thank you again the error is gone
 8) 8) 8) 8) 8) 8) 8)

*

MB Themes

Re: ssl error_log
« Reply #17 on: May 03, 2022, 08:00:26 PM »
@Marius
Its not gone, just hidden  :o
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Marius

  • ***
  • 89 posts
Re: ssl error_log
« Reply #18 on: May 03, 2022, 08:43:24 PM »
can it be fixed? :-[

*

MB Themes

Re: ssl error_log
« Reply #19 on: May 04, 2022, 12:28:44 PM »
@Marius
Based on posted articles, it is some kind of issue with ssl or certificate, no idea what it root cause and what is problem :D
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Marius

  • ***
  • 89 posts
Re: ssl error_log
« Reply #20 on: May 07, 2022, 01:14:09 PM »
Osclass version: 8.0.2
the error started to be visible again
 :o

*

mwindey

  • *****
  • 485 posts
Re: ssl error_log
« Reply #21 on: May 07, 2022, 03:13:14 PM »
@Marius,

8.02 has overwritten the file.
On line 344:
Code: [Select]
  $fp = fsockopen($host, $port);Replace with:
Code: [Select]
  $fp = fsockopen($host, $port, $errno, $errstr, $timeout = 30);And let us know what error this may show....
Otherwise it is possible to hide the error again with
Code: [Select]
  $fp = @fsockopen($host, $port);This last line hides the problem but is not solving the issue.
« Last Edit: May 07, 2022, 03:29:43 PM by mwindey »

*

Marius

  • ***
  • 89 posts
Re: ssl error_log
« Reply #22 on: May 07, 2022, 04:17:39 PM »
I just announced 8)

*

Marius

  • ***
  • 89 posts
Re: ssl error_log
« Reply #23 on: May 07, 2022, 08:13:46 PM »
error occurs but very rarely
[07-May-2022 17:24:38 Europe/Bucharest] PHP Warning:  fsockopen(): unable to connect to ssl://pgn.ro:443 (Connection timed out) in /home/pgnro/public_html/oc-includes/osclass/utils.php on line 344
[07-May-2022 19:20:53 Europe/Bucharest] PHP Warning:  fsockopen(): unable to connect to ssl://pgn.ro:443 (Connection timed out) in /home/pgnro/public_html/oc-includes/osclass/utils.php on line 344

*

MB Themes

Re: ssl error_log
« Reply #24 on: May 08, 2022, 09:37:09 AM »
Yes it would not be also correct to hide it in osclass as it might hide important issues
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Marius

  • ***
  • 89 posts
Re: ssl error_log
« Reply #25 on: May 08, 2022, 02:42:14 PM »
you're right
to leave the original file?

Marked as best answer by stefanescu.marius on May 12, 2022, 10:04:54 PM
*

Ivanko

  • *****
  • 391 posts
Re: ssl error_log
« Reply #26 on: May 11, 2022, 11:53:08 AM »
Hi I had a similar issue on one of mine domain, and it is defenetly the server issue not osclass.
I have updated openssl package on server to solve the problem.
good luck  8)
« Last Edit: May 11, 2022, 02:48:04 PM by Ivanko »

*

MB Themes

Re: ssl error_log
« Reply #27 on: May 11, 2022, 04:36:09 PM »
Hi I had a similar issue on one of mine domain, and it is defenetly the server issue not osclass.
I have updated openssl package on server to solve the problem.
good luck  8)

Thanks for sharing   :-*
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Marius

  • ***
  • 89 posts
Re: ssl error_log
« Reply #28 on: May 12, 2022, 10:01:48 PM »
the problem has been solved .
thank you for help

*

MB Themes

Re: ssl error_log
« Reply #29 on: May 13, 2022, 07:58:03 PM »
Cool, all problems solved before weekend :)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots