Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 239
Total: 239

Author Topic: Fatal error when trying to upload a large pic...  (Read 4629 times)

0 Members and 1 Guest are viewing this topic.

Offline MoreBloodWine

  • Member
  • *
  • Posts: 48
    • View Profile
Fatal error when trying to upload a large pic...
« on: February 06, 2008, 12:03:23 am »
My php.ini file is set to 5M for max UL as well as the gallery setting is set to 5M for max image size... but one of my users was trying to UL a pic that reads ad 1.75M in size and this is what hes getting, I had him email me the pic so I could try it and I got the same error... but this is what we both get...

« Last Edit: February 06, 2008, 12:57:14 am by MoreBloodWine »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Fatal error when trying to upload a large pic...
« Reply #1 on: February 06, 2008, 10:38:46 am »
Seems like the host/php settings are limiting memory to 32mb.

SMF by default tries to use I belive up to 45mb when it resizes an image.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline MoreBloodWine

  • Member
  • *
  • Posts: 48
    • View Profile
Re: Fatal error when trying to upload a large pic...
« Reply #2 on: February 06, 2008, 12:03:58 pm »
Seems like the host/php settings are limiting memory to 32mb.

SMF by default tries to use I belive up to 45mb when it resizes an image.
Well, my host allows custom php.ini... and I have my max UL size set to 5m and the setting for max image size on the gallery is set for the default 5000000 bytes (Megs)... and the pic itself is only 1.75M so go figure...

Edit : I looked at my file (php.ini) again and found this... the memory limit use to be 32M but I changed it to 55M and I'm still getting the same fatal error...

;;;;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;;;;

max_execution_time = 60     ; Maximum execution time of each script, in seconds
max_input_time = 60   ; Maximum amount of time each script may spend parsing request data
memory_limit = 55M      ; Maximum amount of memory a script may consume (10MB)
« Last Edit: February 06, 2008, 01:03:27 pm by MoreBloodWine »

Offline MoreBloodWine

  • Member
  • *
  • Posts: 48
    • View Profile
Re: Fatal error when trying to upload a large pic...
« Reply #3 on: February 06, 2008, 02:07:58 pm »
Problem solved, I had to put the php.ini file in both the forums root folder and the gallery folder... all works as intended now...

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
4018 Views
Last post July 03, 2007, 11:32:53 pm
by djrichards
4 Replies
7056 Views
Last post May 15, 2008, 11:31:51 pm
by ApplianceJunk
35 Replies
28761 Views
Last post April 11, 2009, 04:34:11 pm
by Cepheus
8 Replies
7814 Views
Last post February 16, 2009, 09:54:17 pm
by SMFHacks
9 Replies
6322 Views
Last post May 14, 2012, 03:44:05 pm
by ApplianceJunk

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal