News:

Wondering if this will always be free?  See why free is better.

Main Menu

RSS Feed Poster

Started by SMFHacks.com Team, January 11, 2007, 07:46:04 PM

Previous topic - Next topic

Arskrigitsioniets

Quote from: vbgamer45 on November 17, 2021, 01:29:35 PMMake sure to always translate any text added to modifications.*.php in your languages folder.

Yes, wish translations can be shared easier. That is something I would like to see on the customize site one day.
In fact, this doesn't work. What works: I copied FeedPoster.english-utf8.php, renamed it to FeedPoster.russian-utf8.php and added translation to this file. Only after this translations works. Any new strings in modifications.russian.php, modifications.english.php, modifications.russian-utf8.php, modifications.english-utf8.php don't make any changes.

Kindred

That's what vbgamer said.
Obviously,  I you are using the utf8 versions, you need to update the utf8 modifications string file
Слова
Украина

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Cryptovestors

Getting an error when I try to add a feed. When I click the add feed button I am taken to this error page. Not sure why it keeps doing it whenever I try to add this feed.





vbgamer45

Check your forum's error log first see if anything is logged.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Cryptovestors

Quote from: vbgamer45 on May 03, 2022, 09:00:18 PMCheck your forum's error log first see if anything is logged.

No errors in the log at all.

Cryptovestors

Quote from: vbgamer45 on May 03, 2022, 09:00:18 PMCheck your forum's error log first see if anything is logged.

Any other ideas why it might not be working. The logs are not showing any errors. The error page persists.

vbgamer45

Try other feeds and see if they work. If not might be a php setting issue. Such as fopen urls not working, curl not installed, fsockopen dsiabled.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Cryptovestors

Quote from: vbgamer45 on May 04, 2022, 11:24:58 AMTry other feeds and see if they work. If not might be a php setting issue. Such as fopen urls not working, curl not installed, fsockopen dsiabled.

Thanks for replying. So, I tried a new feed and finally was able to produce an error in the logs. Also I checked with host and fopen, fsockopen and curl are all active.

[04-May-2022 11:34:32 America/New_York] PHP Fatal error:  Uncaught TypeError: Illegal offset type in /home/cryptove/public_html/community/Sources/Subs-RSS2.php:162
Stack trace:
#0 [internal function]: startElement2()
#1 /home/cryptove/public_html/community/Sources/Subs-RSS2.php(141): xml_parse()
#2 /home/cryptove/public_html/community/Sources/FeedPoster2.php(171): verify_rss_url()
#3 /home/cryptove/public_html/community/Sources/FeedPoster2.php(42): AddFeed2()
#4 /home/cryptove/public_html/community/index.php(189): FeedsMain()
#5 {main}
  thrown in /home/cryptove/public_html/community/Sources/Subs-RSS2.php on line 162

Cryptovestors

Quote from: vbgamer45 on May 04, 2022, 11:24:58 AMTry other feeds and see if they work. If not might be a php setting issue. Such as fopen urls not working, curl not installed, fsockopen dsiabled.

So I figured it out. The mod would not work with php 8.1. I downgraded to 7.4 and it works. Well at least I created a feed. Now to see if it actually will pull the feed in and post it to the site.

vbgamer45

Ah,ok that was fatal error message? I haven't done any testing on 8.1
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

vbgamer45

See if this attached file copied to sources folder works in 8.1
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Cryptovestors

Quote from: vbgamer45 on May 04, 2022, 12:47:01 PMSee if this attached file copied to sources folder works in 8.1


Will give it a try after I get it running on 7.4. I did notice that the cron job is not running right. It is showing this:

/usr/local/cpanel/bin/jailshell: https://cryptovestors.net/community/cronrss.php [nofollow]: No such file or directory

I checked the directory and cronrss.php is showing in there. Any ideas?

vbgamer45

Check that file permissions are correct on that file. That sometimes causes that issue.
You can also use the built SMF scheduled task for the cron. Two methods you can use.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Cryptovestors

Quote from: vbgamer45 on May 04, 2022, 01:58:07 PMCheck that file permissions are correct on that file. That sometimes causes that issue.
You can also use the built SMF scheduled task for the cron. Two methods you can use.

The permissions are set to 666 so no execute permissions. I am going to assume that it should be set differently.

Also, not familiar with how to use the built in SMF scheduled task.

Thanks,

Kevin

vbgamer45

Found under Admin -> Maintenance -> Scheduled Tasks
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Cryptovestors

Quote from: vbgamer45 on May 04, 2022, 02:49:43 PMFound under Admin -> Maintenance -> Scheduled Tasks

Found that. It was already selected as enabled. I check marked the run now and hit run now at bottom. However, I do not see any changes. No posts have been made at all. Also, I tried to update the permissions for the cronrss.php and it keeps giving same message that the file does not exist.

Cryptovestors

Quote from: vbgamer45 on May 04, 2022, 02:49:43 PMFound under Admin -> Maintenance -> Scheduled Tasks

Found that. It was already selected as enabled. I check marked the run now and hit run now at bottom. However, I do not see any changes. No posts have been made at all. Also, I tried to update the permissions for the cronrss.php and it keeps giving same message that the file does not exist. As of this morning even using the built in scheduled tasks nothing has posted from the feeds.

Also is it possible that because my forum is in a sub directory such as cryptovestors.net/community/ [nofollow] instead of the main root that this is causing an issue? Would this affect any commands that are supposed to run and would I need to change anything to reflect the location of my forum?


vbgamer45

Sub directory doesn't matter my test forum is in a sub directory.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Cryptovestors

Quote from: vbgamer45 on May 05, 2022, 09:14:58 AMSub directory doesn't matter my test forum is in a sub directory.

Any other ideas on why it might not be working for me?

vbgamer45

Hard to say whats the feel url?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: