ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

MagpieRSS and XML PHP Errors after Upgrade to 2.3.1

December 01, 2011 10:55pm

Subscribe [3]
  • #1 / Dec 01, 2011 10:55pm

    jcmaxi

    22 posts

    ExpressionEngine v2.3.1 - Build: date 20111017

    Just upgraded from 1.6.7 and get the following errors on this page:
    http://www.gloryofgodcocoa.org/index.php?/ministries/details/food_ministry

    The only two plugins I have are MagpieRSS Parser 1.3.5 and XML Encode 1.3
    I searched, but haven’t located updated versions, and cannot determine if the upgrade process relocated the plugins appropriately.
    I need help!

    A PHP Error was encountered
    Severity: User Warning
    Message: XML_ERR_NAME_REQUIRED at line 21, column 42
    Filename: plugins/pi.magpie.php
    Line Number: 997
    
    A PHP Error was encountered
    Severity: User Warning
    Message: MagpieRSS: Failed to parse RSS file. (XML_ERR_NAME_REQUIRED at line 21, column 42)
    Filename: plugins/pi.magpie.php
    Line Number: 1414
    
    A PHP Error was encountered
    Severity: Notice
    Message: Trying to get property of non-object
    Filename: plugins/pi.magpie.php
    Line Number: 104
    
    A PHP Error was encountered
    Severity: Warning
    Message: Cannot modify header information - headers already sent by (output started at /home1/jchostco/public_html/gogac/gg/codeigniter/system/core/Exceptions.php:170)
    Filename: core/Common.php
    Line Number: 405
  • #2 / Dec 02, 2011 7:55pm

    Sean C. Smith

    3818 posts

    Hi jcmaxi,

    Could you re-download ExpressionEngine 2.3.1 and then upload the system>expressionengine>plugins folder one more time. Both of the plugins you are having issues with do ship with 2.3.1

    Once you’ve done that let me know if you have any more problems.

    Sean

  • #3 / Dec 03, 2011 11:18am

    jcmaxi

    22 posts

    Thank you Sean. I did as you said and copied the two plugins from the 2nd download over the ones from the first and the related problem was NOT cleared up. My next post has the reference to magpie in the ‘details’ template.

    I temporarily removed that code and the page is fine. But I’m puzzled as to what is wrong with it since it worked before the upgrade?

  • #4 / Dec 03, 2011 12:22pm

    jcmaxi

    22 posts

    I still have the same errors here:

    http://www.gloryofgodcocoa.org/index.php?/ministries/details/youth_ministry

    Below is the ‘details’ template code referencing magpie. The rss.php url is accurate.
    What else do you suggest?

    {if segment_3=="youth_ministry"}
    {exp:magpie url="http://www.gloryofgodcocoa.org/calendar/events/rss.php?l=5" limit="2" refresh="360" parse="inward"}
           <ul class="navlist">
          {items}
          <li><a href="http://{link}">{title}</a></li>
          {/items}
          </ul>
          {/exp:magpie}
          {/if}

     

  • #5 / Dec 04, 2011 6:58am

    Sean C. Smith

    3818 posts

    Hi jcmaxi,

    I put your code into my sandbox install and had to modify it a little since it seems the syntax has changed. Even so it wasn’t working until I changed the RSS feed to one from CNN. When I add the RSS feed that you want to use the page times out with some errors. I would recommend at this time to check if the feed you are trying to import is well formed by Validating it


    Below is the mapie code with the CNN url that I had working.

    {exp:magpie url="http://rss.cnn.com/rss/cnn_topstories.rss" limit="2" refresh="360"}
           <ul class="navlist">
          {magpie:items}
          <li><a href="http://{magpie:link}">{magpie:title}</a></li>
          {/magpie:items}
          </ul>
    {/exp:magpie}

    Please let me know how this goes.

    Sean

  • #6 / Dec 04, 2011 11:26am

    Kevin Smith

    4784 posts

    Hi jcmaxi,

    Like we’re discussing in one of your other open support threads, I’m recommending temporarily restoring the backup of your site and continuing to run it as an EE 1.x-based site until we have an upgrade path for the Gallery Module in place. This will resolve the other issues you’re having for now (including the one you posted about in this thread), so I’ll close up this thread and we can continue having a discussion about your site on the support thread concerning the Gallery Module.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases