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,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
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,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
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,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
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
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 919 guests, and 149 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)