Hi. I have installed the free version of Dolphin + Ray + Orca
I have activated and configured the music player and now I want to upload some music to see it in action but I got this error:
File size shouldn't exceeded 2MB
I have asked my hosting provider how I could increase the maximum upload limit, so they told me to do this:
create a php.ini with this line into it:
upload_max_size= xM
Where x is the new size (Mo) I want to use.
I done that, but I still get that error, so I can't upload files higher than 2 MB. This is a limit of the player? Because I checked in Ray configuration and there I have set 10 MB. It could be somewhere else?
Please help me, I can't find this out!
Thankyou
|
Hi this asked and answered severall times here, please do a search...
Thanks Kids first |
I have searched but it doesn't help me.
I only see solutions like: make changes in php.ini or .htaccess but neither of this helps me. I tried to increase the maximum file upload of both ways but no still working.
So I'm asking you if there is a possible solution or something can be done to upload files higher than 2MB.
Pleasee help.
Thanks.
|
If you already checked your php.ini file, then check in your database the max. upload size allowed for photos, music and video. Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine. |
It is more than likely the default setting of your hosting company. Just call or email them and tell them you would like it increased. Thats what I did. No code changes. |
This assumes you have your settings in admin and ray suite all set to over 2 MB
http://www.boonex.com/trac/ray/wiki/GenRayTshooter
look for the part of the file you can make to see your settings
then with that in mind changes to your htaccess or php.ini will take place immediatley
if they dont then the way it is written is wrong
for clarity your line is wrong as there are a couple ways to write lines into these files.
In one case I had a host that would only take a file called php5.ini
another it would only take a FULL php.ini file before it would work.....please pm me for it
I have video tutorials to help you mrpowless.com |
I have created an php file in the root of dolphin installation with this code:
<?php 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`;
?>
The output was this:
PHP INI settings
safe mode = 0 disabled functions = max execution time = 30 post_max_size = 8M upload max filesize = 10M
ffmpeg output
FFmpeg version SVN-r10832, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static
libavutil version: 49.5.0
libavcodec version: 51.46.1
libavformat version: 51.16.1
built on Oct 22 2007 21:09:01, gcc: 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
FFmpeg SVN-r10832
libavutil 3212544
libavcodec 3354113
libavformat 3346433
So I think my php.ini file it´s configured ok, but when I go to upload a mp3 file I still get 2MB limit. Anyone has an idea of what it could be the problem?
THankyou
|
These numbers are very small: max execution time = 30 post_max_size = 8M upload max filesize = 10M
Most files espically videos these days that are less than 8M/10M.
Increase these numbers a lot.
Also check and increase: max_input_time memory_limit
Also try a forum search when you get a chance. You will find a lot of other info about this topic here is just a small example: http://www.boonex.com/unity/forums/#action=goto&search_result=1&2%20MB&tlts&0&&topics DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources |
I have made the changes into the php.ini file and here is the output again:
PHP INI settings
safe mode = 0 disabled functions = max execution time = 1000 post_max_size = 128M upload max filesize = 128M
ffmpeg output
FFmpeg version SVN-r10832, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static libavutil version: 49.5.0 libavcodec version: 51.46.1 libavformat version: 51.16.1 built on Oct 22 2007 21:09:01, gcc: 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9) FFmpeg SVN-r10832 libavutil 3212544 libavcodec 3354113 libavformat 3346433
So it stills giving me the 2MB size limit when I'm trying to upload a mp3 file higher than 2MB.
I have checked also that values gameutopia and they are:
max_input_time = -1 memory_limit = 128M
are this fine?
Any more ideas what can I do?
Thankoyu
|
php.ini in ray folder too? I have video tutorials to help you mrpowless.com |
I have solved the problem, I had to place the php.ini file into the ray folder. That was all.
Thankyou for all your answers!
|
I have creat this Php.ini
<?php 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`; ?>
and place in ray folder
and in .htacces add
php_value max_execution_time 1000
php_value upload_max_filesize 100M
php_value post_max_size 100M
Add this to the very bottom after </ifModule>
And now directly say me ERROR!
Please help
|
I thought I would add my own help here - for anyopne who comes in after this, still looking.
I got this working... I opened up my notepad program and entered this text:
post_max_size = 100m upload_max_filesize = 100m
nothing more, nothing less
saved it as "file type" = all files and name php.ini
I uploaded it inside the ray folder and all works fine!
Im on shared hosting with kiosk.w
|
ffmpeg an file upload size is a pain on shared webhosts...
Anyone tried Cirtexhost the offer ffmpeg by default in their package???
|