WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] File can't be found? (7 posts)

  1. chappie
    Member
    Posted 3 months ago #

    I've uploaded my localhost dev site to my web domain and although I can load the site (parts missing), I get this alert when trying to access my dashboard:

    The file you have requested cannot be found.
    /wp-admin/c4362503.myzen.co.uk/wp-login.php?redirect_to=http%3A%2F%2Fc4362503.myzen.co.uk%2Fwp-admin%2F&reauth=1

    Is it possible to tell from this what is the cause and how I might fix it? I get an "illegal string offset" warning across the top of my site. Is this connected or a different problem?

    My wp-admin directory is in place, although it contains only 87 items whereas my localhost version has 94.

    Also, although my images are all in the right place, they aren't loading. Do I need to change some links or update the database or something else?

    Thanks for any help. This is my first attempt to create/upload a WP site and I know nothing about the stuff under the hood despite a lot of reading.

  2. Senff
    Member
    Posted 3 months ago #

    Is it possible you set your Site URL or WordPress URL to "c4362503.myzen.co.uk" and not http://c4362503.myzen.co.uk (without the "http://")?

    You may want to try adding these two lines to your wp-config.php:

    update_option('siteurl','http://c4362503.myzen.co.uk');
    update_option('home','http://c4362503.myzen.co.uk');

    If that makes things work again, you can remove the lines.

  3. chappie
    Member
    Posted 3 months ago #

    @Senff - thanks for your help. I can now get into my dashboard (I might have helped that process by deleting some conflicting WP passwords stored in Safari) - and some of my images are now loading, which is nice to see!

    But while my slider images now appear, my placed images and my widget images are still hiding. I'm guessing the slider code is in the theme (Customizr) file while all my placed image links are stored somewhere else?

    Delighted to make some progress - although I still see the "illegal string offset" warning across the top of the page but I think I need to ditch a plugin to get rid of that.

  4. chappie
    Member
    Posted 3 months ago #

    If that makes things work again, you can remove the lines.

    Just to be clear, which lines can I delete - the new ones I just added?

  5. chappie
    Member
    Posted 3 months ago #

    As if by magic, the missing images suddenly appeared! I had to wait an hour for this random miracle but it looks like I'm cured! Thanks again.

  6. chappie
    Member
    Posted 3 months ago #

    Ignore my last post - I was looking at my localhost site by mistake. The live one is still not seeing placed images.

  7. chappie
    Member
    Posted 3 months ago #

    OK - fixed my missing images by editing my URLs with Search Regex; and I got rid of the "illegal string" warning by disabling the WP DB Backup plugin.

Reply

You must log in to post.

About this Topic