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.

PHP Error related to Podcast after upgrade to 2.3.1

December 02, 2011 1:46pm

Subscribe [2]
  • #1 / Dec 02, 2011 1:46pm

    jcmaxi

    22 posts

    ExpressionEngine v2.3.1 - Build: date 20111017

    I just upgraded from 1.6.7 to 2.3.1 and there are a few code errors, the most serious is a PHP Error in audio section of the site where podcasts are posted.

    There is also a wimpy button on this template.
    Not sure if my XML Encode Version 1.3 plugin is related to this problem or not.
    Since the script worked before, and I’m not very knowledgeable in PHP, I need help!

    PHP Error Location—http://www.gloryofgodcocoa.org/index.php?/audio-messages

    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Channel::parse_related_entries() [channel.parse-related-entries]: 
    The script tried to execute a method or access a property of an incomplete 
    object. Please ensure that the class definition "DB_Cache" of the object 
    you are trying to operate on was loaded _before_ unserialize() gets called 
    or provide a __autoload() function to load the class definition
    
    Filename: channel/mod.channel.php
    
    Line Number: 448

    Here’s the podcast script:

    {exp:rss:feed channel="audio-messages"}
    <?xml version="1.0" encoding="UTF-8"?>
    <rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
    <channel>
    <ttl>60</ttl>
    <title>Glory of God Church Podcast</title>
    <link>http://www.gloryofgodcocoa.org</link>
    <language>en-us</language>
    <copyright>Glory of God Church, Cocoa</copyright>
    <description>Sermon Messages and Bible Readings</description>
    <itunes:subtitle>Authentic in Life, Passionate in Worship and Committed to Christ</itunes:subtitle>
    <itunes:author>Glory of God Church</itunes:author>
    <itunes:summary>{exp:xml_encode}Messages from the Rector and Bible readings by the people of Glory of God Church in Cocoa, FL.  ExpressionEngine is powering this podcast feed.{/exp:xml_encode}</itunes:summary>
    <itunes:owner>
    <itunes:name>Glory of God Church</itunes:name>
    <itunes:email>[email protected]</itunes:email>
    </itunes:owner>
    <itunes:image href="http://www.gloryofgodcocoa.org/podcast.png" >
    <itunes:category text="Religion & Spirituality">
    <itunes:category text="Christianity">
    </itunes:category>
    <itunes:explicit>no</itunes:explicit>
    {exp:channel:entries channel="audio-messages"}
    <item>
    <title>{exp:xml_encode}{title}{/exp:xml_encode}</title>
    <itunes:author>Glory of God Church</itunes:author>
    <itunes:subtitle>{exp:xml_encode}{title}{/exp:xml_encode}</itunes:subtitle>
    <itunes:summary>{exp:html_strip}{exp:xml_encode}{message_summary}{/exp:xml_encode}{/exp:html_strip}</itunes:summary>
    <enclosure url="{site_url}audio_files/{audio_file}" length="{message_length}" type="audio/mpeg" >
    <guid>{title_permalink=audio-messages/comments}</guid>
    {entry_date format="%D, %d %M %Y %H:%i:%s %O"}</pubDate>
    <itunes:duration>{message_length}</itunes:duration>
    <itunes:keywords>anglican,church</itunes:keywords>
    </item>
    {/exp:channel:entries}
    </channel>
    </rss>
    {/exp:rss:feed}
  • #2 / Dec 04, 2011 11:10am

    Kevin Smith

    4784 posts

    For reference, this is a duplicate of this thread in support.

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

ExpressionEngine News!

#eecms, #events, #releases