Results 1 to 3 of 3

Thread: RSS Display Boxes server change broken

  1. #1
    Join Date
    Jan 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default RSS Display Boxes server change broken

    1) Script Title:
    RSS Display Boxes
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...ybox/index.htm
    3) Describe problem:

    Yeah, instead of the rss feed displaying I get error messages such as:
    static method SimplePie_Misc::fix_protocol() should not be called statically, assuming $this from incompatible context in /home/hgcsaorg/public_html/simplepie/simplepie.inc on line 98

    from the simplepie error log
    [11-Jul-2016 23:14:35 UTC] PHP Strict Standards: Non-static method SimplePie_Misc::parse_url() should not be called statically, assuming $this from incompatible context in /home/hgcsaorg/public_html/simplepie/simplepie.inc on line 2705

    Ran the simple pie compatibility test and it reports the new server environment is OK

    checked the file permissions mentioned and they were ok

    I uploaded fresh directories and the demo.htm and when I go to demo.htm same error--see aattachment

    any ideas?

    Thanks,

    Brian
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	rss-box-error.jpg 
Views:	126 
Size:	17.0 KB 
ID:	5913  
    Last edited by jscheuer1; 07-12-2016 at 07:42 PM. Reason: format

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You have to turn off error reporting, right? i mean, it looks like it's working, just has some PHP error/warnings that you'd just as soon not see thrown in there, correct? Is that what I'm seeing in your image?

    I think you can put an @ right before the offending method, like, on line 2705, maybe (for example):

    Code:
    		$parsed = SimplePie_Misc::parse_url($url);
    could become:

    Code:
    		$parsed = @SimplePie_Misc::parse_url($url);
    Save and use that version. Do similar things with any other undesired warnings/errors.

    OR perhaps update to the most recent simple pie (a little tricky, but I think I could guide you through it, though there's no guarantee of either compatibility or fitness).
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jan 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default that was the fix!

    The admin did this for me and it started to work:

    In this file,

    /usr/local/lib/php.ini

    I changed this directive,

    error_reporting= On

    to,

    error_reporting= Off

    saved and restarted Apache.

    Quote Originally Posted by jscheuer1 View Post
    You have to turn off error reporting, right? i mean, it looks like it's working, just has some PHP error/warnings that you'd just as soon not see thrown in there, correct? Is that what I'm seeing in your image?
    Thank you very much!

Similar Threads

  1. RSS Display Boxes Help
    By gradtouch in forum Dynamic Drive scripts help
    Replies: 8
    Last Post: 01-10-2014, 05:57 PM
  2. RSS Display Boxes - Select which category to display
    By Xion in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 06-15-2011, 07:46 AM
  3. RSS Display Boxes help
    By ciuchs in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 02-19-2009, 03:06 AM
  4. RSS Display Boxes
    By guide_robert in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 10-16-2008, 01:17 PM
  5. RSS Display Boxes Help
    By tonto11 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 07-26-2007, 04:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •