The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

permission denied when opening previous page revision (2 posts)

  1. DBJ
    Posted 2 years ago #


    When we try to open previous reavision on any of the pages on this blog we have this error:

    Warning: require(/var/www/domains/dbj.org/docs/dbj/wp-includes/Text/Diff/Renderer/inline.php) [function.require]: failed to open stream: Permission denied in /var/www/domains/dbj.org/docs/dbj/wp-includes/wp-diff.php on line 17
    Fatal error: require() [function.require]: Failed opening required '/var/www/domains/dbj.org/docs/dbj/wp-includes/Text/Diff/Renderer/inline.php' (include_path='.:/usr/local/lib/php') in /var/www/domains/dbj.org/docs/dbj/wp-includes/wp-diff.php on line 17

    Site is here http://dbj.org

    This was working fine until few days ago. Also other blogs on the same machine have no problems of this (or any other) kind ?

    What gives ?

  2. Jesin A
    Posted 2 years ago #

    It could be a due to insufficient permissions. chmod all directories to 755 and files to 644.

    If you have access to the command-line of the server enter these commands.

    cd /var/www/domains/dbj.org/docs/dbj/
    find . -type d -exec chmod 755 {} \;
    find . -type f -exec chmod 644 {} \;

    Else use a FTP client to do it.

Topic Closed

This topic has been closed to new replies.

About this Topic