Login | Sign up | Toll-Free: 1-800-752-0455
 
 

Forum

 

11 posts by 4 authors in: Forums > CMS Builder
Last Post: July 15, 2008

We are designing a site for a church using CMS builder as a backend CMS solution. It is a really wonderful solution for allowing the client's appointees to be able to update the site on their own. One such area that will be updated by church volunteers is an "audio" section. On the "audio" page, there is Flash-based audio player that loads multiple audio files from a folder and the site visitor can select the file to play within the Flash audio player. I set up the upload field in the CMS administrator to have uploaded files go into this specific folder (in the advanced features). For this client, the audio consists of the Sunday morning sermons, which are about 30 minutes long and about 15 MB large as mp3 files. Now, in order to allow the site visitor to download the files (which they cannot do from the Flash player) I am adding the CMS uploaded files code to the bottom of the page, so that any files they upload, in addition to being playable in the Flash audio player, will also be available to download from the bottom portion of the page.

Here's our issue: Smaller files will upload fine and integrate into the Flash audio player, as well as appearing at the bottom of the page to be downloaded. However, these "sermon" audio files will not upload. They process for a couple of minutes (longer in Firefox) and then you get the following error messages:

In Internet Explorer: "The page cannot be displayed."

In Firefox: "The connection was reset - The connection to the server was reset while the page was loading.
* The site could be temporarily unavailable or too busy. Try again in a few moments.
* If you are unable to load any pages, check your computer's network connection.
* If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web."

I contacted the hosting provider and they said that they had no set timeout for uploads, even given the fact that it was being done through our own CMS system (which I showed them). Also, I do not have the "maximum upload size" checked. It is not having a problem with smaller mp3 files, just larger ones, it seems.

Can anyone think of what we might be able to do to overcome this issue? My only idea so far (and one I'm not really excited about because it's not a very streamlined solution for the people who will update the site) was to just teach them how to FTP upload the files to the "audio" folder. However, I then have the issue of those files not showing up in the download area at the bottom of the page.

Thanks, in advance, for any advice.

Jeremy
---------------------------
Dwelling Productions
www.dwellingproductions.com

Re: [dwelling] Uploads failing

Hi Jeremy,

Yep, sounds like it's timing out -- even if your host has no set timeout, HTTP just wasn't designed for uploading really large files like that. FTP is probably the route to go there.

As for having it linked in CMS Builder, one option would be to create a new field for the filenames and type them in there... then add the link code to your page (like this: <a href="<?php code goes here?>">Download Audio File</a>)

With that, whatever you put into the field will be output for that field (with the correct PHP code from the code generator for that field, of course.)

Would something like that work for you?
Donna

--
support@interactivetools.com

Re: [dwelling] Uploads failing

Jeremy,

Is the user on high-speed or dialup? If you wanted to send me (FTP Login, CMS Login, and a sample file that times out) to dave@interactivetools.com I could take a look at your settings to see if anything could be adjusted.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Uploads failing

Thanks so much Dave (and Donna). I'm sending over an email now.

Jeremy
---------------------------
Dwelling Productions
www.dwellingproductions.com

Re: [dwelling] Uploads failing

Hi - I'm having the same issue here - any pdf over about 3 meg just fails to upload. But I don't have the phpinfo link that you describe in your Admin settings?

I am using CMS version 1.07 - is it time to upgrade? :-)

thanks

Jim

Re: [jimbly2] Uploads failing

Hi Jim,

You can create your own info script. Just create a new file called phpinfo.php with this contents:

<?php print phpinfo(); ?>

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Uploads failing

Hi Dave,

hope you're well - yes thanks - I remembered that just after I posted! I need to get access to the server root to revise the php.ini file now.

Re: [jimbly2] Uploads failing

Ok, keep in mind that different hosts are setup differently. Sometimes you can set those settings with an .htaccess file, sometimes they'll be in your website root in a /php.ini (beside your index.html), and sometimes you'll need to ask your host to make the changes.

If unsure, just check with your host.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Uploads failing

Hi Dave,



I've made changes to the php.ini file, but do I need to restart the webserver for the changes to take effect?



thanks

J