Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 162
M
enthusiast
enthusiast
M Offline
Joined: Jun 2006
Posts: 162
If you specify upload_max_filesize in php.ini as plain integer (1048576 instead of 1M), the filemanager shows a max filesize of 0 Bytes.

Reason is a bug in filemanager.inc.php, the red line is the fix:

// Get the max upload size in php.ini
$max_size = ini_get("upload_max_filesize");
$multi = 1;
if (preg_match("/K/",$max_size)) $multi = 1024;


##eek##
Joined: Dec 2003
Posts: 6,649
Likes: 88
Joined: Dec 2003
Posts: 6,649
Likes: 88
That item was reported for 7.5.1 and was supposed to be resolved after that version release in the stock code.
HERE is the old post.
Humm????

Last edited by Ruben; 10/03/2009 11:57 AM. Reason: Added link

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,649
Likes: 88
Joined: Dec 2003
Posts: 6,649
Likes: 88
Just checked the current download and it does appear to be missing.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Looks like we're gonna take a small detour and get out another maintenance release. There are enough small issues still lying around I think it's time and won't take too long.

Joined: Dec 2003
Posts: 6,649
Likes: 88
Joined: Dec 2003
Posts: 6,649
Likes: 88
Oh Noooooo!
I could have had a V8.
HE HE HE!!!!!


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
8.0.1 Patch Changelog Discussion
by isaac - 11/26/2025 1:34 PM
Upgraded to ver8 - now can't login
by phoenix011235 - 10/24/2024 8:50 AM
Who's Online Now
0 members (), 563 guests, and 80 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)