Change the size of the music/video uploads

Using NEW install of V 6.1.1 free and registered.

When uploading a Music file, it requires the file to be smaller than 2 MB; most files are well over 3 MB. I have had several suggestions....changing the .htaccess file in the root (doesn't work, internal error 500).

Using Admin Settings (no way to adjust there.)

Edit php.ini file ( using Linux, no php.ini file).

What's the deal....?

Quote · 24 May 2008

I have done it with the .htaccess file, and working.

Kids first
Quote · 24 May 2008

Could you please detail what you added or edited and after what code? This would be extremely helpful.

I tried adding in what "jtadeo" wrote ... with and without "php_flag register_globals off" (I couldn't install with this code in the .htaccess file, which was another mod the "jtadeo" suggested.)

When I added his suggested code (see below) into .htaccess file, I get Error 500. I am on Linux server.

Requirements

WARNING: Before you begin, make sure you have a backup of the .htaccess file.

You have a working Dolphin install.

Instructions

1. Login to your cpanel account.
2. Go to the root of your Boonex install and find the .htaccess file. For example www.yourdomain.com/dolphin/.htaccess.
3. Update the file by adding the following:

php_value upload_max_filesize 10M

Add that after the other php directives. In my .htaccess, the top line is something like this:

php_flag register_globals Off
php_value upload_max_filesize 10M

It could also be the values you have in your admin for Max size of video file (in MB) and Max size of audio file (in MB).

To find out, login to your admin panel at http://www.yoursite.com/dolphininstall/admin/

Go to Settings > Advanced Settings

Near the bottom of the page is the area related to media files. Find Max size of video file (in MB) and Max size of audio file (in MB) and enter the max file sizes there.

I have done it with the .htaccess file, and working.

Quote · 25 May 2008

In some servers it may cause internal server error. At that time you can use php.ini

----
Quote · 25 May 2008

In some servers it may cause internal server error. At that time you can use php.ini

Using Linux....no php.ini file.

Cry

Quote · 26 May 2008

Hello Irepton,

Can you upload a music file less than 2MB? Try uploading a smaller file so we can determine that you can in fact upload a file.

It could also be your hosting. I know some hosting companies will throttle or restrict file size uploads.

I have a set up that can upload 50MB and 80MB video files with Dolphin 6.1.1.

Updating my BoonexNerd.net site.
Quote · 26 May 2008

Why are you people even wasting your time with 6.1?

Quote · 26 May 2008

Hello Irepton,

Can you upload a music file less than 2MB? Try uploading a smaller file so we can determine that you can in fact upload a file.

It could also be your hosting. I know some hosting companies will throttle or restrict file size uploads.

I have a set up that can upload 50MB and 80MB video files with Dolphin 6.1.1.

Music file (mp3) size 1.34 MB. (Still cannot upload anything over 2 MB because an alert message comes up saying "Files shouldn't exceed 2 MB!")

So I can upload the smaller file....but it says "pending" in RED. Can't find the location to "approve" in Admin, must be another code.

So I have two issues....uploading ANY file larger than 2 MB AND how to "approve" .....

Also, I use Coppermine on same server where I allow videos up 10 MB in file size to be uploaded.

Ideas....and thanks! Undecided

Quote · 26 May 2008

Not sure if this might help you or not but it did help someone that posted this and they mailed me about it. Worth a try anyway. Check this blog entry out:

http://www.boonex.com/unity/blog/entry/upload_problems

 

On a side note I kind of agree with John Bismark. I've played around with 6.1 a little but I wouldn't run a live site with it at the moment.

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 26 May 2008

Went to the link...looked at my file...here is the code for the mp3/config.xml...

<items><item key="filesCount"><![CDATA[10]]></item><item key="filesUrl"><![CDATA[#filesUrl#]]></item><item key="fileSize"><![CDATA[10]]></item><item key="fileMaxSize"><![CDATA[#fileMaxSize#]]></item><item key="adminPlayList"><![CDATA[true]]></item><item key="reporting"><![CDATA[true]]></item><item key="autoPlay"><![CDATA[true]]></item><item key="save"><![CDATA[false]]></item><item key="autoApprove"><![CDATA[false]]></item><item key="convertBitrate"><![CDATA[192]]></item></items>

Not sure if this might help you or not but it did help someone that posted this and they mailed me about it. Worth a try anyway. Check this blog entry out:

http://www.boonex.com/unity/blog/entry/upload_problems

On a side note I kind of agree with John Bismark. I've played around with 6.1 a little but I wouldn't run a live site with it at the moment.

Quote · 26 May 2008

What do you suggest....??? I want all of the features that 6.1.1 appears to offer....I've worked longer at trying to mesh Coppermine, phpBB2 and 68 Classifieds than I have so far with 6.1.1.

And posted with all of their BBs to TRY and get answers...never mind the numerous updates....

I just want something clean and simple that I can use at  several sites....

Why are you people even wasting your time with 6.1?

Quote · 26 May 2008

 

 

In some servers it may cause internal server error. At that time you can use php.ini

Using Linux....no php.ini file.

 

Cry

 

Ask your server hosts to update the server side php.ini file or put one in the root of your install

There are none so blind as those that will not see.
Quote · 26 May 2008

I wrote this simple guide a while back. Nothing fancy but it will show you how to determine whether to use .htaccess or php.ini to increase uploads and once you determine that it also includes info on how to make the changes. It was written for the beginer/novice in mind, and nothing fancy.
http://www.dvdriot.com/guides/phpini-htacess.html

 

However if you are trying to upload a file that is larger than 2mb's and a black window pops up right away and tells you something about 2mb's exceeded or file to large than the above wont help. The above info is for those trying to upload large files and at the end of the process it errors out.

 

If you can't even upload a file above 2mb's from the start it is most likely related to the particular widget not installed or configured right.

 

mp3 folder is for profile music player. music folder is for gallery music player. movie folder is for gallery videos(not the same as the video folder).

 

I know I originally had some issues with the movie player saying 2mb's thing. Which was irritating as any video is most certainly going to be over 2mb's.

 

I forget exactally but at one point I am pretty sure that I changed <item key="fileSize"><![CDATA[10]]> to something like <item key="fileMaxSize"><![CDATA[10]]> where the 10 being the size in mb's. But then on another site or host I didn't have to change this it worked right off the bat.

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 26 May 2008

Hello everyone !

From 3.1 version of Ray it watches for server variables like post_max_size and upload_max_filesize. So size of uploaded files can't be more then smallest value of mentioned variables.

Example: if you set size of files as 32 Mb, post_max_size = 8 Mb and upload_max_filesize = 2 Mb, allowed size will be equal to 2 Mb.

Ways to check and increase file sizes for Ray were described here very long ago:

http://www.boonex.com/trac/ray/wiki/GenRayTShooter#IgetUploadingfileerrorwhenuploadingaudiovideofilesinRayMediaandVideoPlayers

Regard

Quote · 26 May 2008

Please put this in a file and upload it to the root of your website then supply us with the link to the file or look at yourself for the max upload size value.

 

 

<?php phpinfo(); ?>   

 

 

save it as phpinfo.php   or what ever you want.....  then you will see even if you are on a linux server you do have a php.ini file and we can see all the values set within it.  hope that helps.

Also i think when you add php.ini values in the .htaccess file you have to drop the php_ part so you would only need to put this in it  upload_max_filesize 10M.   anyway good luck

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 26 May 2008

If you don't have root access ask your server admin to edit the php.ini

Regards,

Praveen

http://cpanel.happy-hosting.com

----
Quote · 26 May 2008

if you are running linux you have php.ini.

secondly, cant you run a local php.ini file and put the parameters in there?

if you are running on a shared server, you first of all violating all recommendations from the basic rules of running a dolphin site you need at least vps, if not dedicated so you can manipulate certain server configuration files. well that is all i have to say for now.

later,

DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 26 May 2008

if you are running linux you have php.ini.

secondly, cant you run a local php.ini file and put the parameters in there?

if you are running on a shared server, you first of all violating all recommendations from the basic rules of running a dolphin site you need at least vps, if not dedicated so you can manipulate certain server configuration files. well that is all i have to say for now.

later,

DosDawg

Second install on dedicated server....still same errors (so, shared or dedicated server not really this prob.).

Followed this diagnostic procedure:

  • To determine the reason of such problems, create a php file with the following contents, upload it in your Dolphin's root directory and run it in your browser window:
echo "<br/><b>PHP INI settings</b><br/>";
echo "<br>safe mode = ".ini_get('safe_mode');
echo "<br>disabled functions = ".ini_get('disable_functions');
echo "<br>max execution time = ".ini_get('max_execution_time');
echo "<br>post_max_size = ".ini_get('post_max_size');
echo "<br>upload max filesize = ".ini_get('upload_max_filesize');

echo "<br/><br/><b>ffmpeg output</b><pre>";
$s = realpath("ray/modules/global/app/ffmpeg.exe");
echo `$s -version 2>&1`;

Came up with this.....

safe mode =
disabled functions =
max execution time = 30
post_max_size = 8M
upload max filesize = 2M

Contacted host CO. He directed me to CGI folder.

PHP INI settings (located in CGI folder) searched with shell and it didn't bring it up before. Foot in mouth

Edited upload and post to 10 M.

Voila....I can now upload larger files.

Thanks to all you for your patience and input.

Special thanks to LeonidS who actually pointed me to a dialog of checks that I could follow.

Quote · 26 May 2008

But there still appears to be an issue when Dolphin is installed into another directory besides root.

There truly is no php.ini....so I wasn't nuts.

Perhaps the easiest thing to do for this particular install is to re-install it into the root directory.  Frown

Quote · 27 May 2008

its rare now but sometime the phpini needs to be in every folder with php files

pm me and I can tell you whats up in 30 second

I have video tutorials to help you mrpowless.com
Quote · 27 May 2008

its rare now but sometime the phpini needs to be in every folder with php files

pm me and I can tell you whats up in 30 second

You got it....

Quote · 27 May 2008

 

I wrote this simple guide a while back. Nothing fancy but it will show you how to determine whether to use .htaccess or php.ini to increase uploads and once you determine that it also includes info on how to make the changes. It was written for the beginer/novice in mind, and nothing fancy.
http://www.dvdriot.com/guides/phpini-htacess.html

 

However if you are trying to upload a file that is larger than 2mb's and a black window pops up right away and tells you something about 2mb's exceeded or file to large than the above wont help. The above info is for those trying to upload large files and at the end of the process it errors out.

 

If you can't even upload a file above 2mb's from the start it is most likely related to the particular widget not installed or configured right.

 

mp3 folder is for profile music player. music folder is for gallery music player. movie folder is for gallery videos(not the same as the video folder).

 

I know I originally had some issues with the movie player saying 2mb's thing. Which was irritating as any video is most certainly going to be over 2mb's.

 

I forget exactally but at one point I am pretty sure that I changed <item key="fileSize"><![CDATA[10]]> to something like <item key="fileMaxSize"><![CDATA[10]]> where the 10 being the size in mb's. But then on another site or host I didn't have to change this it worked right off the bat.

 

 

Gameutopia is right.  I went to ray/movies/xml/config.xml and changed that cdata value to 200 and it worked great for getting rid of an immediate pop-up of a black box stating that my max file size was 100 MB.

.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.

Quote · 20 Oct 2008

This worked for me... GREAT!!!

http://www.dvdriot.com/guides/phpini-htacess.html#cgi

Quote · 22 Oct 2008

 

Using NEW install of V 6.1.1 free and registered.

 

When uploading a Music file, it requires the file to be smaller than 2 MB; most files are well over 3 MB. I have had several suggestions....changing the .htaccess file in the root (doesn't work, internal error 500).

 

Using Admin Settings (no way to adjust there.)

 

Edit php.ini file ( using Linux, no php.ini file).

 

What's the deal....?

 Where can I download ad-free dolphin 6.0.0005?  It seems that boonex has abandoned its best version ever... Boonex HATES swingers, therefore they created dolphin 6.1 version with (couples profiles) which totally stops you from modifying files and creating an actual couples profile. The 'couples' check in the files messes up your profiles and profile modifying, MAKING you sign up as a 'male' or female' chioices.. no way to have your profile show you as a couple rather than male or female.

Quote · 5 Nov 2008

Quick ? I can upload videos but still not over 20m even tho I changed my settings to accept up to 30m. So I am thinking that maybe I need to follow the mySQL procedure in the link below.....BUT in V6.1.4 inc/db.inc.php there is not the code

@mysql_select_db($this->sDb, $this->rLink);

where I can add this code after it...anyone?

mysql_query ("SET @@local.wait_timeout=9000;");
mysql_query ("SET @@wait_timeout=9000;");
mysql_query ("SET @@local.interactive_timeout=9000;");
mysql_query ("SET @@interactive_timeout=9000;");
mysql_query ("SET @@local.connect_timeout=9000;");
mysql_query ("SET @@connect_timeout=9000;");

Hello everyone !

From 3.1 version of Ray it watches for server variables like post_max_size and upload_max_filesize. So size of uploaded files can't be more then smallest value of mentioned variables.

Example: if you set size of files as 32 Mb, post_max_size = 8 Mb and upload_max_filesize = 2 Mb, allowed size will be equal to 2 Mb.

Ways to check and increase file sizes for Ray were described here very long ago:

http://www.boonex.com/trac/ray/wiki/GenRayTShooter#IgetUploadingfileerrorwhenuploadingaudiovideofilesinRayMediaandVideoPlayers

Regard

Quote · 6 Aug 2009

der der der....well you also have to remember to change the following....

-

admin / Plugins/ Ray Suite/ Video Player/ Setings/ File size...

-

but still would like some input on the question directly above.

Quote · 6 Aug 2009
 
 
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.