• Resolved Mileages

    (@mileages)


    I can not verify the versions I am using because I can not access the site.

    Currently the file “options-framework.php”, located in /wp-content/themes/onetone is changing its file permissions within my web server. The file is constantly changing itself to 200 (Owner Write Only) permissions.

    If I change the file using FTP, or the File Manager via my web hosting company (1and1) it changes itself back to 200 in a matter of minutes.

    The page then crashes with the following error…

    Warning: require_once(/homepages/42/d513815181/htdocs/clickandbuilds/zelenivrh/wp-content/themes/onetone/admin/options-framework.php): failed to open stream: Permission denied in /homepages/42/d513815181/htdocs/clickandbuilds/zelenivrh/wp-content/themes/onetone/functions.php on line 9

    I checked this line of the code, it looks like this…
    require_once dirname( __FILE__ ) . '/admin/options-framework.php';

    So, I checked that file, its the file with permissions changing by themselves.

    Any thoughts? Help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Mileages

    (@mileages)

    Turns out this was resolved by renaming the theme folder (I added a Z on the end) then you will have access to login to the WP Admin panel, then an update was required for the theme. Ran the update, the file in question restored normal permissions and everything is working again.

    I did have to make some changes after the update as not all settings were saved, but I did get the site back and haven’t had any problems yet.

    Thread Starter Mileages

    (@mileages)

    Closing the topic…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘File changing permissions on its own, blocking web page’ is closed to new replies.