Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Error 999 - Unknown server error (check image size - may be exhausting memory)
Avatar
Bill Landman
Rookie
Free Members
sp_UserOfflineSmall Offline
Jul 8, 2013 - 9:53 pm

Hello,

I get the following error when uploading files larger than 5mb with the file upload plugin from simple:press.  Anything under 5mb uploads fine.

'null' is not an object

469408.jpg: Error 999 - Unknown server error (check image size - may be exhausting memory) 

I have the limitations set to unlimited.  

Please Advise.

Image upload constraints:Size (bytes):  unlimited Width (pixels):  unlimited Height (pixels): 

 

 

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Jul 8, 2013 - 11:34 pm

You may be trying to upload a filesize greater than your server settings allow.

If you go to Forum Admin > File Uploader - Settings. Under the image settings you will see the php max size listed. That would be the maximum size you can upload set by your server or php settings.

It sounds like it's set at 5mb.

Avatar
Bill Landman
Rookie
Free Members
sp_UserOfflineSmall Offline
Jul 8, 2013 - 11:40 pm

Hi!

 

Maximum size (in bytes) of image files (0 = no limit)
PHP UPLOAD_MAX_SIZE is 199229440 and PHP POST_MAX_SIZE is 199229440

 

I was able to upload a 80mb movie from the plugin...

but nothing over 5mb for photos....

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Jul 9, 2013 - 12:13 am

Sure looks like you have a large enough max size. 190mb. :)

I can only guess at a couple of things you can check but Mr. Papa or YellowSwordfish will be around soon and maybe they have some ideas also.

You could check your WP max memory size. You can do this by opening your wp-config.php which is located in the root WordPress directory. Then check for the following line inside the main php tag:

define('WP_MEMORY_LIMIT', 'xxM');

Change the limit to something like 64M or even 128M. Your php.ini file also has a memory limit setting. Typically it's 128M but would be worth checking.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 9, 2013 - 3:48 am

It is worth noting that the difference between uploading a video and uploading an image file is that the latter requires a thumbnail to be generated. PHP is notoriously memory hungry when it comes to such graphic intensive processing and when starting with a file size of 5MB then not only is that going to require a very large amount of free memory but it is also going to requires a fair bit of processing time!

Without wanting to be critical I would question the decision to allow such large image files to be uploaded. You always have to bear in mind that every time someone opens the topic to read it that file will be downloaded to their browser which will take time - and your users with slower connections may get impatient waiting! Such file sizes can also very quickly eat up your hosting server bandwidth allowance should you have one but more so - the bandwidth allowance of your users who may be put off from coming back for subsequent visits. At least this is worth thinking about...

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625