Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 3
New This Week: 0
New Today: 0
Stats
Total Posts: 43301
Total Topics: 7525
Most Online Today: 119
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 149
Total: 149

Author Topic: Fatal error when trying to upload a large pic...  (Read 4660 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: 16455
    • 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
4037 Views
Last post July 03, 2007, 11:32:53 pm
by djrichards
4 Replies
7125 Views
Last post May 15, 2008, 11:31:51 pm
by ApplianceJunk
35 Replies
28945 Views
Last post April 11, 2009, 04:34:11 pm
by Cepheus
8 Replies
7871 Views
Last post February 16, 2009, 09:54:17 pm
by SMFHacks
9 Replies
6443 Views
Last post May 14, 2012, 03:44:05 pm
by ApplianceJunk

+- Recent Topics

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

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

Powered by EzPortal