Icon missing

Permalink Browser Info Environment
Hi, we build a website with the Pixel theme in a temporary folder /2018.
The footer of the website contains an AUTONAV block with the Custom Design 'Pixel List'.

Now that the website has been moved to the /root and cleared cache everything seems fine except for an error in the footer. When loading the website, the internet loading console shows a missing file:

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (widget-link@2x.png, line 0) - .../2018/packages/theme_pixel/themes/pixel/images/icons/widget-link@2x.png

I tried changing the Custom Design to blank and then switching back to 'Pixel List' again, but the theme still keeps looking in the /2018 folder.

How can we solve this?

Thanks,
Luca

Type: Pre-Sale
Status: Resolved
ZillionProductions
View Replies:
shahroq replied on at Permalink Reply
shahroq
Hi,
It seems like a cache issue to me. Where is this image on the page? Is it one of the images chosen at the pixel theme options page?
ZillionProductions replied on at Permalink Reply
ZillionProductions
Hiu, thanks for your quick reply. I cleared the cache, but the issue remains.

The Autonav block is in the footer. the missing image is when we choose the Custom Design 'Pixel List'. If we choose another Custom Design, the error is gone.
shahroq replied on at Permalink Reply 1 Attachment
shahroq
Hi,
The mentioned image path is in the rendered "style.css" file and is definitely cached in your server. You can go to delete it manually in "/application/files/cache/css/pixel/style.css". By visiting your site again it should be regenerated.
Check the attached screenshot.
ZillionProductions replied on at Permalink Reply
ZillionProductions
Hi thanks again for your quick reply. I removed the file manually and it was regenerated. When I open the CSS is can see the following:
a{background-image:url("/packages/theme_pixel/themes/pixel/images/icons/widget-link@2x.png");

However, the error still shows. See screenshot. You can also visit *** to see for yourself.

Any idea?
Luca
shahroq replied on at Permalink Reply
shahroq
Hi,
I don't see that error, also it seems the 'widget-link@2x.png' file are rightly loaded. That line might remain from the past. Try clearing the console and refresh the page and see if that persist.
ZillionProductions replied on at Permalink Reply
ZillionProductions
Still no results in my browser. When I look in the source code of the loaded page I can find the wrong URL in the background-image line, see below. Where is this generated?

@media all {
@media only screen and (-webkit-min-device-pixel-ratio: 2), not all, not all, not all, only screen and (min-resolution: ), only screen and (min-resolution: ) {
.widget_nav_menu li a, .widget_links li a, .widget_meta li a, .widget_archive li a, .widget_recent_entries li a, .widget_categories li a, .widget_pages li a, .widget_rss li a, .widget_recent_comments li a {
background-image: url("/2018/packages/theme_pixel/themes/pixel/images/icons/widget-link@2x.png");
background-size: 4px 20px;
font-weight: bold;
}
}

THanks for helping out
Luca
shahroq replied on at Permalink Reply
shahroq
Those lines don't seem to have anything to do with pixel styles. They seem to be appended by your developer or C5 Design/Custom template feature. Check theme "header_top.php" and see if these styles have been appended manually to this file. If you couldn't figure it out, send me your site credentials (C5 dashboard+host) and I will look into it.
ZillionProductions replied on at Permalink Reply
ZillionProductions
Hi, thank you so much, this last clue helped me find the source of the error!
It was indeed hard-coded in the CSS design of the template by the developer. I edited the path and it now works fine again, thanks for your availability.

CHeers,
Luca

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.3
Version Installed - 8.4.3
Database Version - 20180716000000

# concrete5 Packages
4Concrete5 Dashboard (0.9.0), Add Animation (0.9.3), Bootstrap Blocks (0.9.7), ExchangeCore reCAPTCHA (1.1.1), Lazy Banner (1.1.2), Login Page Background (0.9), Pixel Theme (2.0.3), Spacer (0.9.4), Stack Infinity (1.2.3), Styled Maps (1.2.3), SVG Social Media Icons (0.9.9), Video Pro (1.0.0)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
litespeed

# PHP Version
7.1.22

# PHP Extensions
bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, json, libxml, litespeed, mbstring, mcrypt, mysqli, mysqlnd, OAuth, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, uploadprogress, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 256M
post_max_size - 32M
sql.safe_mode - Off
upload_max_filesize - 32M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.