We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

How do you check upload file size limit? - SOLVED | Forum

Topic location: Forum home » Support » General Questions
Bobby
Bobby Feb 26 '13
I don't understand why my oxwall admin panel claims "(server limit 2 Mb)"
*see attached

I have unlimited bandwidth and unlimited storage and I've always set my own upload file sizes, from within other software admin panels.

Do I set something in cpanel? Do I set something in the database? Or is this some weird code thing in oxwall script I can delete?

EDIT: Oh yeah - and why was the field set at 2.5 upon oxwall installation but when you change/save something on that admin page, you are forced to change it to the *supposed* upload limit of 2 Mb?

2nd EDIT: Yes - I searched the forum for "limit" and read results for 2 hours, dating back to 2011...

<Bobby crossing fingers this gets answered...>
The Forum post is edited by Bobby Feb 28 '13
Attachments:
  up_limit.gif (3.26Kb)
Bob (Coder Whacker)
Bob (Coder Whacker) Feb 26 '13
Just change and save it, its the oxwall default not being read off your server. 
Bobby
Bobby Feb 27 '13
Changes do not stick. I'm not "allowed" to change higher than 2 Mb - see new attachment
Attachments:
  image.jpg (159.84Kb)
Alia Team
Alia Feb 28 '13

Bobby, Oxwall checks with the php.ini directive of your server>>reads the value for max upload file size>>pulls this value and inserts it into the " (Server limit X Mb)" line.


On my Oxwall installation I have: (Server limit 32 Mb).





>>>EDIT: Oh yeah - and why was the field set at 2.5 upon oxwall installation but when you change/save something on that admin page, you are forced to change it to the *supposed* upload limit of 2 Mb?


Oxwall's default is 2.5Mbs.

"2MB" value is pulled from your server settings.


This is done for your convenience. So that you don't have to go and compare values .

You are not allowed to exceed the value pulled from your server settings, because even if you would have been able to change the value in admin panel, this would have caused errors on the front end of your site when users tried to upload files that exceed server's max. upload size limit.


Hope that this helps.



Bobby
Bobby Feb 28 '13
A HA! Thank you, Aliia!
Problem solved. Thank you, so much.

Aliia - pleeeeeeeeeease, can you take a look at my [basic] view of php.ini? I've attached a screen grab. I know you are very busy and this is a different topic. But if you come back and see this, is there anything else to set in my php.ini to help oxwall run smoothly?

I mostly wonder: if "allow_url_include" is set to off, could this affect my ability to use the oxwall Fconnect plugin?
Pleeeeeeease look at attached image? I give a frowny face :( and then a smiley :)

Regardless - thank you, thank you, thank you for assistance and guidance.
Attachments:
  php_ini.gif (32.56Kb)
Bob Brown
Bob Brown Jul 18 '15
Does anyone know where I would locate the directive php.ini file? Is it something I could be signed into the oxwall site and do from there my calling mysite.com/php.ini? Or is it in the root directory of my server because I'm not seeing a php.ini file inside of my oxwall folder?
Tecca
Tecca Jan 4 '16
(I know it's an older topic, but it's at the top of Google).

For those still getting capped after changing the upload_max_filesize, remember you might need to change the post_max_size directive too. It's usually best to just use the same number (eg. = 20M).

Also, @Oxwall: The "Mb" language string should be replaced with "MB." These are two different  measurements. One is Megabytes (MB), used in relation to file sizes. One is Megabits (Mb), mostly used to measure download speed.