• saintandrews

    (@saintandrews)


    Despite adding

    define( 'MEDIA_TRASH', true );

    as the very first line in my wp-config file, I am unable to enable Media Trash.

    For security purposes my wp-config file has resided in a non-standard location for close to a decade without incident.

    Any suggestions as to how to solve this problem would be appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Stef

    (@serafinnyc)

    Have you checked your permissions?

    Thread Starter saintandrews

    (@saintandrews)

    Thanks for responding.

    0644; as I mentioned, the file hasn’t been altered in years, and WordPress has never revealed any problem with it.

    It seems to me this problem shouldn’t be possible, yet it is.

    FWIW, the exact syntax in the file right now is

    define( 'MEDIA_TRASH', true );

    I don’t see any misplaced or missing characters or spaces.

    This obviously also begs the question of why true is not already the default. WordPress is, after all, a rather media-oriented CMS.

    Stef

    (@serafinnyc)

    I’m talking about permission on the server. Not on a file. Completely different.

    Thread Starter saintandrews

    (@saintandrews)

    Stef, I would be delighted if you would bring me up to speed on what you are talking about.

    Stef

    (@serafinnyc)

    Ask your host what the permissions are set to on that directory. Also make sure you haven’t disabled the feature you’re attempting to run.

    This isn’t on the file anywhere is it?
    define( 'EMPTY_TRASH_DAYS', 0 )

    Thread Starter saintandrews

    (@saintandrews)

    Oh; I set the permissions myself. Just to check, I ran them from 640 up to 660, to no effect. In any event, were permissions to be the problem none of the other tweaks I’ve made to that file would be readable.

    This isn’t on the file anywhere is it?
    define( 'EMPTY_TRASH_DAYS', 0)

    No.

    Beats me also why there isn’t anything else out there I’ve been able to discover on anyone else having this sort of problem.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unable to enable Media Trash’ is closed to new replies.