<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : MP3 Player from URLKiller</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Mon, 06 Apr 2026 22:12:22 -0000</pubDate>

		<item>
			<title>scriptor</title>
			<description><![CDATA[So now some new informations ;)<br />
I set the Folder to use an older PHP Version ,) Since these i get no Error. But theres no Playlist, no comment that no files or Folder with files. There are only the Player without all.<br />
It were so nice when anybody can help me.<br />
<br />
So the Error must be in the Playlist.php.<br />
when i add a playlist.xml and edit the mp3player.php to link the xml file it function perfect... can anybody HELP to fix the Playlist.php?h<br />
<br />
here the playlist.php<br />
<pre class="code">&lt;?php 
  define('SED_CODE', TRUE); 
  
  require_once('../../../datas/config.php');
  require_once('mp3player.extconnect.php');
  require_once('../../../system/database.mysql.php'); 
  
  $fid = sed_import('fid','G','INT');
  $domain = sed_import('domain','G','TXT');
  /***************************************************************************/
  sed_sql_connect($cfg&#091;'mysqlhost'&#093;, $cfg&#091;'mysqluser'&#093;, $cfg&#091;'mysqlpassword'&#093;, $cfg&#091;'mysqldb'&#093;);
  /***************************************************************************/
  
      header(&quot;content-type:text/xml;charset=utf-8&quot;);  
      $out .= &quot;&lt;playlist version='1' xmlns='http://xspf.org/ns/0/'&gt;\n&quot;;
      $out .= &quot;&lt;trackList&gt;\n&quot;;    
      $sql = sed_sql_query(&quot;SELECT * FROM &quot;.$db_pfs_folders.&quot; WHERE pff_ispublic='1' AND pff_id='&quot;.$fid.&quot;' LIMIT 1&quot;);
      while ($row = sed_sql_fetcharray($sql))
      {
        $images = sed_sql_query(&quot;SELECT * FROM &quot;.$db_pfs.&quot; WHERE pfs_folderid='&quot;.$row&#091;'pff_id'&#093;.&quot;' AND (pfs_extension='mp3' OR pfs_extension='flv') ORDER BY pfs_date DESC&quot;);
        while ($imgrow = sed_sql_fetcharray($images))
        {         
          $search  = array($imgrow&#091;'pfs_userid'&#093;.'-','.mp3','.flv','_');
          $replace  = array('','','',' ');
          $name     = str_replace($search, $replace, $imgrow&#091;'pfs_file'&#093;);
          if($imgrow&#091;'pfs_desc'&#093;=='' || $imgrow&#091;'pfs_desc'&#093;==' ') 
          { $desc=&quot;none&quot;; } else { $desc = $imgrow&#091;'pfs_desc'&#093;; }
          $desc = explode('|',$desc);
          $out .= &quot;\t&lt;track&gt;\n&quot;;
          $out .= &quot;\t\t&lt;title&gt;&quot;.$name.&quot;&lt;/title&gt;\n&quot;;
          $out .= &quot;\t\t&lt;location&gt;&quot;.$domain.&quot;/datas/users/&quot;.$imgrow&#091;'pfs_file'&#093;.&quot;&lt;/location&gt;\n&quot;;
          if(isset($desc&#091;1&#093;)) { $out .= &quot;\t\t&lt;info&gt;&quot;.$desc&#091;1&#093;.&quot;&lt;/info&gt;\n&quot;; }
          $out .= &quot;\t\t&lt;annotation&gt;&quot;.$desc&#091;0&#093;.&quot;&lt;/annotation&gt;\n&quot;;
          $out .= &quot;\t\t&lt;creator&gt;creator&lt;/creator&gt;\n&quot;;
          if($imgrow&#091;'pfs_extension'&#093;=='mp3') {$out .= &quot;\t\t&lt;image&gt;plugins/mp3player/inc/sound.png&lt;/image&gt;\n&quot;;}
          if($imgrow&#091;'pfs_extension'&#093;=='flv') {$out .= &quot;\t\t&lt;image&gt;plugins/mp3player/inc/film.png&lt;/image&gt;\n&quot;;}
          $out .= &quot;\t&lt;/track&gt;\n&quot;;
          
        }
      }   
      
  /***************************************************************************/
      sed_sql_close();
      $out .= &quot;&lt;/trackList&gt;\n&quot;;
      $out .= &quot;&lt;/playlist&gt;\n&quot;;
  /***************************************************************************/
 
  echo $out;
  
?&gt;</pre>
<br />
An Error from the Flash say this:<br />
TypeError: Error #1009: Der Zugriff auf eine Eigenschaft oder eine Methode eines null-Objektverweises ist nicht möglich.<br />
	at com.jeroenwijering.utils::Playlister/::loaderHandler()<br />
	at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()<br />
	at flash.events::EventDispatcher/dispatchEvent()<br />
	at flash.net::URLLoader/flash.net:URLLoader::onComplete()]]></description>
			<pubDate>Sat, 28 Mar 2009 23:53:54 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2504&d=0#post10639]]></link>
		</item>
	</channel>
</rss>