uploading mp3 to music add-on
Permalink
Are you considering adding a paste-your-URL-to-mp3-file box to the music add-on?
I read some posts on how to increase the max size. I spent all day figuring out where my php.ini file was. I increased the max but I keep getting a 2M max message.
I can upload any size via ftp. Wouldn't it be easier if I could just call the file remotely?
I tried the htaccess hack somebody suggested but only managed to crash my site.
I copied the php.ini to where I believe the script is...an nothing.
Adding the file from remote URL did not work because the file manager did not like the file extension.
I'm no expert at php. I'm giving up :-(
I read some posts on how to increase the max size. I spent all day figuring out where my php.ini file was. I increased the max but I keep getting a 2M max message.
I can upload any size via ftp. Wouldn't it be easier if I could just call the file remotely?
I tried the htaccess hack somebody suggested but only managed to crash my site.
I copied the php.ini to where I believe the script is...an nothing.
Adding the file from remote URL did not work because the file manager did not like the file extension.
I'm no expert at php. I'm giving up :-(
Thanks fikelfikel,
I totally forgot about this help request. I've been having an awful time dealing with this. I've tried some of those fancy flash players but they are invisible if using Explorer (even IE8). And the normal html player tag renders a very ugly player.
I'm going to try this out. The missing folder, it used to happen with avatars in earlier versions of c5
I totally forgot about this help request. I've been having an awful time dealing with this. I've tried some of those fancy flash players but they are invisible if using Explorer (even IE8). And the normal html player tag renders a very ugly player.
I'm going to try this out. The missing folder, it used to happen with avatars in earlier versions of c5
This is what one of my .htaccess files looks like for altering the upload size.
<IfModule mod_php5.c>
php_value upload_max_filesize "512M"
php_value post_max_size "512M"
php_value memory_limit "512M"
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
Ignore the mod_rewrite stuff if you don't have Pretty URLS turned on. And, please someone correct me if I'm wrong, but if you are on a windows system, the module names should be *.dll not *.c
If you don't want to use the .htaccess file, make sure you change all three (upload_max_filesize, post_max_size and memory_limit) to the size you would like. for MP3s I would assume 32MB would be plenty.
If you have the ability, make sure you reset the http daemon for the changes to take effect. If you are going through a hosting company and are making changes through their php.ini editor, the changes should be close to instant.
<IfModule mod_php5.c>
php_value upload_max_filesize "512M"
php_value post_max_size "512M"
php_value memory_limit "512M"
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
Ignore the mod_rewrite stuff if you don't have Pretty URLS turned on. And, please someone correct me if I'm wrong, but if you are on a windows system, the module names should be *.dll not *.c
If you don't want to use the .htaccess file, make sure you change all three (upload_max_filesize, post_max_size and memory_limit) to the size you would like. for MP3s I would assume 32MB would be plenty.
If you have the ability, make sure you reset the http daemon for the changes to take effect. If you are going through a hosting company and are making changes through their php.ini editor, the changes should be close to instant.
Thanks ijessup, fikelfikel's instructions worked as a charmer.
I'm actually not very familiar with .htaccess, so I better not mess with that.
I did try it that day I configured the php.ini but I got an error so I just put it back and started this thread, and I'm happy I did.
I'm actually not very familiar with .htaccess, so I better not mess with that.
I did try it that day I configured the php.ini but I got an error so I just put it back and started this thread, and I'm happy I did.
I'd be able to add a field for putting in your url, if you'd like