• Skip to primary navigation
  • Skip to main content
  • Skip to footer

JH Tech Services

A knowledgebase

  • Portfolio
  • Knowledgebase
  • About

WordPress Postie Issue

June 18, 2013 by jer0dh

Some emails sent are not posted. Seems to put the images in the upload folder on WordPress but no post created.

Postie in debug mode shows no error message and seems to stop here:


GetContent: primary= image, secondary = jpeg
DecodeBase64Part: base64 detected
GetContent: file name 'photo-3.JPG'
GetContent: extension 'jpg'
GetContent: secondary lookup found image/jpeg
GetContent: mimetype image/jpeg
image Attachement: photo-3.JPG
pre-sanitize name: photo 3.JPG, size: 3551519
post sanitize name: photo-3.JPG
using post date
postie_handle_upload: detected file type for photo-3.JPG is image/jpeg
wp_unique_filename: photo-33.jpg

That’s it. Just stops.
Based on previous images should get something like this after:

attachement id: 806
wp_generate_attachment_metadata
wp_update_attachment_metadata complete
has_post_thumbnail: 
featured image: 806
parseTemplate - before: some HTML here
parseTemplate - after:some HTML here
meta_return: 

added the following to wp_config.php but does not produce any log files or error messages


/* Added 6/18/2013 to see if it helps with Postie issue *//* phpinfo shows 64M memory */
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('POSTIE_DEBUG', true);

Checked the php info for server on goDaddy and found that php mem limit is 64MB. Added this to wp_config.php


define('WP_MEMORY_LIMIT', '64M');

no help.

Looked at JetPack email function but have to connect to wordpress and use their generated email address at wordpress.com

Found setting under Images in Postie about Thumbnail generation. Had been set to Yes. Note for this setting says some hosts crash generating thumbnails. Turned this setting off.

That fixed it!

  • Knowledgebase
  • Wordpress

Footer

  • Portfolio
  • Knowledgebase
  • About

© 2023