|
Joined: Feb 2007
Posts: 209
Enthusiast
|
Enthusiast
Joined: Feb 2007
Posts: 209 |
Hey all,
New reinstall/install of 7.4.2 when I change the forum>permission>Max file size and then do a save changes it does not stick. When I reopen the max file size it's back to zero.
Any ideas?
Last edited by Cuervo; 11/09/2009 4:22 PM.
-Tim
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Is your includes/config.inc.php file chmodded 666?
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
First question is look at the note below the permission header: Maximum size of file attachments [-] If file attachments are enabled in the forum, this dictates how large each file attachment can be. Max size set in php.ini is ?? so you may not exceed this size. what is the value of ??
Second question is what are you entering in the field?
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Feb 2007
Posts: 209
Enthusiast
|
Enthusiast
Joined: Feb 2007
Posts: 209 |
Hey Ruben,
The info below the Maximum size of file attachments shows,
If file attachments are enabled in the forum, this dictates how large each file attachment can be. Max size set in php.ini is 250000000 so you may not exceed this size.
I assume this is bytes not megs so I just entered 2560000 to limit it at 25megs.
This line is in the php info link
upload_max_filesize 250000000 250000000
What are you refering to as "the note below the permission header"?
Am I doing this wrong.
Last edited by Cuervo; 11/09/2009 6:18 PM.
-Tim
|
|
|
|
Joined: Feb 2007
Posts: 209
Enthusiast
|
Enthusiast
Joined: Feb 2007
Posts: 209 |
Is your includes/config.inc.php file chmodded 666? Yes, Gizmo, the file is 666 and the includes directory is 777.
Last edited by Cuervo; 11/09/2009 6:21 PM.
-Tim
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
There is a bug in that version when php.ini's upload_max_filesize is specified in bytes. Do you have access to the php.ini file? If so then if you change upload_max_filesize to 25M then that will actually fix it.
Otherwise will see if we can dredge up the bug report since I *think* it has the fix in it as well.
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
Well yes. it is not in MB it is in bytes. So 1mb =1024 KB or 1048576 bytes. Your limit is way above that. So if you entered 25600 that would be 25.6 kb. Which is very very small. or did you enter 25MB?
When you stated the permission was at zero when you went back was it really zero or did you just get a error when uploading?
For a 1 mb file try entering 1048576 with no mb of gb or kb just enter 1048576.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Feb 2007
Posts: 209
Enthusiast
|
Enthusiast
Joined: Feb 2007
Posts: 209 |
There is a bug in that version when php.ini's upload_max_filesize is specified in bytes. Do you have access to the php.ini file? If so then if you change upload_max_filesize to 25M then that will actually fix it.
Otherwise will see if we can dredge up the bug report since I *think* it has the fix in it as well. Rick, I can do an advanced edit of the php.ini if you can give me the line that needs to be added to it. Or, I was going to wait until version 8 hit before I reupped my memebers area. But, I could do it now and DL the latest version. I'd really rather wait until 8 goes live.
Last edited by Cuervo; 11/09/2009 6:24 PM.
-Tim
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
Forgot about that Rick. He is at 7.4.2 so that would apply.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Feb 2007
Posts: 209
Enthusiast
|
Enthusiast
Joined: Feb 2007
Posts: 209 |
Well yes. it is not in MB it is in bytes. So 1mb =1024 KB or 1048576 bytes. Your limit is way above that. So if you entered 25600 that would be 25.6 kb. Which is very very small. or did you enter 25MB?
When you stated the permission was at zero when you went back was it really zero or did you just get a error when uploading?
For a 1 mb file try entering 1048576 with no mb of gb or kb just enter 1048576. I set the file attachment size to 2560000 and after you click update it just goes back to 0. Then when you try to do an attachment the popup window says max file size 0 bytes allow so it just fails. To claify no matter what number I enter and do save changes when I reopen the max file size it is set back to 0.
Last edited by Cuervo; 11/09/2009 6:31 PM.
-Tim
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
Then you probably have the problem Rick mentioned. Which has been addressed since your version. HERE is a post on the fix. You will need to edit the file or upgrade or try Ricks suggestion editing the php.ini file. They all will work. Or should.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Feb 2007
Posts: 209
Enthusiast
|
Enthusiast
Joined: Feb 2007
Posts: 209 |
I tried the fix on the filemanager php and it didn't change anything for me. It still resets to 0 once I click the save/update button.
-Tim
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
The same change needs to be applied on admin/doforumperms.php
|
|
|
|
Joined: Feb 2007
Posts: 209
Enthusiast
|
Enthusiast
Joined: Feb 2007
Posts: 209 |
The same change needs to be applied on admin/doforumperms.php Thanks Rick, that did the trick!!
-Tim
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
0 members (),
1,069
guests, and
175
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|