Cant Change Allowed Music Upload from 2mb

doctorbull posted 8th of March 2008 in Community Voice. 11 comments.
So here is what is happening, every time i try to upload music via the "profile music" button, I fill out all the tabs, select a song and then hit "upload" but i get a pink little box popping up saying "file size shouldnt exceed 2mb" what should i do?  I changed the upload limit in the admin control panel under "advanced settings" to 10mb and clicked save, but it didnt seem to matter.  In the ray widgets manager i also set the upload limit to 10mb but i get the same message.  Am i doing something wrong? or missing something? is there a way to manually change this? I contacted my hosting and they said they do not impose a hosting limit.  So either what am i missing, or why wouldn't the changes be saving? And is there a manual way to change this?  Thank you!
 
Comments
·Oldest
·Top
Please login to post a comment.
mscott
You need to change the file sizes and max times in your .htaccess file.
mscott
Sorry, didn't mean to hit "submit".. put this in your .htaccess file ... add this:

php_value upload_max_filesize 10M
php_value post_max_size 10M
php_value register_globals off
php_value max_execution_time 1000
php_value max_input_time 1000
php_value memory_limit 10M
mrpowless
You can manually enter these values:
ray/modules/mp3/xml/config.xml
<item key="fileSize"><![CDATA[2]]></item><item key="fileMaxSize"><![CDATA[#fileMaxSize#]]>

change2 to 10
things in CDATA[this controls it]
onebluea
This worked great for me. Thanks. I changed fileMaxSize cdata value to 200.
My issue was an immediate pop-up of a black box stating that my max file size was 100 MB. This is the fix for that.

.htaccess did not work for me (server error)
php.ini did not work for me (error)
Thanks!

However, I still get an error after the file completes and the file disappears.
doctorbull
thank you for the help so far, but i am still having some issues. i checked my config file and it was showing the right values so thats not the issue, and i tried entering in the php values into my .htaccess file but when i enter it after my current .htaccess input i get an internal error 500 for all of my pages, and if i enter it withing what i currently have i see no changes. this is the only thing i have in my .htaccess file right now as without this, the profile extentions (ex. mypage.com/bob see more wasn't being created and would come up with a page not found error) so here is all that is in it now:

<IfModule mod_rewrite.c>
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule .+ - [L]
RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L]
</IfModule>

Is there something i am doing wrong, or are there different headers/footers i should be using around the php values in my .htaccess

thank you!
mscott
Put those values above the <IfModule mod_rewrite.c> and let me know what happens. Also, what host are you using?

M
DosDawg
doctorbull,
just in case you want to know what exactly you are doing with the values you are entering into the .htacess, you are or should be overriding php.ini settings. this may or may not be allowed by your hosting provider, you need not ask them if they have a quota on the hosting limit, but what is the max_upload setting on the php.ini. the information you have been provided here is accurate and depending on your hosting providers server setup, this may or may not work. since it appears you see more are allowed to use .htaccess then i would venture to say that this addition of values in the .htaccess should most likely work out for you. please post and let us know if you get anywhere?

you can also run a php script on your server and determine what the php.ini settings are for max_upload <? phpinfo (); ?> name this file, call it up in your browser, you can view your php.ini settings if this feature is not blocked from your hosting provider. if you see that the max_upload is limited to 2mb which is default, then you can take two avenues, you can post to your support and request that they increase that value, or you can try the .htaccess values.

later,
DosDawg
doctorbull
Thank you both very much for the follow up, i uploaded the php info file, and sure enough it says there is a 2mb limit, so that is where the bottle neck lies. So it looks like i will contact my hosting and see what i can do about that. I will be sure to keep you all posted on the results though!
doctorbull
ok so i contacted my hosting provider and they asked me what folders i would like to be increased, which should i tell them? Thank you again!
buzzedon
When I go to upload music , the Select audio file, it doens't work, when I click on it nothin happends, the other fields work, just not the select audio file. I have enabled everything in admin also.
DosDawg
buzzedon,
you need to start your own topic bud, you are hijacking this fellas topic, which in fact has nothing to with your issue directly.

later,
DosDawg
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.073544025421143