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: 114
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 2
Guests: 80
Total: 82

Author Topic: Error on upload  (Read 8085 times)

0 Members and 1 Guest are viewing this topic.

Offline Stuartg

  • Member
  • *
  • Posts: 5
    • View Profile
Error on upload
« on: November 16, 2007, 09:24:36 am »
Hi all, could anyone please tell me what this error means :

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 4000 bytes) in  /Sources/Subs-Graphics.php on line 306
The file i wanted to upload was well in all my max file size settings.

Rgds Stuart.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16455
    • View Profile
Re: Error on upload
« Reply #1 on: November 16, 2007, 07:58:42 pm »
Would need to see the picutre used.

The error happens if it reachs the php memory limits processing 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 klabautermann

  • Member
  • *
  • Posts: 32
    • View Profile
Re: Error on upload
« Reply #2 on: November 30, 2007, 04:07:02 am »
I also got this error message, but only when i try to bulk upload.

Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 8192 bytes) in /www/htdocs/tinyso/Sources/Gallery.php on line 3971

Offline klabautermann

  • Member
  • *
  • Posts: 32
    • View Profile
Re: Error on upload
« Reply #3 on: November 30, 2007, 04:59:04 am »
And when I use FTP Upload I get:

Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 44896 bytes) in /www/htdocs/tinyso/Sources/Gallery.php on line 5366

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16455
    • View Profile
Re: Error on upload
« Reply #4 on: November 30, 2007, 07:35:01 am »
Grab the 1.3.5 upgrade package and install it.
http://www.smfhacks.com/index.php/topic,151.0.html
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 Rus

  • Member
  • *
  • Posts: 31
    • View Profile
    • Popped Question
Re: Error on upload
« Reply #5 on: May 07, 2008, 11:34:53 am »
I just did the upgrade on that link and am still getting that memory error.

Do I have to call my host and have them change something on the server?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16455
    • View Profile
Re: Error on upload
« Reply #6 on: May 07, 2008, 06:57:08 pm »
Check with your host it is normally a php.ini setting for the memory limit that needs to be increased
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 Rus

  • Member
  • *
  • Posts: 31
    • View Profile
    • Popped Question
Re: Error on upload
« Reply #7 on: May 08, 2008, 03:11:15 pm »
I've seen this mentioned a couple times but I'm not sure what exactly to tell my host.

I should tell them that I need the php.ini settings changed to...?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16455
    • View Profile
Re: Error on upload
« Reply #8 on: May 08, 2008, 07:32:13 pm »
Increase memory_limit  in the php.ini

Something like
memory_limit = 45M
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 Rus

  • Member
  • *
  • Posts: 31
    • View Profile
    • Popped Question
Re: Error on upload
« Reply #9 on: May 09, 2008, 10:14:02 am »
Excellent, turns out every site on our host has their own and I was able to change mine by myself.

For a 5 megapixel pic I needed the limit to be 96M before it would resize to just below 2 megapixel which is the limit for our gallery.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
3498 Views
Last post February 15, 2009, 08:45:22 am
by SMFHacks
13 Replies
6609 Views
Last post September 01, 2010, 08:36:20 am
by SMFHacks
3 Replies
4345 Views
Last post October 30, 2013, 11:53:36 pm
by SMFHacks
5 Replies
5158 Views
Last post February 26, 2014, 06:03:14 pm
by Rathsrants
Error #2038 on upload

Started by guest3817 Support

9 Replies
4915 Views
Last post September 03, 2014, 06:05:40 pm
by SMFHacks

+- 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