ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Moblog not posting

May 11, 2008 2:47pm

Subscribe [4]
  • #1 / May 11, 2008 2:47pm

    katili

    31 posts

    So, I’ve had my moblog up and running for quite a while now. Last night I sent it a message the same way I always do and it won’t show up. So I went in to manually check the moblog, and it’s coming back with “No valid emails were found” even though I’m logged into the email address and staring right at my valid email. Nothing in my settings has changed, so it should be accepting these messages.

    Any ideas as to where I should start checking more things?

  • #2 / May 12, 2008 11:28am

    Robin Sowell

    13255 posts

    Hm- if it worked and just suddenly broke, it suggests something changed on the server end of things.  What build/version of EE are you running?  Any extensions installed (unlikely to be a factor, but can’t hurt to ask)- and any changes to the email account you’re using?  Or any recent changes to EE you can think of- an upgrade, new extension, anything along those lines?

  • #3 / May 12, 2008 11:54am

    Mark Bowen

    12637 posts

    Not sure if this is related and helps at all but I recently had a problem with a moblog account and realised that somehow the system->cache folder had somehow had its permissions changed so the moblog module couldn’t write it’s files to it. I definitely didn’t touch anything on the server my end and I am currently in touch with the host to see how that could have changed on its own but sufficed to say I changed the permissions on the system->cache folder so that it was write-able again and it all started working again.

    As I say though I’m not sure if this is what is causing your problems or if it is in fact related but it wouldn’t harm just to quickly check the system->cache folders permission settings I guess?

    Hope you get it all sorted soon.

    Best wishes,

    Mark

  • #4 / May 12, 2008 3:14pm

    katili

    31 posts

    I was hoping the cache folder would fix it, but alas, the permissions were still right on it.

    I am on version 1.6.3 build 20080319.

    As for extentions, they’ve all been there a while but I have:
    Vox Crossposter
    Trackback Expiration Extension
    Hidden Weblogs
    Tag Submit
    Advanced Captcha
    Comment Spam Prevention
    Mint Cookie Tag

    I haven’t changed anything on my end. I checked with my server guy and he said they ran a few updates. I can get him to look into things for me, but he’d like to have some sort of idea where to look if possible.

    It looks like they updated our php version to 5.2.6, could that be a problem?

  • #5 / May 12, 2008 7:34pm

    Sue Crocker

    26054 posts

    About the only thing I could suggest is to temporarily turn off your extensions by click Disable Extensions, and try again.

  • #6 / May 13, 2008 1:55pm

    katili

    31 posts

    About the only thing I could suggest is to temporarily turn off your extensions by click Disable Extensions, and try again.

    No luck :(

  • #7 / May 13, 2008 3:39pm

    Mark Bowen

    12637 posts

    A few things to check.

    1 - In your moblog preferences do you have anything in the field for :

    Moblog Subject Prefix

    If so try deleting that and see if it works?

    2 - Next up make sure you are just sending a plain e-mail. No RTF or HTML formatting. Could that have changed in your e-mail client perhaps. Also are you using the same e-mail client you have always used previously when this was all working?

    3 - Check the preference that says - Valid ‘From’ Emails for Moblog and check that if you have any e-mails listed in there that they include the one that you are sending from.

    One other thing would be you say you are manually checking the Moblog but in what way exactly. Are you checking it using the moblog tag on a template or via the module check?

    Hope some of this brings back some good results.

    Best wishes,

    Mark

  • #8 / May 13, 2008 5:03pm

    Ingmar

    29245 posts

    katili, can we exclude a temporary anomaly with absolute certainty? If yes, are you quite certain that neither you nor the host changed anything? As a rule, things tend not to break on their own. People break things 😊

  • #9 / May 15, 2008 2:34am

    katili

    31 posts

    1 - In your moblog preferences do you have anything in the field for :

    Moblog Subject Prefix

    If so try deleting that and see if it works?

    2 - Next up make sure you are just sending a plain e-mail. No RTF or HTML formatting. Could that have changed in your e-mail client perhaps. Also are you using the same e-mail client you have always used previously when this was all working?

    3 - Check the preference that says - Valid ‘From’ Emails for Moblog and check that if you have any e-mails listed in there that they include the one that you are sending from.

    One other thing would be you say you are manually checking the Moblog but in what way exactly. Are you checking it using the moblog tag on a template or via the module check?

    1 - Nothing in the subject prefix, it’s always been blank.
    2 - The emails are sent from my cell phone. I’ve sent some test messages to my regular email address that is not attached to my moblog and they seem to be coming though just how they used to… plain text, photograph as a jpg attachment.
    3 - I triple checked the email addresses and even sent a test message from a different account on the list; no luck.

    As for how I check it: the template has a silent check, but I also tried checking it via the module and got the same result both times, which is an error message saying “no valid emails found”

    katili, can we exclude a temporary anomaly with absolute certainty? If yes, are you quite certain that neither you nor the host changed anything? As a rule, things tend not to break on their own. People break things 😊

    I know there were some updates run on the server, but I can’t get my server admin to check every single one of them without giving him something to work with. We upgraded our PHP version and some other things. If I could at least tell him what the moblog runs off of or how it decides what a “valid email” is, I could narrow down where he needs to look for changes. Apparently nobody had updated anything for a looooong time and things are behaving oddly all over the place.

  • #10 / May 15, 2008 12:53pm

    Robin Sowell

    13255 posts

    Hm- we can try to narrow things down a bit- ftp in, grab system/modules/moblog/mod.moblog.php- keep a clean copy, we’re going to hack another copy to try and get some debug.  Look around line 490:

    if ($total == 0)
            {
                $this->message_array[] = 'no_valid_emails'; 
                $line = $this->pop_command("QUIT");
                @fclose($this->fp);
                return;
            }

    That’s the first spot I see that message generated.  So- let’s try to see if that’s where it fails.  If it passes this point, there’s another point further on that could trigger it.  Anyway- let’s just see what we get if we exit inside that conditional.  Edit to

    if ($total == 0)
            {
                $this->message_array[] = 'no_valid_emails'; 
                $line = $this->pop_command("QUIT");
                @fclose($this->fp);
    exit('total '.$total);
                return;
            }

    Make sure there are what should be valid emails in there.  If it’s flat not seeing any, I THINK it will exit and say total 0.  If it gets past this point, it’s getting the emails, but none are coming up as valid.

    Make sense?>

  • #11 / May 15, 2008 2:27pm

    katili

    31 posts

    I’m still getting the same error, but I think I know where to look now. When I go to the address I’ve got in moblog settings for my incoming mail server (you know, to triple check that the email is still there), I get a “Great Success! Apache is working on your cPanel® and WHM™ Server” page instead of a page where I can log in to the email. I suspect that may be the problem. Last time I checked my email I did it out of cpanel instead of going to the mailserver directly.

    Anyway, I’m gonna have my server guy fix my email and see if that does the trick. I’ll report back when that is done 😊

  • #12 / May 15, 2008 2:38pm

    Ingmar

    29245 posts

    It’s probably advisable to have your server guy take a look at it, but the fact that your mailserver only serves a placeholder page would not worry me unduly. Most of the mailservers I use do not serve any content on port 80, ie no webpage at all.

  • #13 / May 15, 2008 2:51pm

    katili

    31 posts

    Hrrrrmm. Ok, I am less sure about it being the incoming mailserver being wrong then. I just popped all the same info from my moblog prefs into my gmail to see if that would be able to retrieve the emails, and they all came through just fine.

    Robin, if there’s another trigger we can look for to see why it’s deciding my emails are not valid, I’m ready to try it.

  • #14 / May 15, 2008 2:53pm

    Mark Bowen

    12637 posts

    Katill,

    Sorry to keep on coming in here with ideas but you said above that you are sending the e-mails using your phone. Have you always done it in this way or did you perhaps use an e-mail client previously?

    Best wishes,

    Mark

  • #15 / May 15, 2008 4:21pm

    katili

    31 posts

    Katill,

    Sorry to keep on coming in here with ideas but you said above that you are sending the e-mails using your phone. Have you always done it in this way or did you perhaps use an e-mail client previously?

    Best wishes,

    Mark

    I’ve always done it this way. I’ve got a Blackberry on T-Mobile, and the emails the phone sends are pretty simple.. it doesn’t send a link to a page or add images or anything silly like that.. it just sends a plain text email with the jpg as an attachment.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases