WP Hive » Troubleshooting and How-To

When uploading: "Host not found"

(5 posts)

  1. helene
    Member

    WP-Hive is working just fine for me except that I'm having trouble uploading images. I think I don't understand how to set up upload folders for each of my blogs. When I try to upload an image, instead of the image I get a message in the upload box "Host not found".

    What is the proper way to set up upload folders?

    Thank you very much.

    Posted 3 years ago #
  2. ikailo
    Developer

    It's a little bit of a head-scratcher. A "Host not found" error means that the domain part of a request was not found in the wphive_hosts table, and allow_new_hosts in wphive_config is set to 0, which prevents new sites from from being created automatically (I always recommend this configuration).

    I would recommend you use a debugging tool (Firebug for Mozilla would work) to examine the requests that are being made for that image. It may have the incorrect domain name. If so, you can check your database (options table) for that value / path, and make any corrections.

    I can't say I've noticed this issue before, so hopefully this will at least point you in the right direction. Let me know how you make out.

    Posted 3 years ago #
  3. helene
    Member

    Using Firebug when the media uploader was open turned out not to be a great idea -- it froze Firefox so badly I couldn't even force quit. But that led to the solution.

    First of all, I had to change the permissions of my content folder and any folders up to the uploads folder to 777. I didn't think I had to do that, but I'm having an issue with another site that I'm not using WP-Hive for (not being able to update plugins) that seems to point to the same thing. Is this right? Is it ok to have my content folder set at 777?

    In addition, I have to use the browser uploader, and not the Flash uploader.

    With those two changes, I can upload images.

    Thanks!

    Posted 3 years ago #
  4. ikailo
    Developer

    Interesting. I've had issues with the latest Flash version (10, I believe) and the uploader, and I understand about 777, but didn't realize it needed to be manually set.. Will have a look at this for future versions. Thanks!

    Posted 3 years ago #
  5. helene
    Member

    I just realized I'm still in Flash Player 9. The Flash uploader works with my non-hive sites, but not the hive sites.

    Posted 3 years ago #

RSS feed for this topic

Reply

You must log in to post.