- Posts: 35
- Thank you received: 0
Support for SermonSpeaker 4.x is canceled as it is for Joomla 2.5. I will gladly assist you with minor issues but I will not fix any bugs anymore in this releases.
The fix is to upgrade to SermonSpeaker 5.x and Joomla 3.x, which is better anyway.
The fix is to upgrade to SermonSpeaker 5.x and Joomla 3.x, which is better anyway.
max. file size (flash uploader)
- michaeleino
-
Topic Author
- Offline
- Junior Member
-
Less
More
11 Feb 2013 17:52 #3048
by michaeleino
Thanks a lot.
Michael F
max. file size (flash uploader) was created by michaeleino
Hello all,
how to set/increase the maximum upload file size of flash up-loader... in php.ini it's set to 200M and I can upload up to 200M on the HTML up-loader... but with flash it's limited to approximately 100M...
Any suggestions !!!!!!?
how to set/increase the maximum upload file size of flash up-loader... in php.ini it's set to 200M and I can upload up to 200M on the HTML up-loader... but with flash it's limited to approximately 100M...
Any suggestions !!!!!!?
Thanks a lot.
Michael F
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
11 Feb 2013 18:08 #3049
by Thomas Hunziker
Replied by Thomas Hunziker on topic max. file size (flash uploader)
Now that you say it, there is a limit coded into the jacascript set to 100M. When I wrote the javascript code I thought there will be no files bigger than that for a single sermon 
I think one could just omit the parameter or set it to 0 (unlimited).
The code is in /components/com_sermonspeaker/views/frontendupload/view.html.php around line #212:
Replace the 100M to what you need.

I think one could just omit the parameter or set it to 0 (unlimited).
The code is in /components/com_sermonspeaker/views/frontendupload/view.html.php around line #212:
Code:
$uploader_script = '
window.onload = function() {
if(document.id("jform_audiofile_text")){
upload1 = new SWFUpload({
upload_url: "'.$targetURL.'",
flash_url : "'.JURI::root().'media/com_sermonspeaker/swfupload/swfupload.swf",
file_size_limit : "100MB",
file_types : "'.$audioTypes.'",
file_types_description : "'.JText::_('COM_SERMONSPEAKER_FIELD_AUDIOFILE_LABEL', 'true').'",
...
Replace the 100M to what you need.
The following user(s) said Thank You: michaeleino
Please Log in or Create an account to join the conversation.
- michaeleino
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 0
04 Mar 2013 00:13 #3155
by michaeleino
Thanks a lot.
Michael F
Replied by michaeleino on topic max. file size (flash uploader)
it some times gives me 500 error & i check all php values.. it's larger than file... and sometimes it accepts some files and othertimes not !!! could it be a MIME check problem !!?
Thanks a lot.
Michael F
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
04 Mar 2013 10:37 #3157
by Thomas Hunziker
Replied by Thomas Hunziker on topic max. file size (flash uploader)
500 error usually means that the server encontered an error. This errors should be logged in the server error log.
This is most likely some sort of memory limits or time limits. For the memory limit keep in mind that actual memory usage may be higher than the size of the file is. There is always some overhead. But if the same file sometimes works and sometimes not, it's more likely a timing issue. "max_execution_time" or "max_input_time" could be worth to check.
SermonSpeaker itself doesn't check any MIME types. All it does is defining a list of file extensions which can be selected.
This is most likely some sort of memory limits or time limits. For the memory limit keep in mind that actual memory usage may be higher than the size of the file is. There is always some overhead. But if the same file sometimes works and sometimes not, it's more likely a timing issue. "max_execution_time" or "max_input_time" could be worth to check.
SermonSpeaker itself doesn't check any MIME types. All it does is defining a list of file extensions which can be selected.
Please Log in or Create an account to join the conversation.
Time to create page: 0.140 seconds