vidmarc Posted May 29, 2018 Share Posted May 29, 2018 I'm seeing this error in the Chrome console: Quote GET https://favicon.ico/ net::ERR_NAME_NOT_RESOLVED Any suggestions how to fix it? Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 29, 2018 Share Posted May 29, 2018 Check the skin template main.php, in the <head> section. For CC620: <link href="{$ROOT_PATH}/favicon.ico" rel="shortcut icon" type="image/x-icon"> Or, for all versions: <link rel="shortcut icon" href="{$STORE_URL}/favicon.ico" type="image/x-icon" /> Quote Link to comment Share on other sites More sharing options...
vidmarc Posted May 29, 2018 Author Share Posted May 29, 2018 (edited) I'm using the standard install, I haven't made any changes. <link href="{$ROOT_PATH}/favicon.ico" rel="shortcut icon" type="image/x-icon"> The favicon is in the correct location. I don't get the same error with Firefox, only Chrome. It appears to be looking in the wrong place for it, even though it is correctly displaying. https://favicon.ico/ Failed to load resource: net::ERR_NAME_NOT_RESOLVED Edited May 29, 2018 by vidmarc Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 29, 2018 Share Posted May 29, 2018 Do you have any characters in the path to to your CubeCart folder that is not any of the following? a through z, 0 through 9, dash, underscore, period, squiggle, forward-slash Have your browser show you the page source HTML. This is to verify what the template has for {$ROOT_PATH}. (I am expecting to see nothing for the host part of the favicon link.) Quote Link to comment Share on other sites More sharing options...
vidmarc Posted May 29, 2018 Author Share Posted May 29, 2018 (edited) <link href="//favicon.ico" rel="shortcut icon" type="image/x-icon"> You are correct. Strange. Is this a bug? Same on a friend's site. But only with Chrome. Edited May 29, 2018 by vidmarc Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 29, 2018 Share Posted May 29, 2018 I am going to say it is this issue in the Github: https://github.com/cubecart/v6/issues/2001 Quote Link to comment Share on other sites More sharing options...
vidmarc Posted June 27, 2018 Author Share Posted June 27, 2018 Is there a way to add a touch icon? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.