Looking in my HTTP server logs, I’m getting a lot of HTTP 404 errors for each visit to my website.
Logs are reporting:
GET /wordpress/wp-content/uploads/1.jpg HTTP 1.1 404 65479
I did a search through the entire Newspaper theme and found two references
The first is in a patch:
Newspaper-tf\patch_7.2_7.3\includes\wp_booster\wp-admin\css\wp-admin.css:
.td-theme-panel-body #wpcontent {
background-color: #3b7fa8 !important;
background: url('../images/panel/bg/1.jpg');
background-repeat: no-repeat;
background-position: left top;
}
The second in a patch:
Newspaper-tf\patch_7.2_7.3\includes\wp_booster\wp-admin\panel\panel_core\td_core.php:
default:
?>
<li class="<?php echo $td_first_menu_welcome_menu?>">
" data-bg="<?php echo esc_attr(get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/bg/1.jpg')?>" class="<?php echo $td_first_menu_item_class; ?>" href="#">
I’ve looked through the entire theme distribution of files and there is I don’t see a 1.jpg file that exists.
Also, I looked through Media Library after I installed the demo for News magazine and no images in there are named 1.jpg
I don’t thinks its a good idea to store any theme files in the Media library anyway. If someone overwrites this, whether a theme or through accident, HTTP 404 errors are going to happen. They should be installed in the theme folder.
I don’t even see an images folder for:
/includes/wp_booster/wp-admin/images/panel/bg/1.jpg
Nor for includes\wp_booster\wp-admin:
.td-theme-panel-body #wpcontent {
background-color: #3b7fa8 !important;
background: url('../images/panel/bg/1.jpg');
background-repeat: no-repeat;
background-position: left top;
}
-
This reply was modified 10 years by
kobashicomputing.
Hello,
The image you mention is actually the theme panel background image. you can find it in the main theme files, not in the patch. The patch only contains a few files not all of theme (only the changed files between versions)
if you access that path in the main theme folder, it will be present: http://screencast.com/t/gE5WtI7Nt
The patch should not be part of the installed theme though. Please only use the main theme archive to install your theme, not the whole main package.
Thank you!
I checked and the 1.jpg file is in the correct place on my website as shown in your screencast.
Why am I getting HTTP 404 errors? Is it because I removed all demo files and 1.jpg is expected to be in the media library upload folder?
If so, why are you uploading to the media library and not referencing 1.jpg in the theme’s folder instead?
If this is the theme panel background image, then why for every visitor that comes to my website, is it being referenced? That doesn’t make any sense. That background panel image is administration users, not for visitors.
I’m not sure what you mean about the media library. The image is not in the media library at all. It is simply called with css. That’s it. Please restore the theme to it’s default code (revert any modifications made to the theme files) and then test again. We have no such reports of 404 errors on that particular image.
Thank you!