WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Automatic plugin installation trying to do things in old dir (9 posts)

  1. nuxt
    Member
    Posted 1 year ago #

    Unable to create file /home/usr/public_html/123/wp-content/uploads/ajax-contact.tmp because No such file or directory in /home/usr/public_html/wp-admin/includes/file.php on line 177

    As you can see, I've moved my wordpress from subdir "123" and moved it to root of the domain.

    WordPress settings, and the mysql database are all correct and show root directory settings, the only thing causing my issues is automatic plugin installation, what gives?

    Cloudflare in dev mode so it's not causing any issues either. Thank you in advance.

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 1 year ago #

    Go to your site's /wp-admin/options.php screen. This is the master settings screen for all options. Don't change anything you don't understand here, you can break the site.

    Next, look for "upload_path". See if it has the correct setting for the directories. It may be blank, which should be correct, but if it has the wrong path here (with the 123 in it), then you can correct it.

  3. nuxt
    Member
    Posted 1 year ago #

    /wp-admin/options.php is just a web formatted version of mysql database i sifted through.

    Same thing, /home/usr/public_html/wp-content/uploads is what its set at. Would removing this to blank likely help remedy it? Thanks for the prompt response! :)

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 1 year ago #

    Changing it to blank probably won't fix the problem if it has the correct value there already.

    Thing is that it has to be getting that 123 directory from somewhere, and the only place it can get that data from is in the database. So you need to find what in the database still has the wrong value.

  5. Samuel Wood (Otto)
    Tech Ninja
    Posted 1 year ago #

    Oh, if you're using any caching plugins, try disabling them or clearing their caches. That might help.

  6. nuxt
    Member
    Posted 1 year ago #

    I'm quite familiar with mysql, I've gone through the whole database, manually and through several search terms. It is all in correct order with no problems.

    As I say the site works fine, it's just the automatic plugin installer that seems to broke.

    Not using any caching plugins, zero plugins are installed. Hence I'm on here as it seems more like it's broke than a bug, as it's giving no indication of any issues in the database, so I'm at a loss to what it is.

  7. Samuel Wood (Otto)
    Tech Ninja
    Posted 1 year ago #

    Well, like I said, it has to be getting that incorrect subdirectory path from somewhere. So the first thing is to find that.

    Do you have the WP_TEMP_DIR defined as the old path in the wp-config.php file (or elsewhere, perhaps)? Also check for WP_CONTENT_DIR.

  8. nuxt
    Member
    Posted 1 year ago #

    Boom, nail > head.

    Been stressing over a clients joomla problem all day, didn't even check the config.php file... Thanks for the heads up on the WP_TEMP_DIR setting hiding away, will remember that in the future.

    :)

  9. Samuel Wood (Otto)
    Tech Ninja
    Posted 1 year ago #

    Cool. Glad I could help. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.