Title: [Plugin: CataBlog] Upload Error?
Last modified: August 20, 2016

---

# [Plugin: CataBlog] Upload Error?

 *  [secretsau](https://wordpress.org/support/users/secretsau/)
 * (@secretsau)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/)
 * Hello,
 * I am trying to upload a photo to the catablog entry and after it reaches 100%
   in upload (at first it gave me a fatal error: memory exhausted message) now it
   says “Upload Error: 500” (In Flash Upload Version) .. I tried disabling flash
   uploading and using normal upload version, however it led me to a blank page ..
 * Could anyone please provide me a fix ??
 * Thanks
 * [http://wordpress.org/extend/plugins/catablog/](http://wordpress.org/extend/plugins/catablog/)

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/page/2/?output_format=md)

 *  Plugin Author [macguru2000](https://wordpress.org/support/users/macguru2000/)
 * (@macguru2000)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/#post-2659675)
 * How much memory due you have allocated to PHP on your server? or more accurately
   what is the memory limit set in the php.ini file?
 *  Thread Starter [secretsau](https://wordpress.org/support/users/secretsau/)
 * (@secretsau)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/#post-2659719)
 * 32MB. I increased the limit to 64MB however it gave me also the same thing. So
   I just put it back to 32MB. Also I just realised what could be the problem, I
   uploaded an image which was 230KB and it worked, but it did the error in a 1.24MB
   file. Possibly you have a set upload limit on the plugin?? Or does it use wordpress
   upload limit. I tried increasing the wordpress upload limit to 100MB still no
   difference.
 *  Plugin Author [macguru2000](https://wordpress.org/support/users/macguru2000/)
 * (@macguru2000)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/#post-2659723)
 * Loading a 1.24MB JPEG image will result in PHP needing a lot of memory, way more
   than 1.24MB. This is because of how image compression works, PHP must load the
   image, decompress it, scale it, and then save it. My server has 128MB assigned
   to PHP, for 1-3MB photos. Make sure your server respects the settings as well,
   some shared hosting environments put a cap on memory, regardless of what you 
   configure. The CataBlog About page can be useful for seeing how much memory PHP
   actually has. Also, CataBlog has no imposed upload limits, it is your server 
   that sets those limits.
 *  Thread Starter [secretsau](https://wordpress.org/support/users/secretsau/)
 * (@secretsau)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/#post-2659725)
 * I also just tried uploading a 800KB image, and it comes up with the same error.
   So I am stuck with images below 500KB. 🙁
 *  Plugin Author [macguru2000](https://wordpress.org/support/users/macguru2000/)
 * (@macguru2000)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/#post-2659753)
 * May I ask who your hosting company is, maybe I can do a little research and see
   if there is a better way to setup CataBlog and WordPress.
 *  Thread Starter [secretsau](https://wordpress.org/support/users/secretsau/)
 * (@secretsau)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/#post-2659760)
 * I’m hosting with AussieHQ.
 * Also my Server Statistics show:
    CataBlog Version: 1.6 MySQL Version: 5.1.59 
   PHP Version: 5.2.17 GD Version: bundled (2.0.34 compatible) PHP Memory Usage:
   22.5 MB PHP Memory Limit: 32 MB Max Uploaded File Size: 2M Max Post size: 8M 
   Thumbnail Disc Usage: 0 MB Full Size Disc Usage: 0.02 MB Original Upload Disc
   Usage: 0.49 MB Total Disc Usage: 0.51 MB
 * Hope that helps..
 * Thanks
 *  Plugin Author [macguru2000](https://wordpress.org/support/users/macguru2000/)
 * (@macguru2000)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/#post-2659768)
 * I found this discussion about AussieHQ and Drupal, which I think might still 
   be pertinent because it is really about memory allocation in PHP using AussieHQ
   shared hosting.
 * [http://forums.whirlpool.net.au/archive/1891394](http://forums.whirlpool.net.au/archive/1891394)
 * You should get in touch with AussieHQ and see if they will up your PHP memory
   limit to 64MB and then verify you actually have the memory allocated in the CataBlog
   About Panel.
 * With less than 10MB of RAM available I am not surprised a 3MB JPEG image crashes
   PHP. What are your image resolutions? JPEG compression can make one think that
   images are smaller in memory size than they actually are.
 * 1024 x 768 pixel 24bit image takes ~2MB of PHP memory to load, that is before
   your server has to resize and save the thumbnail. That means a 2048 x 1536 pixel
   image takes about ~8MB of memory, just to load.
 * Some interesting numbers:
 *     ```
       32MB - 22.5MB = 9.5MB
       9.5MB - 8MB = 1.5MB
       1.5MB is not enough memory to process and save the thumbnail.
       ```
   
 *  [Ratspeed](https://wordpress.org/support/users/ratspeed/)
 * (@ratspeed)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/#post-2659819)
 * I’m having the same error. php.ini is set to 128MB. No host caps afaik. Should
   I make my own thread pertaining to my issue?
 * > Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate
   > 69573 bytes) in /home/[etcetcetc]/wp-admin/includes/admin.php on line 22
 * php.ini is located in the public_html dir on a shared host.
    3IX is the host.
   The filesize is 431kb.
 *  [Ratspeed](https://wordpress.org/support/users/ratspeed/)
 * (@ratspeed)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/#post-2659820)
 * Just for testing purposes I tried uploading a 64k image and the same exact error
   message is occurring.
 *  Plugin Author [macguru2000](https://wordpress.org/support/users/macguru2000/)
 * (@macguru2000)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/#post-2659823)
 * Ratspeed, whatever you have your php.ini file set to is not being respected. 
   It is apparent from the amount of allowed memory, 33554432 bytes = 32MB, not 
   128MB. I would say that you should look into “better” hosting, or call your current
   host and figure out a way to up your PHP memory to at least 64MB.
 *  Plugin Author [macguru2000](https://wordpress.org/support/users/macguru2000/)
 * (@macguru2000)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/#post-2659824)
 * Lets keep in mind that WordPress itself is pretty greedy when it comes to memory,
   still its amazing what you can pull off these days with only 32MB of ram. I do
   not know what you pay for hosting, but I highly suggest a VPS for WordPress, 
   it makes a world of difference for your site, especially when administering it.
 *  [Ratspeed](https://wordpress.org/support/users/ratspeed/)
 * (@ratspeed)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/#post-2659826)
 * Alright, I’m checking with my server’s tech support to ask how much I’m allotted
   for my account, but if what you’re saying is true, then how was I able to upload
   [these](http://brassandmortar.com/cloth/) without any issue at all? 1024×768 
   images, as compared to small thumbnail image?
 * Those were uploaded using a jquery uploader included with my premium theme. Seems
   to work just fine. Or I can upload them using WordPress’ built-in media uploader
   just fine as well. There has to be another issue going on with the CataBlog script.
 *  [Ratspeed](https://wordpress.org/support/users/ratspeed/)
 * (@ratspeed)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/#post-2659827)
 * Alright, I just had my host up my domain’s PHP limit to 48 megs, just tried the
   script again, got the same message:
 * `Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate
   30720 bytes) in /home/redhalos/public_html/brassandmortar.com/wp-admin/includes/
   file.php on line 32`
 * So he upped it to 64M and the script is working fine now.
 * So I do have one followup question.. how come I’m able to upload the same size
   images with other plugins? Are they just lighter and able to handle 32M?
 *  Plugin Author [macguru2000](https://wordpress.org/support/users/macguru2000/)
 * (@macguru2000)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/#post-2659829)
 * Great question, I have had the similar issues with NextGenGallery in past, I 
   am not sure and this is definitely something I will be looking into. I do not
   want CataBlog to be a resource hog, really I don’t 🙂
 *  [Ratspeed](https://wordpress.org/support/users/ratspeed/)
 * (@ratspeed)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/#post-2659830)
 * If they could launch nukes in the 70’s with 8k, I’m sure we could launch pics
   of nukes with 32! 😉

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/page/2/?output_format=md)

The topic ‘[Plugin: CataBlog] Upload Error?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/catablog_f7f6f7.svg)
 * [CataBlog](https://wordpress.org/plugins/catablog/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/catablog/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/catablog/)
 * [Active Topics](https://wordpress.org/support/plugin/catablog/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/catablog/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/catablog/reviews/)

 * 20 replies
 * 5 participants
 * Last reply from: [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-catablog-upload-error-1/page/2/#post-2659931)
 * Status: not resolved