Transfer the site from the local computer to the hosting. Addresses changed everything. Everything works, but when I try to upload a picture on the hosting, it writes an HTTP error:

When I update the admin panel, the file appears, but the preview is not displayed.

If I click on it, it is still not displayed.

Well, since the picture works and is displayed on the site

What can I do to ensure that it loads and displays previews of images normally? If I transfer the base from the hosting to my local computer and add it, the thumbnails of the preview are displayed correctly.

Tell me what's wrong.

  • Check access rights to the uploads folder and subfolders - xaja
  • Checked 775 worth - harley
  • Turn on wp_debug, look at the logs, what it specifically swears on the version, especially 5.4, when the requirements are 5.2.4, should not depend. - K ..

1 answer 1

Understood what was happening, the version of php 5.4 was on the hosting, set the version of php 5.5 to work.