Fork me on GitHub

Announcement

The oneye project has been discontinued. You might not expect further fixes and support from us. All community related systems are set to read-only mode. Though feel free to download and use oneye as-is or even fork it over at GitHub.

#1 2015-06-09 07:16:53

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Download File size limit

Uhm, Another thing I "lost" when I swapped out the oneye-master for my installed and modified version is the ability to upload files larger than 2 megs.  I have modified the .htaccess files and php.ini;  what else controls this size limit?  I set it to 20M in both places yet it insists on resetting to 2M.  Previously my live hosted site allowed 128megs, but I wanted to take that down to 20. I never figured out how to do that either.  I'm missing a setting somewhere that is overriding the others.

Last edited by Wolfy (2015-06-09 07:18:11)


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#2 2015-06-09 07:39:40

sazearte
Member
From: France
Registered: 2013-10-23
Posts: 234

Re: Download File size limit

I also have this problem

Offline

#3 2015-06-09 09:54:35

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: Download File size limit

In php.ini and .htaccess (for Apache servers only), there are multiple values to change. You need to enable and eventually modify all values of "CLIENT-UPLOAD".

PS: Some webhosters disable PHP.ini files for security reasons. Those should have different ways to set these values.


Best regards,
Lars Knickrehm

The oneye project.

Offline

#4 2015-06-09 12:46:19

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Download File size limit

Hmm, before swapping to the most oneye-master, it was my hosted site on site5 linux that was allowing me to have 128m uploads.  My local windows IIS server was always restricted to 2M.  I don't know how I did it, but the answer should be saved in my backups.  I can check the .htaccess files (which if I understand aren't used with windows servers) and the php.ini which site5 isn't blocking.  Actually, I may have still been using a modified version of a php.ini that was supplied by site5 when I first had problems installing.  I'll definitely have to track that down.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#5 2015-06-09 12:54:59

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Download File size limit

lol.  looking at my backup it seems the solution was to drop the php.ini file.  I have several in the right place, but all were renamed so that none of them functioned.  My .htaccess said 20M but there was no php.ini and it seemed to ignore .htaccess and give me the entire 128M.  128M is a bit too much though.  I'll have to experiment a bit with this.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#6 2015-06-10 11:11:18

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Download File size limit

renaming all the htaccess files and php.ini files did not have the desired effect.  It seemed to have no effect at all.  So I'm still confused as to what is controlling this variable.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#7 2015-06-10 11:37:45

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Download File size limit

oh wait, I think I might see what you are saying.  In the default .htaccess, those options are commented out.  This "might" help.  It doesn't really explain about the php.ini, but it seems like a start.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#8 2015-06-10 19:51:52

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: Download File size limit

At first I recommend you to use phpinfo (that PHP function) to check the currently active PHP settings.

On IIS php.ini files do not apply per directory. There is a global php.ini file only, but options can be overwritten per directory using the registry (e.g. see http://www.iis-aid.com/articles/how_to_ … ion_values ).


Best regards,
Lars Knickrehm

The oneye project.

Offline

#9 2015-06-10 22:50:38

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Download File size limit

Ok, I think I got it.  My site5 server at least seems to be allowing 20Meg uploads as intended.  Thanks.  I don't know why it didn't click that # was a comment tag, duh.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

#10 2015-06-11 08:57:18

Wolfy
Member
Registered: 2015-05-12
Posts: 313

Re: Download File size limit

The article was a bit old, but I found the global php settings within the IIS manager and flipped all the right switches.  Local and site5 match now.  Nice.  As a side note I switched to a smaller monitor with smaller display resolution.  Things sure look cramped at "only" 1024 x 800, when I'm used to 1600 x 1200.  The old one is a crt and it's too hot to run during the summer.  I can have it back in October, maybe.


Wolfy
https://www.facebook.com/groups/oneye/
Currently accepting new users...  http://www.OS1.hawkwolf.net
onEye admins: OS1 is a beta testing hotbed. Non-core apps available upon request.

Offline

Board footer

Powered by FluxBB