<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Upload Feature Error</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Upload-Feature-Error-73099</link>
        <description></description>
        <pubDate>Mon, 20 Apr 2026 11:04:32 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Upload-Feature-Error-73099" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [greg] Upload Feature Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2218221#post2218221</link>
          <description><![CDATA[Just a note, but we saw the same issue but not with a. SWF file. It was with a PNG that I think was saved in the CMYK colour-space.<br />This fix removed the error message and allowed us to save the record.<br />Thanks to Greg and Jason for this.<br />J.<br />]]></description>
          <pubDate>Mon, 22 Oct 2012 11:33:19 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2218221#post2218221</guid>
        </item>
                <item>
          <title>Re: [greg] Upload Feature Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2218008#post2218008</link>
          <description><![CDATA[Hi Greg, <br /><br />It is perfect! Thanks! :) <br /><br />Djulia<br />]]></description>
          <pubDate>Fri, 05 Oct 2012 12:05:57 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2218008#post2218008</guid>
        </item>
                <item>
          <title>Re: [Djulia] Upload Feature Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2218007#post2218007</link>
          <description><![CDATA[Hi Djulia,<br /><br />I think I can see what is causing the problem. Line 201 tries to get the number of channels that an image has, but an SWF file doesn't have any channels. <br /><br />If you change line 201 from :<br /><br /><code>  if ($imageData['channels'] == 4) { return sprintf(t(&quot;File '%s' isn't valid (CMYK isn't browser-safe).&quot;), htmlspecialchars($uploadInfo['name'])); }</code><br /><br />to:<br /><br /><code>  if (<span style="color:red">@</span>$imageData['channels'] == 4) { return sprintf(t(&quot;File '%s' isn't valid (CMYK isn't browser-safe).&quot;), htmlspecialchars($uploadInfo['name'])); }</code><br /><br />This should fix the problem. Let me know if it doesn't  work. <br /><br />Thanks<br /><br />Greg<br />]]></description>
          <pubDate>Fri, 05 Oct 2012 11:55:53 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2218007#post2218007</guid>
        </item>
                <item>
          <title>Re: [Jason] Upload Feature Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2218003#post2218003</link>
          <description><![CDATA[Hi Jason <br /><br />The file is [font &quot;Verdana&quot;]<span style="color: #000000"><font size="2">upload</font>[/#000000]</span>ed, but I always have PHP Notice. <br /><br />Undefined index: channels in upload_functions.php on line 201 <br /><br />An idea? <br /><br />Thanks again! <br /><br />Djulia<br />]]></description>
          <pubDate>Fri, 05 Oct 2012 03:21:12 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2218003#post2218003</guid>
        </item>
                <item>
          <title>Re: [Djulia] Upload Feature Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2218002#post2218002</link>
          <description><![CDATA[Hi Djulia,<br /><br />We've investigated this issue further and found that this is part of a PHP bug, where some .swf files are seen to have a file type of .swc:<br /><br /><a target="_blank" href="https://bugs.php.net/bug.php?id=51700">https://bugs.php.net/bug.php?id=51700</a><br /><br />Here is a work around that will be put into the next release:<br /><br /><br />*NOTE: ALWAYS make a backup of your files before changing CMS Builder source code*<br /><br /> - Open cmsAdmin/lib/upload_functions.php<br /> - In the saveUpload function (around line 207 in version 2.17), you'll see this line of code:<br /><br /><code>if ($fileExt == 'swf'  &amp;&amp; $imageType != IMAGETYPE_SWF)       { $isValidFileType = false; }</code><br /><br /> - replace this line with this:<br /><br /><code>if (in_array($fileExt, array('swf','swc')) &amp;&amp; <br />      !in_array($imageType, array(IMAGETYPE_SWF, IMAGETYPE_SWC))) { $isValidFileType = false; }</code><br /><br />Hope this helps<br />]]></description>
          <pubDate>Thu, 04 Oct 2012 14:57:31 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2218002#post2218002</guid>
        </item>
                <item>
          <title>Re: [Djulia] Upload Feature Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217990#post2217990</link>
          <description><![CDATA[Hi Djulia,<br /><br />Is it always the same swf file?  Can other files be uploaded correctly?<br /><br />If you could send in a [url http://www.interactivetools.com/support]2nd Level Support[/url] Request and let us know which section the error occurs in, we can take a look.  If you could also provide the swf file you are trying to upload, that would help as well.<br /><br />Thanks<br />]]></description>
          <pubDate>Wed, 03 Oct 2012 11:54:40 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217990#post2217990</guid>
        </item>
                <item>
          <title>Re: [Jason] Upload Feature Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217985#post2217985</link>
          <description><![CDATA[Hi Jason,<br /><br />It is with version 2.17.<br /><br />The problem occurs when a file .SWF is uploaded.<br /><br />An idea?<br /><br />Thanks!<br /><br />Djulia<br />]]></description>
          <pubDate>Tue, 02 Oct 2012 13:26:16 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217985#post2217985</guid>
        </item>
                <item>
          <title>Re: [Djulia] Upload Feature Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217984#post2217984</link>
          <description><![CDATA[Hi Djulia,<br /><br />What version of the CMS are you using?  Can you let me know at what point the error appears?<br /><br />Thanks,<br />]]></description>
          <pubDate>Tue, 02 Oct 2012 12:34:31 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217984#post2217984</guid>
        </item>
                <item>
          <title>Re: [Damon] Upload Feature Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217952#post2217952</link>
          <description><![CDATA[Hi,<br /><br />I have the same problem.<br /><br />But, I also obtain an error :  Undefined index: channels in upload_functions.php on line 201<br /><br />Is there a solution?<br /><br />Thanks!<br /><br />Djulia<br />]]></description>
          <pubDate>Fri, 28 Sep 2012 03:53:12 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217952#post2217952</guid>
        </item>
                <item>
          <title>Re: [beckstar] Upload Feature Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2214000#post2214000</link>
          <description><![CDATA[Hi,<br /><br />If there are no spaces and you are using commas top separate the allowed files types, send in a support request and I would be happy to look into it.<br /><br />Thanks!<br />]]></description>
          <pubDate>Wed, 23 Nov 2011 13:54:23 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2214000#post2214000</guid>
        </item>
                <item>
          <title>Re: [beckstar] Upload Feature Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213999#post2213999</link>
          <description><![CDATA[Yes, they are dots in the jpeg ... are there any spaces?  I almost went nuts trying to find the problem when that happened to me ... turns out I had a space in front of the extension.<br />]]></description>
          <pubDate>Wed, 23 Nov 2011 13:50:08 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213999#post2213999</guid>
        </item>
                <item>
          <title>Re: [rconring] Upload Feature Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213997#post2213997</link>
          <description><![CDATA[Thanks rconring, but I used commas, the JPEG may look like dots but they are commas.<br />]]></description>
          <pubDate>Wed, 23 Nov 2011 13:04:37 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213997#post2213997</guid>
        </item>
                <item>
          <title>Re: [beckstar] Upload Feature Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213995#post2213995</link>
          <description><![CDATA[You need to separate the file extensions with COMMAS not DOTS.  eg: jpg,swf,png<br />]]></description>
          <pubDate>Wed, 23 Nov 2011 12:53:46 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213995#post2213995</guid>
        </item>
                <item>
          <title>Re: [beckstar] Upload Feature Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213979#post2213979</link>
          <description><![CDATA[Hi Ian,<br /><br />I was able to successfully upload a swf file using a test installation of CMS Builder 2.12.<br /><br />Can you try uploading a different swf file to test?<br /><br />Send in a 2nd Level Support Request so I can take a look:<br /><a target="_blank" href="https://www.interactivetools.com/support/email_support_form.php">https://www.interactivetools.com/support/email_support_form.php</a><br /><br />Reference this forum post URL in the ticket.<br /><br />Thanks!<br />]]></description>
          <pubDate>Tue, 22 Nov 2011 10:08:15 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213979#post2213979</guid>
        </item>
                <item>
          <title>Upload Feature Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213977#post2213977</link>
          <description><![CDATA[Dear CMS Builder Team,<br /><br />I've been working with the tool for some time now and I've noticed that version 2.12 is disallowing the upload of .SWF file types. It returns the following error: File 'filename.swf' isn't a valid 'swf' file.<br /><br />It does even when you specify swf in the File extensions allowed: field in the input validation.<br /><br />Please assist as I have a great need to continue uploading swf file types via this method.<br /><br />I've attached a copy of the screens in question. Also, I've tested this on more than one installations of the product with the same version.<br /><br />Thanks in advance.<br /><br />Ian<br />]]></description>
          <pubDate>Tue, 22 Nov 2011 05:34:24 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213977#post2213977</guid>
        </item>
              </channel>
    </rss>
  