Previous Thread
Next Thread
Print Thread
Hop To
#220814 01/05/2009 6:30 PM
Joined: Jan 2009
Posts: 48
newbie
OP Offline
newbie
Joined: Jan 2009
Posts: 48
This may fall in the dumb question category - but when uploading images to a gallery forum, the file manager states that the size limit is only 20 Bytes. Nothing I change in the CP seems to effect this and mySql server has a much larger limit (5mb as best I can tell).

Any and all help is welcome!

Joined: Nov 2006
Posts: 3,089
N
Carpal Tunnel
Offline
Carpal Tunnel
N
Joined: Nov 2006
Posts: 3,089
What version of UBB are you running?

Joined: Jul 2006
Posts: 4,057
Offline
Joined: Jul 2006
Posts: 4,057
images are not loaded into your sql.

check your gallery settings.

i'm thinking you have 20 for 2mb

1048576 = 1mb


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jan 2009
Posts: 48
newbie
OP Offline
newbie
Joined: Jan 2009
Posts: 48
Originally Posted by ntdoc
What version of UBB are you running?
7.4.1

Joined: Jan 2009
Posts: 48
newbie
OP Offline
newbie
Joined: Jan 2009
Posts: 48
Originally Posted by Mark S
images are not loaded into your sql.

check your gallery settings.

This is where I was confused. There is not an option in the Gallery settings for setting file size limits. There is an option for inline uploaded images at Control Panel » Display Options » General » Topic display options, but changing this value does not seem to have any impact on the message for size limitation or the function of uploading a image.

Joined: Jun 2006
Posts: 9,242
R
Former Developer
Offline
Former Developer
R
Joined: Jun 2006
Posts: 9,242
You're wanting to look at the indvidual forum permssions. In there you should see a setting called "Maximum size of file attachments"

Rick #220832 01/05/2009 9:41 PM
Joined: Jan 2009
Posts: 48
newbie
OP Offline
newbie
Joined: Jan 2009
Posts: 48
Thanks Rick, that fixed the file size issue. I'm now getting this error:

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 2800 bytes) in /asplist/libs/image.inc.php on line 78

Joined: Jun 2006
Posts: 9,242
R
Former Developer
Offline
Former Developer
R
Joined: Jun 2006
Posts: 9,242
How large of an image are you trying to upload? At this point you're reaching the memory limit imposed by the memory_limit setting in php.ini. The only way to adjust this one would be to edit the php.ini file and up that setting.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Better moderator notification answer
by Morgan - 07/24/2021 7:29 AM
well this sucks..
by Bad Frog - 07/21/2021 6:15 PM
What does it mean?
by Morgan - 07/14/2021 3:21 AM
Look for advice. Forum doesn’t load properly.
by Morgan - 07/06/2021 4:31 AM
Who's Online Now
0 members (), 67 guests, and 47 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
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 7.7.5