News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

RSS Feeder

Started by SlammedDime, January 11, 2009, 06:06:42 AM

Previous topic - Next topic

Spuds

Quote from: nvcnvn on April 10, 2010, 10:24:49 PM
I,m sr but......how can I run this MOD!? How to let it start to post!?
When I run:
Allowed memory size of 8388608 bytes exhausted (tried to allocate 393216   bytes)
################# IFxed this error by editing php.nin
But I don't know why after I run it by checking "Run now" in  Scheduled  Tasks, nothings happen! No new post
http://ads.hocvui.net/index.php SMF 2 RC 3

Anything in your admin error logs?

nvcnvn

Quote from: Spuds on April 11, 2010, 09:22:34 PM
Quote from: nvcnvn on April 10, 2010, 10:24:49 PM
I,m sr but......how can I run this MOD!? How to let it start to post!?
When I run:
Allowed memory size of 8388608 bytes exhausted (tried to allocate 393216   bytes)
################# IFxed this error by editing php.nin
But I don't know why after I run it by checking "Run now" in  Scheduled  Tasks, nothings happen! No new post
http://ads.hocvui.net/index.php SMF 2 RC 3

Anything in your admin error logs?
Thanks you! I know what was happened! Your MOD is the best!

madfitz

Quote from: madfitz on April 05, 2010, 09:26:34 AM
Apologies if this has been asked before (I couldn't find it in this topic). The mod seems to work perfectly but my error log is filling up with this:

[05-Apr-2010 05:51:38] PHP Strict Standards:  Non-static method SimplePie_Misc::change_encoding() should not be called statically, assuming $this from incompatible context in /home/.../Sources/Subs-Rss.php on line 15046
[05-Apr-2010 05:51:38] PHP Strict Standards:  Non-static method SimplePie_Misc::encoding() should not be called statically, assuming $this from incompatible context in /home/.../Sources/Subs-Rss.php on line 9517
[05-Apr-2010 05:51:38] PHP Strict Standards:  Non-static method SimplePie_Misc::encoding() should not be called statically, assuming $this from incompatible context in /home/.../Sources/Subs-Rss.php on line 9518


Is there a way to stop this?

Thanks.

Bumpy bumpy.

Spuds

#1023
Quote from: madfitz on April 12, 2010, 02:15:32 PM
Quote from: madfitz on April 05, 2010, 09:26:34 AM
Apologies if this has been asked before (I couldn't find it in this topic). The mod seems to work perfectly but my error log is filling up with this:

[05-Apr-2010 05:51:38] PHP Strict Standards:  Non-static method SimplePie_Misc::change_encoding() should not be called statically, assuming $this from incompatible context in /home/.../Sources/Subs-Rss.php on line 15046
[05-Apr-2010 05:51:38] PHP Strict Standards:  Non-static method SimplePie_Misc::encoding() should not be called statically, assuming $this from incompatible context in /home/.../Sources/Subs-Rss.php on line 9517
[05-Apr-2010 05:51:38] PHP Strict Standards:  Non-static method SimplePie_Misc::encoding() should not be called statically, assuming $this from incompatible context in /home/.../Sources/Subs-Rss.php on line 9518


Is there a way to stop this?

Thanks.

Bumpy bumpy.

The 'error' is caused by an open source RSS reader that the mod uses (SimplePie) in this case. 

I don't know anything about the specific error, however unless you are developing code you should not have strict error reporting enabled.  Strict errors are PHP's way of letting you know that a function or construct may not be ideal for future use and may not be supported in some future release of the interpreter and will as you indicated fill up your log.

Each provider tends to have their own way of doing this, but in your php.ini file you should have a line like
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT to stop reporting this level of error

madfitz

Quote from: Spuds on April 12, 2010, 07:30:18 PM
The 'error' is caused by an open source RSS reader that the mod uses (SimplePie) in this case. 

I don't know anything about the specific error, however unless you are developing code you should not have strict error reporting enabled.  Strict errors are PHP's way of letting you know that a function or construct may not be ideal for future use and may not be supported in some future release of the interpreter and will as you indicated fill up your log.

Each provider tends to have their own way of doing this, but in your php.ini file you should have a line like
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT to stop reporting this level of error

Ah. So I can't do anything to stop it in that case (I don't have access to the php.ini file). Thanks for your answer though  ;)

Spuds

Quote from: madfitz on April 13, 2010, 12:59:19 PM
Ah. So I can't do anything to stop it in that case (I don't have access to the php.ini file). Thanks for your answer though  ;)

If you don't have access to the base ini file, or an ini file that is just for your directories, then you can add

error_reporting(error_reporting()&~E_STRICT);

just after the global statement line in the function scheduled_rss_feeder() section in the ScheduledTasks.php file in your sources directory.  I'm not positive this will work with E_STRICT errors due to where/when they are generated, but its worth a try.

madfitz

Thanks. I'll try it and let you know if it doesn't work.

madfitz

Quote from: Spuds on April 13, 2010, 03:25:45 PM
Quote from: madfitz on April 13, 2010, 12:59:19 PM
Ah. So I can't do anything to stop it in that case (I don't have access to the php.ini file). Thanks for your answer though  ;)

If you don't have access to the base ini file, or an ini file that is just for your directories, then you can add

error_reporting(error_reporting()&~E_STRICT);

just after the global statement line in the function scheduled_rss_feeder() section in the ScheduledTasks.php file in your sources directory.  I'm not positive this will work with E_STRICT errors due to where/when they are generated, but its worth a try.


Thank you, that works just fine!

Abdel

I have SMF 2.0 RC3 installed with RSS Feeder. Cron is executing board script every 5 minutes and there is "planed task" in SMF for RSS feeder to update topics also every 5 minutes.

The board is not beeing updated regullary though and therefore some of the newses are lost.

board: hxxp:forum.osi.org.pl/index.php?board=3.0 [nonactive]
rss feed: hxxp:www.gpwinfostrefa.pl/palio/html.run?_Instance=cms_gpw.pap.pl&_PageID=20&_OID=138&_CheckSum=-560905180 [nonactive]




Abdel

It is quite strange. The board is being updated but the posts are added not immediately after runing the task. I can see new posts in feed, run script manualy but nothing happenes. But after some times bot add's some posts to board.

aw06

Why does sometime the rss feeds deactivate themselves ?
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

aw06

Quote from: aw06 on April 20, 2010, 12:19:07 AM
Why does sometime the rss feeds deactivate themselves ?

Bump, having this problem with a particular rss feed :-[
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

roomeat

Hey guys.
I have this mod installed and it seemed to work OK.. for the first attempt but..
Now it's not posting any newsfeeds at all.
From the scheduled tasks log it looks as if it has been processed.. but nothing posted.

I am running SMF2.0 RC3 with the following mods:
* SMF2.0 RC3
* Custom theme created by stikkki from http://www.eotsdzine.com/themefactory/
* SimplePortal 2.3.2
* Aeva Media (NO.. it's not Avea lol)
* PM to New Members 1.2
* SMF4iPhone-Mod 1.0 as well as the SMF4iPhone Theme
* Twitter and Facebook Publisher mod 2.4
* Hide Topic Replies 1.5
* Team Page 3.5
* RSS Feeder 1.1.4
* SMF Arcade 2.5 RC1

Anyone able to throw some light on this issue??
We were not given dreams, without also being given the power to achieve them.

nvcnvn

Can you help me to move the link at the top of post to the bottom of post!? near the copyright!?

MATTEK

Does anyone have a website I can check out that has this mod going full force?

RC3 please. PM the site if you want
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

aw06

Check my site...
http://photojamaica.net

Look for any post with an RSS icon
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Liam.

Thanks to SlammedDime for handing this mod over to me, even though he may still reclaim it ;)

Quote from: MATTEK on May 03, 2010, 12:03:32 AM
Does anyone have a website I can check out that has this mod going full force?

RC3 please. PM the site if you want

CombatFPS Forums also use this modification, you could look there aswell as aw06's site.

Also, if anyone has any feature requests for this modification, please go ahead and request! I will be adding a new feature for the next release.

GazOutEast

Yes, Spuds has some excellent ideas and fixes - I've been watching them with interest for months.  There's many of them I'd love to see implemented as core to the mod - especially the simpler full post retrieval system.

Gaz
I have 20:20 vision - I can see anything bigger than 20" x 20"

Liam.

I've read over all of your suggestions Spud, and they're excellent, really. I'll try to include some of them in the next version, but I have also sent you a PM...

pkeffect

Is there any way to stop the feeds from being listed in the Recent Posts section of the board index ?

Advertisement: