Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Problem Uploading SWF file

 

 


sublmnl
User

Dec 21, 2011, 6:28 PM

Post #1 of 13 (2306 views)
Shortcut
Problem Uploading SWF file Can't Post

Odd very odd.
I create an upload filed in the editor and restricted it to a swf extension with about 13 megabytes limit.
Then I went back to the editor to upload the swf file and it failed... The CMS told me to "log back in or disable the flash uploader in the general settings..."
So I did and tried the regular uploader. Half a minute later, the modal upload window loaded the CMS within the modal.

very odd.
Need Helps guys
We're running version 2.03 on this site.
I'm using the latest Chrome on OSX 5.8


(This post was edited by sublmnl on Dec 21, 2011, 6:31 PM)
Attachments: upload.png (72.7 KB)


Jason
Staff / Moderator


Dec 22, 2011, 12:10 PM

Post #2 of 13 (2274 views)
Shortcut
Re: [sublmnl] Problem Uploading SWF file [In reply to] Can't Post

Hi,

Did it log you out of the CMS? Do you find that you get logged out randomly? Do you experience this problem with any other browsers?

Let us know and we can take a closer look into this.

Thanks
---------------------------------------------------
Jason Sauchuk - Programmer 
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/ 


sublmnl
User

Dec 22, 2011, 12:21 PM

Post #3 of 13 (2272 views)
Shortcut
Re: [Jason] Problem Uploading SWF file [In reply to] Can't Post

No didn't log me out.

And I'll admit this is the first time I have ever 'allowed' a client to put up their own swf content. I usually restrict the uploader to images only.

I'll try firefox and safari later tonight if I can.


sublmnl
User

Dec 23, 2011, 5:46 AM

Post #4 of 13 (2260 views)
Shortcut
Re: [sublmnl] Problem Uploading SWF file [In reply to] Can't Post

Tried Firefox and same thing happened.
Pic attached.
It doesn't log you out.

The size limit is 13520 and I set it for 1 upload only. The extension is limited to swf only. I have it set to save to a /swf/ folder on the root of the site.
The editor is a Multi-record for this section. I don't think there is anything I missed.

Would you guys like to have a look?

Looks like we have a related post


(This post was edited by sublmnl on Dec 23, 2011, 5:48 AM)
Attachments: upload ffx.png (17.7 KB)


Jason
Staff / Moderator


Dec 23, 2011, 11:40 AM

Post #5 of 13 (2252 views)
Shortcut
Re: [sublmnl] Problem Uploading SWF file [In reply to] Can't Post

Hi,

If you could send in a 2nd Level Support Request, we can take a closer look for you.

Thanks,
---------------------------------------------------
Jason Sauchuk - Programmer 
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/ 


sublmnl
User

Jan 7, 2012, 10:11 AM

Post #6 of 13 (2003 views)
Shortcut
Re: [Jason] Problem Uploading SWF file [In reply to] Can't Post

Yeah Jason, I think I'll have to fill out a request.
I got the original source videos from the client and all they had was swf and mov. So I encoded the mov but didn't want to have a flv and a swf player so I opted for a html5 video tag.
I generated a mp4 from the mov and the section editor did the same thing as before. Telling me to turn off flash uploader, did that.... then tried the ol skool upload and the modal went back to the home CMS page when finished.
Very odd.


Jason
Staff / Moderator


Jan 8, 2012, 5:56 PM

Post #7 of 13 (1988 views)
Shortcut
Re: [sublmnl] Problem Uploading SWF file [In reply to] Can't Post

Hi,

Yes, if you could fill out the support request and then provide an example file so we an re-create the problem, we'll take a closer look into this.

Thanks
---------------------------------------------------
Jason Sauchuk - Programmer 
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/ 


azurefire
User

Jan 13, 2012, 11:37 AM

Post #8 of 13 (1895 views)
Shortcut
Re: [sublmnl] Problem Uploading SWF file [In reply to] Can't Post

I have the same problem by uploading a 100Mb ZIP or PDF file.
Smaller files are working - maybe it is a timing issue, but I am still loged in when the error message shows up


Jason
Staff / Moderator


Jan 13, 2012, 7:28 PM

Post #9 of 13 (1881 views)
Shortcut
Re: [azurefire] Problem Uploading SWF file [In reply to] Can't Post

Hi,

What is the error message you are getting?

A 100MB file is unusually large, so a timeout is very possible.

Thanks
---------------------------------------------------
Jason Sauchuk - Programmer 
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/ 


azurefire
User

Jan 13, 2012, 9:41 PM

Post #10 of 13 (1876 views)
Shortcut
Re: [Jason] Problem Uploading SWF file [In reply to] Can't Post

Hi Jason,

The message is "log back in or disable the flash uploader in the general settings..." - with turned of Flash it does not work either. We use this feature to upload files for clients and it should work for up to 1 Gb.

Thanks
Helmut


Jason
Staff / Moderator


Jan 16, 2012, 11:17 AM

Post #11 of 13 (1755 views)
Shortcut
Re: [azurefire] Problem Uploading SWF file [In reply to] Can't Post

Hi,

If smaller files are working, it definitely sounds like a timeout issue. Even if the server is configured to allow for an upload of 1Gb, the time it takes to physically upload a file that size would most likely be longer than the maximum script execution time.

Do you have a number of large files that need to be uploaded trough CMS Builder? Another option would be to upload the files through FTP and then in each record, store a path to the file.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Programmer 
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/ 


azurefire
User

Jan 18, 2012, 8:41 AM

Post #12 of 13 (1707 views)
Shortcut
Re: [Jason] Problem Uploading SWF file [In reply to] Can't Post

Hi Jason,

We would like to make this work for our client.
Is there a way to extend the script execution time?

Best Regards
Helmut Kuhn


Jason
Staff / Moderator


Jan 18, 2012, 11:24 AM

Post #13 of 13 (1705 views)
Shortcut
Re: [azurefire] Problem Uploading SWF file [In reply to] Can't Post

Hi,

We starting looking into this further, and this could also be an issue with the max file size limit on the server. We can attempt to override this by using the PHP ini_set function.

If you go into cmsAdmin/lib/init.php.

Near the top, you'll see a number of ini_set calls. Add these two:


Code
  ini_set('display_errors', '1');         // 
ini_set('display_startup_errors', '1'); //
ini_set('track_errors', '1'); // store last error in $php_errormsg
ini_set('html_errors', '0'); // don't output html links in error messages
ini_set('mysql.trace_mode', '0'); // when this is enabled SQL_CALC_FOUND_ROWS and FOUND_ROWS doesn't work: http://bugs.php.net/bug.php?id=33021

ini_set('upload_max_filesize', '150M');
ini_set('post_max_size', '150M');



You can replace 150M with whichever number you need. Please note that this is a custom change and will be overwritten if you upgrade your version of CMSB

Give this a try and let us know what you find.

Thanks.
---------------------------------------------------
Jason Sauchuk - Programmer 
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/