X Forward

PostMaster Info

Feb 2, 2009

Important info about the 2.1.0 release of the PostMaster WordPress plugin.

This is just a note to everyone looking for PostMaster or has inquired about alpha/beta testing the 2.1.0 release.

*IMPORTANT!*
The new project page is here: PostMaster

If I have not gotten back to you, please do not take offense. My plate is currently quite full, and I have not been able to give my open source projects the attention they deserve. Rest assured, I will carve out some time to get this new release tested and completed. Stay strong everyone! You will not be let down.

Comments

Melinda

02/23/09 07:23 pm

Does postmaster require 755 or 777 permissions? I have installed this plugin but cannot successfully test the attachment upload directory on the settings page.  I have confirmed w/ my host that the directory allows 755 permissions so I am not sure what the problem is.

Brett Duncavage

02/24/09 11:16 am

@Melinda

755 permisions on the attachment directory should be sufficient. Are you using a relative or absolute path? Can you upload to it via ftp?

Try absolute and relative paths, let me know how it goes.

—Brett

Melinda

02/24/09 09:29 pm

Thanks! I spent more time this evening playing with the upload path, and I got it to work! I’m perfectly delighted with this plugin- it fits my blog and my lifestyle so well. I’m sure some of my challenges are due to “user errors”- I am a newbie to HTML and scripting.  Thank you so much for all your patience and your helpfulness! (and your wonderful plugin!)

Melinda

02/26/09 09:05 pm

I spoke too soon. The next day I emailed a post w/ a photo from my blackberry and it did not show up on my site. When I ran the wp-mail.php script i got this error: “Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1600 bytes) in /home/melinda1/public_html/wp-content/plugins/postmaster/pm_graphics.php on line 55”.

I went to my php.ini file and increased the amount of memory allowed in a download, but it didn’t change anything.  I also discovered that the photo was successfully uploaded to my server- the photo/text just did not publish on my blog.

Could this be caused by something within the plugin’s code?

Melinda

02/28/09 11:33 am

Knock on wood, but I think I fixed it.
I deactivated and deleted the plugin entirely, then downloaded a fresh copy from your site, uploaded it to my site, and started anew.  That seems to have fixed it.  I’m guessing this may have been a one-in-a-million file that got corrupted, or something like that.  Thanks for all your help! and sorry to bother you!

Melinda

02/28/09 09:56 pm

Argh! Okay, I won’t be surprised if you totally ignore this because I’m probably acting like an annoying little sister.  But I finally figured out the problem and I don’t know why I didn’t notice it sooner!

When I send an email to my blog from Thunderbird, I have no problems.  The email arrives and is published perfectly.

When I send an email to my blog from my Blackberry, either I get the images with gibberish text or I get the fatal error mentioned before.

I can’t believe I’m having this problem.  If you’re feeling magnanimous, I would very much appreciate your help!

Brett Duncavage

03/01/09 01:42 pm

@Melinda

Sounds like your blackberry is formatting emails in a weird way. That is to say that the parsing script can’t figure out what to do with it.

The error you are getting is due to the script allocating more memory than it is allowed to by the system. This could be due to the parser getting stuck in an infinite loop.

Send an email from your blackberry to pmtest at xforward dot com, and I will use it to troubleshoot the issue.

Melinda

03/01/09 05:50 pm

Hey there, I’m not sure how significant this is but I discovered today that the garbled text is being coded into Base64.

Melinda

03/06/09 09:49 pm

Just out of curiosity…
Do you recommend any particular sites for learning PHP? I want to expand my knowledge of it to *maybe* be able to figure this out.  I have been incredibly frustrated in solving the problem on the Blackberry end, but I am wondering if it is possible to add a Base64 decoder that would decode posts before publishing. If so I think that might solve the problem. Thanks for your help!

Melinda

03/07/09 02:43 pm

Brett-
I’ve discovered that the problem with posting via Blackberry is that the info is encoded into Base64.  So, obviously, you have to somehow set wordpress to decode the base64.  I have been slowly comparing the original wp-mail file, the wp-mail file included with your plugin, and another wp-mail text file from here that includes the base64 decoding.  It’s going slowly but I’ll let you know what I figure out.

Brett Duncavage

03/07/09 02:59 pm

@Melinda

Thanks for digging around and finding out the issue with blackberry. I am finishing a freelance project at the moment so PostMaster has taken a back seat to my paying gigs.

FYI base64 decoding is really simple in PHP just use the base64_decode() function.

Melinda

03/07/09 03:08 pm

No problem- this is a huge learning experience for me, as I’m expanding my knowledge of PHP by leaps and bounds. But there is certainly nothing wrong with that!  I totally understand the priority of paid gigs- in fact, the reason I haven’t finished this sooner is that I also focus on my daytime job more than more website! (that and an untimely car accident…)

Thanks for the php command!

Melinda

03/14/09 10:21 pm

Let me know if you’re able to work on this. I’m making progress but it’s frustratingly slow- basically I’m just teaching myself PHP, and there is a lot to learn!  Thanks!

Nick

03/28/09 10:36 pm

Having the same memory error with files over ~800k.  PHP.ini allocates 40M.  I’ve tried using the WP_MEMORY_LIMIT in the wp-config file too.

I’m posting from gMail and it’s definitely the image size. Smaller images and text only posts work fine.

Exact error message:

Fatal error: Out of memory (allocated 32505856) (tried to allocate 1026631 bytes) in /homepages/15/d158256206/htdocs/nappfamily.com/blogs/nick/wp-content/plugins/postmaster/PMMailParser.php on line 62

Melinda

04/02/09 08:48 pm

Brett- I got the Postmaster plugin and wp-blog-by-email working today!  After reading so many forums that it made my eyes spin, I discovered that the problem was with my blackberry.  I don’t totally understand it but somehow it was messing up the MIME encoding.  (my theory is that Opera Mini, which I had on my BB for awhile but which never quite acted right, corrupted something.)  Anyway, today I reinstalled the OS and now all seems to be well.  Thanks for your great plugin- it makes it so much easier to post by email!

Nick- I had the same problem at first.  Make sure that you’ve made the changes in *all* the places in the php.ini file (as I recall, there are at least two or three).  If you are sure that you’ve made those changes, talk to your host- when I questioned that, my host discovered a minor error on THEIR end that was causing the problem.

Nice posting,very informative.Thank you, very interesting to read, you should be proud of your blog. I was really enjoying to check your messages from time to time. We are looking forward to your future posts.

domain web hosting

04/28/09 03:39 am

Hi,

Your blog is very nice. Word press way is better. It is most powerful and most customizable. It has a bunch of useful plug-ins developed by users everywhere.
domain web hosting

After reading so many forums that it made my eyes spin, I discovered that the problem was with my blackberry.  I don’t totally understand it but somehow it was messing up the MIME encoding.Awesome. just awesome…i haven’t any word to appreciate this post…..Really i am impressed from this post….the person who create this post

it was a great human..thanks for shared this with us.i found this informative and interesting blog so i think so its very useful and knowledge able.

sdfids

07/07/09 08:35 am

Knock on wood, but I think I fixed it.
I deactivated and deleted the plugin entirely, then downloaded a fresh copy from your site, uploaded it to my site, and started anew.  That seems to have fixed it.  I’m guessing this may have been a one-in-a-million file that got corrupted, or something like that.  Thanks for all your help! and sorry to bother you!

penis büyütücü

07/07/09 09:05 am

Thank you for information

sohbet odaları

07/07/09 11:23 am

Thanks you..

volkan

07/07/09 12:58 pm

Nice posting,very informative.Thank you, very interesting to read, you should be proud of your blog.

sedat

07/07/09 01:17 pm

thanx alot

Oyuncak

07/07/09 03:59 pm

Great post. Thank you.

indir

07/07/09 04:05 pm

755 permisions on the attachment directory should be sufficient. Are you using a relative or absolute path? Can you upload to it via ftp?

Try absolute and relative paths, let me know how it goes.

Commenting is not available in this section entry.

Blog.

Recent Entries

Making your (Facebook Dev) life easier.

I know from experience that using the Facebook API can be an exercise in confusion. That’s why I created this easy to use PHP Facebook Utility class.

Android for iPhone Developers - Part 2

Dive into the world of Android user interface creation.

Android for iPhone Developers - Part 1

Familiar with iPhone application development? Want get your learn on with Android? Then this article is for you.

New articles in the Lab!

The first 2 parts in a series on Android development from an iPhone developer’s perspective.

Lifting Anchor and Unfurling the Sails

I am embarking on a new adventure in life: sailing the seas of freelance.

PostMaster 2.1.0 is ready for download!

Finally! It’s been a little while, but I finally found a few slices of time to finish the latest iteration of PostMaster. Check out what’s new!

PostMaster 2.1.0 Recall

I’m recalling any 2.1.0 pre-release versions I have given out.

New site. New outlook.

Out with the old and in with the new!

PostMaster Info

Important info about the 2.1.0 release of the PostMaster WordPress plugin.

Code coming to the Lab

Helpful code snippets and hints for your programming pleasure.