Forums / All Other Contributions/Addons / RSS2 Feed Contribution

RSS2 Feed Contribution

Views: 202,795

Results 941 to 955 of 955
24 Mar 2015, 2:49 PM
#941
zapme1 avatar

zapme1

Zen Follower

Join Date:
Jan 2011
Location:
Ohio
Posts:
114
Plugin Contributions:
0

RSS2 Feed Contribution

zapme1:

Hi All,

I know this is an old mod and thread, but I'm trying to use this RSS feed on my heavily modified site!
All is working fine, and I get all the info from the feed (set on Categories).....

However....

The "First Main Category" appears in every feed result, no matter what cPath is used!

The proper "sub categories" that are associated to the cPath are displayed, but that "Same 1st Main Category" is in Every Result!

Can someone PLEASE Help?

Pulling my hair out on this one!!!

The Main Category in sort position 1 always appears in the feed results no matter what the cPath is, or even if the cPath is not included at all (which makes sense)... If I disable this 1st category, then the category in sort order #2 position does the same thing! UGGH....!

Does ANYONE have any ideas?

24 Mar 2015, 3:16 PM
#942
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: RSS2 Feed Contribution

zapme1:

Pulling my hair out on this one!!!

The Main Category in sort position 1 always appears in the feed results no matter what the cPath is, or even if the cPath is not included at all (which makes sense)... If I disable this 1st category, then the category in sort order #2 position does the same thing! UGGH....!

Does ANYONE have any ideas?

You really need this? I certainly can help. But in exchange, I would like to know for what purpose do you use these rss feeds.
PM me your email and I'll send module.

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

24 Mar 2015, 4:24 PM
#943
zapme1 avatar

zapme1

Zen Follower

Join Date:
Jan 2011
Location:
Ohio
Posts:
114
Plugin Contributions:
0

Re: RSS2 Feed Contribution

a_berezin:

You really need this? I certainly can help. But in exchange, I would like to know for what purpose do you use these rss feeds.
PM me your email and I'll send module.

Thank you so much, Andrew! PM sent..... :smile:

28 Aug 2015, 8:53 PM
#944
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hi

Not sure if I should stick to this thread or not but I'll start here. I've installed rss feed version 2.1.6 on zen cart 1.5.4. PHP Version: 5.4.44 is in use. Any admin activity generates log files with the below warning.

[28-Aug-2015 14:14:55 America/Denver] PHP Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/username/public_html/zencart154/includes/functions/plugin_support.php on line 38
[28-Aug-2015 14:14:55 America/Denver] PHP Warning: file_get_contents(http://www.zen-cart.com/downloads.php?do=versioncheck&id=170%29: failed to open stream: no suitable wrapper could be found in /home/username/public_html/zencart154/includes/functions/plugin_support.php on line 38
[28-Aug-2015 14:14:55 America/Denver] PHP Warning: in_array() expects parameter 2 to be array, null given in /home/username/public_html/zencart154/includes/functions/plugin_support.php on line 42

I realize rss feed version 2.1.6 was updated for compatibility with zen cart v 1.5.0. Because of that I would just think that well maybe it really isn't compatible with zen cart 1.5.4 except just before installing rss feed I installed sitemapxml 3.2.13 which is compatible with zen cart 1.5.4 and received the very same log files. I completely uninstalled sitemapxml before installing rss feed, to deal with it later but now find the same problem happening with rss feed module. There is a php.ini file which has allow_url_fopen = Off which I briefly set to allow_url_fopen = On which didn't make a difference. I set it back to off because I don't know if it's safe to have on. I've searched around and found a few instances of this warning but haven't found a resolution for this particular instance. Is this something I should contact the host with? Any suggestions on this one?

thanks

28 Aug 2015, 11:17 PM
#945
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: RSS2 Feed Contribution

buildingblocks:

Hi

Not sure if I should stick to this thread or not but I'll start here. I've installed rss feed version 2.1.6 on zen cart 1.5.4. PHP Version: 5.4.44 is in use. Any admin activity generates log files with the below warning.

[28-Aug-2015 14:14:55 America/Denver] PHP Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/username/public_html/zencart154/includes/functions/plugin_support.php on line 38
[28-Aug-2015 14:14:55 America/Denver] PHP Warning: file_get_contents(http://www.zen-cart.com/downloads.php?do=versioncheck&id=170%29: failed to open stream: no suitable wrapper could be found in /home/username/public_html/zencart154/includes/functions/plugin_support.php on line 38
[28-Aug-2015 14:14:55 America/Denver] PHP Warning: in_array() expects parameter 2 to be array, null given in /home/username/public_html/zencart154/includes/functions/plugin_support.php on line 42

I realize rss feed version 2.1.6 was updated for compatibility with zen cart v 1.5.0. Because of that I would just think that well maybe it really isn't compatible with zen cart 1.5.4 except just before installing rss feed I installed sitemapxml 3.2.13 which is compatible with zen cart 1.5.4 and received the very same log files. I completely uninstalled sitemapxml before installing rss feed, to deal with it later but now find the same problem happening with rss feed module. There is a php.ini file which has allow_url_fopen = Off which I briefly set to allow_url_fopen = On which didn't make a difference. I set it back to off because I don't know if it's safe to have on. I've searched around and found a few instances of this warning but haven't found a resolution for this particular instance. Is this something I should contact the host with? Any suggestions on this one?

thanks

You need to contact your host and have them turn on
allow_url_fopen=on
or
allow_url_fopen = 1

If you have a copy of the php.ini file in the root of your site, find allow_url_fopen and set it to allow_url_fopen = 1

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

29 Aug 2015, 12:52 AM
#946
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: RSS2 Feed Contribution

countrycharm:

You need to contact your host and have them turn on
allow_url_fopen=on
or
allow_url_fopen = 1

If you have a copy of the php.ini file in the root of your site, find allow_url_fopen and set it to allow_url_fopen = 1

Thanks countrycharm

I contacted the host a little while ago but don't expect to hear back for a day or so since it's not an emergency and it's fri. night and weekend. I worked with the php.ini file already but I will definitely try again rereading your input. Either way will say what works out..

1 Sep 2015, 12:52 PM
#947
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: RSS2 Feed Contribution

You need to contact your host and have them turn on
allow_url_fopen=on
or
allow_url_fopen = 1

If you have a copy of the php.ini file in the root of your site, find allow_url_fopen and set it to allow_url_fopen = 1

yes, that's what it was: allow_url_fopen=on

Why it didn't work the first time I set it I don't know. The only thing I can think is sometimes changes don't happen right away, like there is caching going on. Anyway that solved my problem.

1 Sep 2015, 1:51 PM
#948
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: RSS2 Feed Contribution

buildingblocks:

yes, that's what it was: allow_url_fopen=on

Why it didn't work the first time I set it I don't know. The only thing I can think is sometimes changes don't happen right away, like there is caching going on. Anyway that solved my problem.

Glad you got it worked out....

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

8 Nov 2017, 12:43 PM
#949
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
858
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Is it possible to make RSS Feed work on ZC 1.5.5 on PHP 7.0? The page looks like an rss feed and feed title is showing, but nothing else. No logo, no contents etc... Also no Error Logs. I simply can not figure out why this is not working.

Thank You,
John

8 Nov 2017, 12:55 PM
#950
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: RSS2 Feed Contribution

bumba000:

Is it possible to make RSS Feed work on ZC 1.5.5 on PHP 7.0? The page looks like an rss feed and feed title is showing, but nothing else. No logo, no contents etc... Also no Error Logs. I simply can not figure out why this is not working.

Thank You,
John

Everything is possible. The question is whether it is necessary? Do you really have any profit from using the rss in the store? In my opinion this is an obsolete marketing tool, which no longer makes sense to use.
Do you have a different opinion? Tell me.

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

8 Nov 2017, 1:04 PM
#951
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
858
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hey Andrew! I have several other websites which are basically just content sites and each have pages that use my current live site's rss feeds for various categories. I would really like to have it working. I figured there would be some tweaking to do, but holy smokes I can not figure this one out. If you can point me in the right direction I sure would appreciate it.

Thanks a bunch,
John

8 Nov 2017, 1:47 PM
#952
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: RSS2 Feed Contribution

Hi John!

bumba000:

Hey Andrew! I have several other websites which are basically just content sites and each have pages that use my current live site's rss feeds for various categories. I would really like to have it working. I figured there would be some tweaking to do, but holy smokes I can not figure this one out. If you can point me in the right direction I sure would appreciate it.

Thanks a bunch,
John
Try to do the following:
Edit file includes/classes/rss_feed.php
Replace

function rss_feed($xmlns = array()) {

by

function __construct($xmlns = array()) {

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

8 Nov 2017, 2:05 PM
#953
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
858
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hey Andrew, No luck. Still the same result and no error logs.

Thank You,
John

8 Nov 2017, 2:25 PM
#954
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: RSS2 Feed Contribution

Hi John,

bumba000:

Hey Andrew, No luck. Still the same result and no error logs.

Thank You,
John
There is only one way - to look on the site. Send me privat access to the FTP - then I can find and fix the error.

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

9 Nov 2017, 10:30 AM
#955
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: RSS2 Feed Contribution

You can download last version from github https://github.com/AndrewBerezin/zen-cart-rss_feed
Do not judge strictly - the script is old, I have not dealt with it since 2015.

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.