WordPress.org

Ready to get started?Download WordPress

Forums

can't update plugins or wordpress or install new plugins (20 posts)

  1. eblumer
    Member
    Posted 3 years ago #

    I have some plugins that need to be updated (as well as WordPress) and I have tried the automatic update button and the update fails. I get an error message "Could not create directory.: /public_html/wp-content/upgrade." I have tried to delete the upgrade folder in cPanel and then create a new one but it won't let me create a new .php file.

    I would also like to change the analytics plugin I currently use and the new plugin won't install either. Any help is greatly appreciated.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Try changing the permissions on the wp-content directory to 766. If you still have problems, try 767, 775 or 777. Once your upgrades are working, change the permissions on wp-content back to 755 again and check that everything still works OK.
    http://codex.wordpress.org/Changing_File_Permissions

  3. eblumer
    Member
    Posted 3 years ago #

    I have tried to change permissions but it won't let me. I have tried using FTP as well as cPanel and nothing seems to work. I had a company build the site for me and supposedly I have complete control over everything, is there a way to verify that I don't need them to do the updates for me (they will charge maintenance fees for any work performed on the site)?

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    The company who built the site are, presumably, separate from your web hosts, yes? It's your hosts that you need to contact about this inability to change folder permissions and you're already paying them for support as part of your hosting fees.

  5. eblumer
    Member
    Posted 3 years ago #

    I believe the two are separate, hosting for the first year is included in the building of the site (I had to give them a GoDaddy account number for them to transfer the site into, but nothing on cPanel or anywhere else bears a GoDaddy resemblance). I can change permissions on some items, just not most items. Is manually installing a good idea? If I do a manual installation will that help to resolve the plugins updating issue?

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    Site url?

  7. eblumer
    Member
    Posted 3 years ago #

  8. esmi
    Forum Moderator
    Posted 3 years ago #

    Your site is not hosted by GoDaddy. They're just your domain registrars. The site itself appears to be hosted on a private server. Looks like you may have to go back to the company who set the site up for you.

  9. eblumer
    Member
    Posted 3 years ago #

    That is what I thought. I have been beating my head against a wall for a couple of days trying to figure this out, and I finally decided that it may not be something I can do. Thanks for all your help, Eblumer.

  10. esmi
    Forum Moderator
    Posted 3 years ago #

    I suggest that, after the first year is up, you look at moving the whole site to GoDaddy if they don't sort this out for you asap and without any additional costs.

  11. eblumer
    Member
    Posted 3 years ago #

    Their reasoning is that I accepted the site (signed off on it, therefore it was completed) and any changes from that day forward I have to pay for. I don't mind paying for things I can't do myself, but I think it's pretty bad to force me to have to pay for items that I feel are not too difficult to do myself.

    This all started because they put their own code for analytics into my site (even though I had given access to my Google account so they could use my analytics code), now I can't link my adwords account to my analytics account until the code is changed. Do you know of a way for me to change their analytics code to mine?

  12. esmi
    Forum Moderator
    Posted 3 years ago #

    I can understand the charge for changes but this isn't a change. They should have either set up the folder permissions correctly from the get-go or ensured that you had the ability to change them as needed. My guess is that the server is incorrectly configured in such a way that you (ie the site) doesn't own its own folders and, therefore, does not have the right to change their permissions. So it's a clear oversight on their part that they should now rectify.

    I think it's pretty bad to force me to have to pay for items that I feel are not too difficult to do myself.

    I agree. It's important that site owners take responsibility for their own sites and learn how to do some of the general site ownership tasks - even if that does sometimes mean a stiff learning curve. It's just possible that they've tied things down tightly to try and stop site owners from making major mistakes - thus bringing whole sites down - but that's a very fine line to set up and removal of too much control is not a good thing long term.

    See what they say about this issue. Point them at this thread if you think it will help. You never know - they may fix it quickly without any fuss.

    Do you know of a way for me to change their analytics code to mine?

    Looks like it's just been added to your theme's footer.php (which is the standard way to add it). I've placed a copy of the existing code at http://pastebin.com/wsmVimRe. Just edit footer.php in your current theme and replace that code with your own from Google.

  13. eblumer
    Member
    Posted 3 years ago #

    Once the site is paid in full I may get full control (I guess they keep host of it so if I don't pay on time they can take the site down). I will bring this up and point them in this direction. I was very pleased with the site itself when I signed off on it, there was no way of knowing at that time the other issues as the site was not "live" so tracking issues were not known then (I have been complaining about it since the day after launch). Thank you for the code snippet, I think that will resolve most issues.

    As for conversion tracking, I have a second template set up (yet to be published) once I set this code in the .php of the current template I can place the conversion code in the other template and that will work correctly? Or does the code follow "theme" and not template so I have to start over again? Thank you again, you have been more than helpful.

  14. esmi
    Forum Moderator
    Posted 3 years ago #

    If by "template", you mean theme - then yes - add your analytics code to the footer.php file of the new theme. Ideally just before the closing </body></html?> tags.

  15. eblumer
    Member
    Posted 3 years ago #

    So I need to set up a different theme, then use any template within that theme? What is the best way to set up a theme that looks like the rest of the site?

  16. esmi
    Forum Moderator
    Posted 3 years ago #

    In most themes, all templates use the same footer.php file. If you are creating a custom page template, then you can call a specialised footer.php file using <?php get_footer('custom');?> where the new footer file is called footer-custom.php.

    http://codex.wordpress.org/Function_Reference/get_footer

  17. eblumer
    Member
    Posted 3 years ago #

    I have talked with my host provider (the company that built the site for me) and have been informed that I have full access to cPanel. I still cannot update or add anything to my site (or change most file permissions). Now I get an error message that says "Could not create directory.: /public_html" am I making progress?

    When WordPress asks for FTP credentials for upgrades is that the same as cPanel login info, or how do I know that the login information is correct? Is there a way for me to verify that I have administrative access?

    Could it be that my FTP program is not compatible with an automatic upgrade (the company told me that they always upgrade manually), I have also tried a manual upgrade and could not remove the necessary files prior to re-installing them (I tried to re-install anyway and it didn't change anything), is that possibly because my Filezilla is not set up properly? Thanks in advance

  18. esmi
    Forum Moderator
    Posted 3 years ago #

    Now I get an error message that says "Could not create directory.: /public_html"

    Point your hosts at this thread: http://wordpress.org/support/topic/30-upgrade-bug-ftps

    When WordPress asks for FTP credentials for upgrades is that the same as cPanel login info

    Not necessarily...

    Could it be that my FTP program is not compatible with an automatic upgrade

    More likely, your server isn't - as per the thread link I gave above.

    Can you upload new themes to your site's wp-content/themes folder using FTP?

  19. eblumer
    Member
    Posted 3 years ago #

    I will try to upload themes soon, in the meantime this is the new message when I tried to download a plugin update

    Downloading update from http://downloads.wordpress.org/plugin/wordpress-importer.0.4.zip…

    Unpacking the update…

    Installing the latest version…

    Deactivating the plugin…

    Removing the old version of the plugin…

    Could not remove the old plugin.

    Plugin update failed.

    Is this a common error message? Should I try to update WordPress prior to updating the plugins?

  20. esmi
    Forum Moderator
    Posted 3 years ago #

    No - it's not a particularly common message. I suspect there's something wrong with folder ownership on this site. That's something controlled by your hosts - not you.

Topic Closed

This topic has been closed to new replies.

About this Topic