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 Entries Not Posting

July 25, 2012 1:48am

Subscribe [1]
  • #1 / Jul 25, 2012 1:48am

    Liberty

    13 posts

    Ever since upgrading from 1.X to 2.X I have never quite been able to get Moblog to work.  Since I had other more pressing issues, I just skipped over it and forgot about it.  When I got my handy dandy iPhone, I figured I’d just use the mobile templates.  Those were buggy and did not work *at all*.  Now that I have my iPad, I can just use the regular site well enough I can post entries on the go ... except for photos.

    So back to Moblog I go to try to make it work.  The problem is, I keep getting these errors at the top of my site (where the check moblog tag is):

    A PHP Error was encountered

    Severity: Warning

    Message: file_put_contents(/photo.JPG) [function.file-put-contents]: failed to open stream: Permission denied

    Filename: moblog/mod.moblog.php

    Line Number: 1950
    A PHP Error was encountered

    Severity: Warning

    Message: Cannot modify header information - headers already sent by (output started at /home/user/public_html/system/codeigniter/system/core/Exceptions.php:170)

    Filename: core/Common.php

    Line Number: 408

    I also get the following errors when I try to “check moblog” from the control panel:

    A PHP Error was encountered

    Severity: Warning

    Message: file_put_contents(/photo.JPG) [function.file-put-contents]: failed to open stream: Permission denied

    Filename: moblog/mod.moblog.php

    Line Number: 1950
    A PHP Error was encountered

    Severity: Warning

    Message: Cannot modify header information - headers already sent by (output started at /home/user/public_html/system/codeigniter/system/core/Exceptions.php:170)

    Filename: libraries/Functions.php

    Line Number: 806
    A PHP Error was encountered

    Severity: Warning

    Message: Cannot modify header information - headers already sent by (output started at /home/user/public_html/system/codeigniter/system/core/Exceptions.php:170)

    Filename: libraries/Functions.php

    Line Number: 806
    A PHP Error was encountered

    Severity: Warning

    Message: Cannot modify header information - headers already sent by (output started at /home/user/public_html/system/codeigniter/system/core/Exceptions.php:170)

    Filename: libraries/Functions.php

    Line Number: 402

    Clearly, I have goofed something up somewhere, but I don’t have a clue where to start in order to fix this.

    v2.5.2 - Build Date: 20120606

  • #2 / Jul 25, 2012 6:48pm

    Robin Sowell

    13255 posts

    Hi Liberty, sorry this is jamming you up.  What’s happening is a permissions error.  Let’s do a quick test- go to the file manager (in Content) and upload a file to the same file directory you have set for the moblog.  Does it upload ok from the manager?

  • #3 / Jul 26, 2012 1:59am

    Liberty

    13 posts

    Files upload with no issue from the file manager.

  • #4 / Jul 26, 2012 9:39am

    Robin Sowell

    13255 posts

    OK- one more question and if this doesn’t help, I may ask to go in for a closer look.  Are you using the full path in your upload preferences for the relevant file upload directory?  If not, make sure you are, as that might explain things.

  • #5 / Jul 27, 2012 4:57am

    Liberty

    13 posts

    TYVM!  My path was ../whatever/whatever so I changed it to /home/user/whatever/whatever and everything is up and working properly.  Many, many thanks.

  • #6 / Jul 27, 2012 9:10am

    Robin Sowell

    13255 posts

    WOOT!  Glad it was an easy fix, though I should have thought to ask that one in the first reply.

    If you run into any more issues, just give us a yell.

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

ExpressionEngine News!

#eecms, #events, #releases