Uploading more than 2 meg mp3

Hi

 

I get an error box pop up in Ray, if I try and upload a music file bigger than 2 meg. I set the

params in Ray to allow 20 meg, bit no change.

 

Any ideas?

Quote · 3 Aug 2008

this seems to be the error of the day anyone has answers???

 

Quote · 3 Aug 2008

You have to check the max. size allowed for files upload in your php.ini (max. size allowed by your server).

Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine.
Quote · 3 Aug 2008

If you have dolphin 6.1x Login to your dolphin admin panel then type yoursite.com/admin/phpinfo.php

 

If you go to the link directly you will be prompted to login which will be your dolphin admin/login details.

 

This file will contain a lot of information, but you can find your max_execution_time, max_input_time, memory_limit, post_max_size, upload_max_filesize, register_globals.

 

If your post max or upload max is set to 2mb this might be why. Max execution and max input defaults are 30/60 seconds. This often is a problem once you increase the 2mb. They should be increased to more like 600-2000 seconds.

 

Register globals should be set to off. As long as your checking the file you might have a peek at them too.

 

Then near the top of the file in Server API if it says apache try increasing limits with .htaccess, if it has referrence to cgi then use/or edit php.ini file to make the increases.

 

If you have a dolphin version before 6.1 you would need to create your own phpinfo.php file or grab the one in the current release.

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

So here is the scoop ...I made the adjustments in the.htaaccess file and I am on a shared hosting environ ....so I followed the instructions from one of gameutopia past posts ..all the parameters as set as reccomended but when I upload a file larger than 2mb the upload completes and the song show up with pending and the spining symbol next to it and just stays there ....i have left it in that state for over 30 mins and nothing the song never really loads ..and i dont even get an error ...this is in Dolphin  6.1

Quote · 4 Aug 2008

So here is the scoop ...I made the adjustments in the.htaaccess file and I am on a shared hosting environ ....so I followed the instructions from one of gameutopia past posts ..all the parameters as set as reccomended but when I upload a file larger than 2mb the upload completes and the song show up with pending and the spining symbol next to it and just stays there ....i have left it in that state for over 30 mins and nothing the song never really loads ..and i dont even get an error ...this is in Dolphin  6.1

Dolphin 6.1.? = 6.1.what

Does what you put in your .htaccess file match what now shows up in http://yoursite.com/admin/phpinfo.php?
(refresh browser)

Quote · 4 Aug 2008

6.1.1 ad free. and registered ....yes everything reflect exactly as it says in my .htaccess file

Quote · 4 Aug 2008

Does the 2mb error still pop up? Or has that gone away now, at least letting you attempt a file larger than 2 mb's?

If you can at least enter a file larger than 2mb's it would sound like this part has at least been resolved.

The other thing is make sure the mp3 has been encoded properly with a standard mp3 encoded format. Occasionally I have tried to upload an mp3 that registers/displays as an mp3, but whoever encoded it used some odd/non-standard plugin to encode it to mp3. Try another preferably one that was done with a more standard format or ripper.

Also I'm sure you have them set right but check your upload file directory to make sure it is writeable by the server so the file can be uploaded. If not it will spin and spin, do nothing, or give you somekind of error.

/ray/modules/mp3/files (profile music player)

folder/directory should be 777 on most apache api setups

/ray/modules/music/files (gallery music player)

folder directory should be 777 on most apache api setups

Some cgi/fastcgi and similar setups depending on your host but occassionally 777's aren't allowed. In this case usually a 755 would be necessary for upload. If so then a 777 could cause an error or do nothing. You would need to ask your host if this is the case what to set folders/directories in order to upload/write to on a setup like this.

But if you used .htaccess to make the changes then this would imply that you have an apache api setup, and the cgi stuff wouldn't matter in your case.

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

 Hi gameutopia,

 

So i checked the permissions they are all fine ...it attempts to let me upload file larger than 2mb but after the upload it  just sits there with the circle spinning next the pending...it have literally sat ther and look it it spin for 20 minutes hoping it will finall load...(lol) but no such luck....Any idea..why this is happening ?

 

 

Thanks to All..and all suggestions are welcomed..

Quote · 5 Aug 2008

Did you try a different mp3 that has been encoded with a common/popular codec? Or tried a few others just to rule this out?

Have you messed with video upload much to see if you have the same issue?

And you did increase the following in your yoursite.com/.htaccess and verified that the changes actually happend in phpinfo.php? Sounds like you increased them if you can now upload larger than 2mb file, or at least the form lets you know.

php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value output_buffering on
php_value max_execution_time 2000
php_value max_input_time 2000
php_value memory_limit 128M

output buffering is usually not necessary but I use it sometimes.

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

Hi gameutopia,

 

Thank you for your helping with this..its a real tuf one ....so ..one interesting thing  on the phpinfo.php results ........the Local values  shows the values placed in the .htaccess per your instriuctions however the Master values have not changed .....could this be the problem??

I will try a mp3 file encoded with a common/popular codec  and video hase same issue for larger than 2mb. 

 

 

Quote · 6 Aug 2008

Ok so the video uploaded and it was larget than 2 mb and it plays ...so its only the music..I have an issue with

Quote · 6 Aug 2008

Video's have a default of 8mb and Music has a default of 2mb. Gameutopia is correct. Your on a sharred hosting account which means you do not have direct control of the PHP.INI file. UNTIL those levels are changed in the PHP.INI file you are restricted to those limits.

 

I would recommend you contact your host and see if he/she will increase the limits.?

Quote · 6 Aug 2008

Hi everyone,

 My error logs showes this ...

[05-Aug-2008 17:35:14] PHP Warning:  include([path_to]inc/header.inc.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/izoneone/public_html/icom/ray/modules/global/inc/header.inc.php on line 10
[05-Aug-2008 17:35:14] PHP Warning:  include([path_to]inc/header.inc.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/izoneone/public_html/icom/ray/modules/global/inc/header.inc.php on line 10
[05-Aug-2008 17:35:14] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Failed opening '[path_to]inc/header.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/izoneone/public_html/icom/ray/modules/global/inc/header.inc.php on line 10
[05-Aug-2008 17:35:17] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/izoneone/public_html/icom/ray/modules/global/inc/header.inc.php:10) in /home/izoneone/public_html/icom/inc/design.inc.php on line 2041
[06-Aug-2008 13:03:37] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/izoneone/public_html/icom/mediaActions.php:63) in /home/izoneone/public_html/icom/inc/design.inc.php on line 2041

also not sure if ths is related to the issue or not but on my nav bar everything works except the MUSIC button i click it and it takes me to the music page BUT the submenu that shows up is for my account page and the music button look as if it was never clicked .......what do u all think ...

??

 

Quote · 7 Aug 2008

If you have apache api and you have made the adjustments as stated in .htaccess above your local values will change this is good. Local values is your actual site. The master is your hosts main php.ini settings which will stay the same. As long as your local values are changing this means that you have successfully over-rided your hosts main php.ini and your values in the local column are what your site will be going as and not your hosts master values.

Meaning it don't matter what your hosts php.ini file/settings are you over-rided it with your own so to speak. Many people don't know you can do this. It don't work for all setups but most it does. So despite what a host tells you or what others think you can increase these numbers usually without any interaction with your host, and without them changing the entire servers php.ini setttings/file.

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

Thanks, gameutopia

 

 

The error logs I pasted above  seen to have something to do with ray also do they make any sense to you  ?? Or to anyone else??

Quote · 7 Aug 2008

I'm fairly new to Dolphin, so I may be way off base here... but, I had the same problem with the music upload just saying "Pending" forever. I had to go into Admin>Plug-ins>Ray Suite... then, go into the Music Player settings and tick the "Auto-Approve" checkbox. Once I did that it worked fine.

I guess is gives you the option to manually approve uploaded music. So, it'll be pending until you approve it as Admin... which, I have no clue how or desire to do.

Anyway, that worked for me.

BTW, the php.ini thing worked great for the 2MB upload max. Thanks!!

Thanks!!

John

www.UntouchablesUnderground.com

Quote · 7 Aug 2008

Place a copy of your modified php.ini file in the /ray folder.  This solved the issue for me.  I had prepared a rant about all of this and then some, but decided to just tell everyone what I did.  For those of you with this issue that do not have php.ini file access, do the .htaccess fix and put it in your /ray folder.  I would assume that it should work as long as you can over-ride your hosting companies php.ini settings.  I'll be posting my rant elsewhere here once I am done reviewing all of the code in this package, including the junk that was dumped into my sql database.  Dudes, forcing your ads and Boonex propaganda into my database has made me reconsider ever purchasing this product.  I'll get into that when I post my rant.

 

Peace up and good luck. 

Quote · 7 Aug 2008

Hi All

 

 

gameutopia made all thos suggestion and I have tried them all ...the problem is After I upload a file larger than 2 MB it just sits there and not fully load...(not speaking about the pending ) NEXT to pending the circle just continues to spin indicating that the song is not fully loaded..thats my issue  usually when a soung loads fully u would see the length  of minutes the song is next to pending instaed of a spinning circle..

Hi everyone,

 My error logs showes this ...

[05-Aug-2008 17:35:14] PHP Warning:  include([path_to]inc/header.inc.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/izoneone/public_html/icom/ray/modules/global/inc/header.inc.php on line 10
[05-Aug-2008 17:35:14] PHP Warning:  include([path_to]inc/header.inc.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/izoneone/public_html/icom/ray/modules/global/inc/header.inc.php on line 10
[05-Aug-2008 17:35:14] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Failed opening '[path_to]inc/header.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/izoneone/public_html/icom/ray/modules/global/inc/header.inc.php on line 10
[05-Aug-2008 17:35:17] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/izoneone/public_html/icom/ray/modules/global/inc/header.inc.php:10) in /home/izoneone/public_html/icom/inc/design.inc.php on line 2041
[06-Aug-2008 13:03:37] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/izoneone/public_html/icom/mediaActions.php:63) in /home/izoneone/public_html/icom/inc/design.inc.php on line 2041

 

also not sure if ths is related to the issue or not but on my nav bar everything works except the MUSIC button i click it and it takes me to the music page BUT the submenu that shows up is for my account page and the music button look as if it was never clicked .......what do u all think ...

??

 

 

Quote · 7 Aug 2008

I have the same issue and have not been able to solve it. What is strange is that it works with Firefox, but not any other browser, e.g., IE 7. It is some system setting, but no one knows what it is.

Quote · 20 Aug 2008

This is not a Dolphin issue: Its a hosting thing, some only allow 2MB uploads!

 

Okay I installed Dolphin 6.1.4 only to fined that this forum talked around the point! like this as been asked before do a search ect.ect.ect. Anyway I took my site down then put up some other thing only to fined that I liked this Dolphin 6.1 So I put it up again! I am not that good at coding and still could not fined the fix on this forum only bits of info and

THE DO A SEARCH THING!

 

This Is how I fixed it:

copy and past this code into your note pad and name it:

php.ini

<?php
register_globals Off
post_max_size = 30M 
upload_max_filesize = 30M
max_execution_time = 250
AddType x-mapp-php5 .php
?>

 

 

Okay the 30M is the size. You need make it more or less. Then use your FTP program and upload it into your root Dir. Also load it into your Ray Dir

 

Hope this helps you

Quote · 23 Aug 2008

This really depends on if your hosting server is running php as apache or php as cgi. This will make a big difference. Either it wont work at all or you will get a big 500 error. So it is important to figure this out and code it to the way the server is setup.

Please see this link for more details. Read it over very well, and take your time. It does explain it all and how to do it whether php apache or cgi, and this will tell you whether to use .htaccess or php.ini.

This should almost be default reading for everyone.


gameutopia

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 23 Aug 2008
 
 
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.