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.

PHP Errors on the backend - Please help

September 02, 2011 1:44am

Subscribe [3]
  • #1 / Sep 02, 2011 1:44am

    tetragram

    6 posts

    Hello Community,

    Im getting these errors right about the main control nav on the backend. Posts go through but bring me to this error page.

    Error #1

    A PHP Error was encountered
    Severity: Warning
    Message: mkdir() [function.mkdir]: Permission denied
    Filename: helpers/version_helper.php
    Line Number: 157

    Error #2

    A PHP Error was encountered
    Severity: Warning
    Message: mkdir() [function.mkdir]: Permission denied
    Filename: helpers/version_helper.php
    Line Number: 157

    Error #3

    A PHP Error was encountered
    Severity: Warning
    Message: Cannot modify header information - headers already sent by (output started at /home/content/66/8291166/html/operator/codeigniter/system/core/Exceptions.php:170)
    Filename: core/Common.php
    Line Number: 405

    Anyone have a solution?

  • #2 / Sep 02, 2011 11:31am

    Mark Bowen

    12637 posts

    Hi tetragram,

    Welcome to the forums. Sorry about the errors you are receiving there. We’ll do our best to get you sorted on this.

    To that end could you please let me know the version and build numbers of ExpressionEngine that you are working with (these are visible at the bottom of each Control Panel page) and is this a new install or an upgrade that you are working on?

    Also you mentioned about the main control nav and posts going through. I was just wondering if you could elaborate on this a bit more as I’m a little fuzzy as to exactly where these errors are occurring.

    Thanks.

    Mark

  • #3 / Sep 02, 2011 5:14pm

    tetragram

    6 posts

    Mark,

    Its a new EE intsall on version 2.2.2

    When I create a template group and post some html into the template and update and save. It redirects me to an error page.
    When I go back with the browser the post has gone through. This is the same for custom fields.

    Any idea what can be going on? Is it a database issue?

    Thanks

  • #4 / Sep 03, 2011 12:55am

    Kevin Smith

    4784 posts

    Hi tetragram,

    It looks like your host may have disabled the mkdir() PHP function, something that is necessary for us to create cache directories. Could you work with your host to enable this?

  • #5 / Sep 03, 2011 1:21am

    tetragram

    6 posts

    Guys, thanks for all the help.

    Bone head move on my part.

    I had set all the permissions of the following folders to 666 instead of 777
    /system/expressionengine/cache/
    /images/avatars/uploads/
    /images/captchas/
    /images/member_photos/
    /images/pm_attachments/
    /images/signature_attachments/
    /images/uploads/

    Everything is working fine now.

  • #6 / Sep 03, 2011 7:47am

    Mark Bowen

    12637 posts

    Hi tetragram,

    No problem at all. We’ve all done things like that before so you’re definitely not alone there 😉

    I’ll go ahead and close this one out but if you have any more problems then please don’t hesitate to post again.

    Cheers,

    Mark

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

ExpressionEngine News!

#eecms, #events, #releases