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.

Strange Admin Panel Error

February 22, 2012 10:22am

Subscribe [1]
  • #1 / Feb 22, 2012 10:22am

    emagine media

    65 posts

    I am on 2.4 and I can see my site perfectly since moving from dev to live.

    In the CP, I have an error which shows all the time, and when I submit any form in the CP, I get a white blank page, with the error, even though the changes on submit go through. The error is:

    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Use of undefined constant FOPEN_WRITE_CREATE_DESTRUCTIVE - assumed 'FOPEN_WRITE_CREATE_DESTRUCTIVE'
    
    Filename: helpers/file_helper.php
    
    Line Number: 67

    Seems odd, and haven’t found anything in the forums so thought I would post here.

  • #2 / Feb 23, 2012 3:07pm

    Dan Decker

    7338 posts

    Hi emagine media,

    That is a bit odd, for sure.

    I need you to have a look in a couple of files for me.

    Open /system/codeigniter/system/helpers/file_helper.php and look on line 67. Do you see the text referenced in the error?

    Now open /system/expressionengine/config/constants.php look on line 31. Do you see a constant defined there with that same text?

    I look forward to your response.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases