Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error in updating from 3.2.0 to 4.0.0


  • conmurray
    Participant

    @conmurray

    When updating from 3.2.0 to 4.0.0 I get the following error:

    An error occurred while updating BuddyPress: The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions. bp-core/classes/class-bp-phpmailer.php

    Using WordPress 4.9.8–en_GB with Multisite enabled. I have not yet tried uninstalling and reistalling afresh.

    Any suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Unfortunately, it’s unlikely that file permissions are related to any change we made in the 4.0 release. I don’t know how they might have been set incorrectly, though if you’ve used any plugin installer or tool to add a plugin or update your site in the past, that might have been the cause.

    You or someone who manages your server needs to go into the bp-core/classes/ folder, view the file permissions, and change those of the phpmailer file to match the other files which are (presumably) correct.


    conmurray
    Participant

    @conmurray

    OK thanks we will try that and come back if there is anything that might be of interest to others.


    bonzothecat
    Participant

    @bonzothecat

    I have the same problem, although I am trying to update to 4.1.0 and the filename is not called out in the error message. I checked and confirmed that class-bp-phpmailer.php’s protection is 0000, so I am guessing this is the problem file. But I can’t seem to change it back to 0644 in my file manager, it just seems to reset itself to 0000. Do you think it is possible this class file is locked by a plugin?


    bonzothecat
    Participant

    @bonzothecat

    It turned out I needed to enlist the help of hosting support to change the protection on that file. No idea how its protection got changed. But once it was reset to 0644 the 4.1.0 update completed with no problems.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar