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.

File manager with no file upload directories gives PHP warning

January 24, 2012 12:46pm

Subscribe [4]
  • #1 / Jan 24, 2012 12:46pm

    Robzor

    86 posts

    Hi guys,

    Just upgraded a site from 2.3.1 to 2.4.0,

    added an upload directory to my config.php,

    went to the file manager page (realising I had no upload directories assigned yet) got this error: http://grab.by/bFjG

    Severity: Notice
    Message: Undefined property: Content_files::$_allowed_dirs
    Filename: cp/content_files.php
    Line Number: 286

    Still got the error after I removed the directory array from the config.php:

    Once I had assigned the upload directories, error went away. Obv. not massive but just a heads up in case it’s not something I did wrong :D

    Thanks,

  • #2 / Jan 24, 2012 4:43pm

    Ibn Saeed

    98 posts

    im having the same issue when i click on “CP Home   -  >  File Manager “

    A PHP Error was encountered
    Severity: Notice
    Message: Undefined property: Content_files::$_allowed_dirs
    Filename: cp/content_files.php
    Line Number: 286
    A PHP Error was encountered
    Severity: Warning
    Message: Cannot modify header information - headers already sent by (output started at /home/whatever/domains/whatever.org/custom_name/codeigniter/system/core/Exceptions.php:170)
    Filename: core/Common.php
    Line Number: 409

     

  • #3 / Jan 24, 2012 5:49pm

    Mr. Wilson

    131 posts

  • #4 / Jan 25, 2012 4:04pm

    Kevin Smith

    4784 posts

    Hi all,

    Yep, as Mr. Wilson noted, that bug has been reported, includes a quick fix in the bug report, and will be resolved in the next release.

    If there’s anything else we can do, let us know!

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

ExpressionEngine News!

#eecms, #events, #releases