RSS Feed Not Working

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
netmarketer
 
 
Posts: 14
Joined: Thu Aug 27, 2015 12:16 pm

RSS Feed Not Working

Post by netmarketer »

Hi,

Website: https://www.digitalkrypto.com

I am not sure if it is a WWB problem or perhaps on my server side.
I created a php.ini file in the same folder (Pablo's suggestion on another post - allow_url_fopen=0)
I have tried all possible configurations, but with no luck.

This is from the error log file of the last configuration I used from the server:

[19-May-2021 17:58:50 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/digita34/public_html/newsfeedticker2_feed.php on line 5
[19-May-2021 17:58:50 UTC] PHP Warning: file_get_contents(https://cointelegraph.com/rss.xml): failed to open stream: no suitable wrapper could be found in /home/digita34/public_html/newsfeedticker2_feed.php on line 5
[19-May-2021 17:59:10 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/digita34/public_html/newsfeedticker2_feed.php on line 5
[19-May-2021 17:59:10 UTC] PHP Warning: file_get_contents(https://cointelegraph.com/rss.xml): failed to open stream: no suitable wrapper could be found in /home/digita34/public_html/newsfeedticker2_feed.php on line 5


Thanks for any help.
User avatar
Pablo
 
Posts: 23542
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: RSS Feed Not Working

Post by Pablo »

allow_url_fopen should be set to '1'
https://www.php.net/manual/en/filesyste ... ration.php
netmarketer
 
 
Posts: 14
Joined: Thu Aug 27, 2015 12:16 pm

Re: RSS Feed Not Working

Post by netmarketer »

I tried but it did not work.

This is the php.ini file that I used:

<?php

allow_url_fopen=1;

?>



The error log file shows a problem on line 5 of the newsfeederticker2_feed.php file:

[20-May-2021 07:28:09 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/digita34/public_html/newsfeedticker2_feed.php on line 5

(It doesn't seem to recognize the php.ini file where fopen=1)


This is the newsfeedticker2_feed php file:

<?php

header('Content-Type: text/xml');

print file_get_contents('https://cointelegraph.com/rss.xml');

?>



I will contact the hosting company's support today to see if the problem is on the server side.
User avatar
Pablo
 
Posts: 23542
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: RSS Feed Not Working

Post by Pablo »

The error indicates that the option is either disabled or not supported by the server.
netmarketer
 
 
Posts: 14
Joined: Thu Aug 27, 2015 12:16 pm

Re: RSS Feed Not Working

Post by netmarketer »

I contacted support and they activated allow_url_fopen=1.

I uploaded the site and tried again and still did not work.

However the error log gave a different error related to permissions.

When I sent the error log to support, the ticket was elevated to Tier 2. I also asked about cURL.

I am pretty sure this is a server problem.

I will let you know the result after I get it resolved, in case it might be useful for someone else in the future.
netmarketer
 
 
Posts: 14
Joined: Thu Aug 27, 2015 12:16 pm

Re: RSS Feed Not Working

Post by netmarketer »

Apparently maybe not on server side. This is the reply from Tier 2:

-----------------------------------------------------------------------------------------------
Yes, cURL is enabled on our servers and I have manually sent HTTP GET request to https://cointelegraph.com/rss.xml and got the same "HTTP/1.1 403 Forbidden" response:
#######
digita34@chi116 [~/public_html]# curl -i -X GET https://cointelegraph.com/rss.xml
HTTP/1.1 403 Forbidden
Date: Thu, 20 May 2021 09:46:25 GMT
Content-Type: text/plain; charset=UTF-8
Content-Length: 16
Connection: keep-alive
X-Frame-Options: SAMEORIGIN
Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Thu, 01 Jan 1970 00:00:01 GMT
cf-request-id: 0a2ac4608700003fae18232000000001
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-c ... /expect-ct"
Server: cloudflare
CF-RAY: 6524a3473f723fae-ORD
#######

Please make sure that incoming HTTP request is not blocked on cointelegraph.com server side, IP 104.20.40.71 of this belongs to Cloudflare network.

-----------------------------------------------------------------

I used the following RSS feed to test:

http://www.wysiwygwebbuilder.com/rss.xml

and it works fine.

So, I don't know where to turn at this point. Any ideas would be appreciated.

Thanks for the help with the troubleshooting, Pablo.
User avatar
Pablo
 
Posts: 23542
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: RSS Feed Not Working

Post by Pablo »

This is most likely a security related issue.
This is not something I can help you with, this is unrelated to the software.
netmarketer
 
 
Posts: 14
Joined: Thu Aug 27, 2015 12:16 pm

Re: RSS Feed Not Working

Post by netmarketer »

The software works fine.

The problem was with a number of RSS feeds. I did find one that worked.

It is definitely a security issue.

Maybe time to look for another hosting service.
Post Reply