musicmaster Posted October 26, 2012 Share Posted October 26, 2012 (edited) In my PS 1.5.2 I find it impossible to define a small favicon. No matter what I upload - I keep seeing the broken image. Does anyone know how to get a valid favicon? The bigger one (the "store" favicon) is ok but the one for the command line of the browser gives problems. Edited October 28, 2012 by musicmaster (see edit history) Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted October 28, 2012 Share Posted October 28, 2012 In my PS 1.5.2 I find it impossible to define an icon. No matter what I upload - I keep seeing the broken image I cannot replicate this with 1.5.2. Try an .ico file if not already, make sure the ico file is a correctly format icon file. You can use this website to make a correct icon file from another format image. After saving in the back office check that the favicon.ico is saved in /img/ directory. Marty Shue Link to comment Share on other sites More sharing options...
JerseyG Posted November 7, 2012 Share Posted November 7, 2012 Hi Music Master Did you ever get the Favicon working, after my upgrade it fails to work on this site but works elsewhere on my other sites not v1.5 Link to comment Share on other sites More sharing options...
musicmaster Posted November 8, 2012 Author Share Posted November 8, 2012 Hi JerseyG No, I didn't. But I gave up on 1.5 and am back at 1.4 for now. 1 Link to comment Share on other sites More sharing options...
xenobius Posted November 18, 2012 Share Posted November 18, 2012 Same here !! Looks like im not alone! Link to comment Share on other sites More sharing options...
mytwocentimes Posted November 20, 2012 Share Posted November 20, 2012 I encountered the "favicon no loading" issue during installation / configuration .... no matter how I resized the ico file or renamed it ... SOLUTION / WORKAROUND : I uploaded all other graphics and used FTP to upload the ico file ... backing up the original and replacing it with my own. Link to comment Share on other sites More sharing options...
JerseyG Posted November 20, 2012 Share Posted November 20, 2012 Hi Mytwocentimes I had also loaded my favicon manually and it shows on my admin pages and on my main page but does not show on subsequent pages. Do you have the favicon working on all pages? G Link to comment Share on other sites More sharing options...
Hacheman Posted November 21, 2012 Share Posted November 21, 2012 Same problem with me PS 1.5.2 Favicon works on BO but nothing in FO. Any ideas? Link to comment Share on other sites More sharing options...
steve_c Posted November 21, 2012 Share Posted November 21, 2012 Same with me. No fav icon on 1.5.2. Anyone have a solution? Link to comment Share on other sites More sharing options...
xenobius Posted November 21, 2012 Share Posted November 21, 2012 No one cares Link to comment Share on other sites More sharing options...
steve_c Posted November 21, 2012 Share Posted November 21, 2012 I have manually uploaded favico to root, img, theme and theme/img. It appear now for root and category but not for product listing. Link to comment Share on other sites More sharing options...
mytwocentimes Posted November 22, 2012 Share Posted November 22, 2012 I'm no expert - what I did was RENAME the favicon.ico file in /img to favicon.ico.BAK and then ftp'd my favicon.ico file. Works in BackOffice - FrontOffice I use Chrome and Camino - works on both Link to comment Share on other sites More sharing options...
ecityman Posted November 22, 2012 Share Posted November 22, 2012 I havent faced any issue with the favicon even on front end or backend. Most of the times, this might have caused due to improper .ico file... You need to upload a correct favicon... Else try to figure out what file get loaded by enabling the Firebug in Firefox. Link to comment Share on other sites More sharing options...
bside2234 Posted November 22, 2012 Share Posted November 22, 2012 Yes, Firebug is useful. If you guys post a link to your stores, we can have a look at them for you. Link to comment Share on other sites More sharing options...
xenobius Posted November 22, 2012 Share Posted November 22, 2012 (edited) http://shop.goldenrosemalta.com Whats worse is the fact that it is not always the same. I might go tomorrow and find that it is not working... Im lost because everytime I clear Chrome's cache. The ADMIN however is always showing a broken link Thanks Edited November 22, 2012 by xenobius (see edit history) Link to comment Share on other sites More sharing options...
bside2234 Posted November 22, 2012 Share Posted November 22, 2012 (edited) You have the same problem everyone that has a problem with this has: Your favicon icon is a .jpg image file and not a .ico file. You have this: <link href="/img/favicon.jpg?1353268270" type="image/vnd.microsoft.icon" rel="icon"> <link href="/img/favicon.jpg?1353268270" type="image/x-icon" rel="shortcut icon"> and it should be this: <link href="/img/favicon.ico?1353268270" type="image/vnd.microsoft.icon" rel="icon"> <link href="/img/favicon.ico?1353268270" type="image/x-icon" rel="shortcut icon"> You need to reformat your favicon image so it has a .ico suffix and not a .jpg. See? If I use the Chrome development tool to change it from .jpg to .ico, your favicon works! Edited November 23, 2012 by bside2234 (see edit history) Link to comment Share on other sites More sharing options...
ecityman Posted November 22, 2012 Share Posted November 22, 2012 Yes, this is the problem most of the guys face with favicon @xenobius, pls mark it as solved if it really solves your case.. Many guys are posting this issue in different threads... Link to comment Share on other sites More sharing options...
JerseyG Posted November 23, 2012 Share Posted November 23, 2012 (edited) Hi Bside2234 My site is www.firstplacetogo.co.uk the .ico file is the same as the one I use on my home site www.bonitajersey.co.uk what does your report indicate on that please. G Edited November 23, 2012 by JerseyG (see edit history) Link to comment Share on other sites More sharing options...
xenobius Posted November 23, 2012 Share Posted November 23, 2012 (edited) Hello again, I would mark this issue solved however firstly I am not the original thread opener! secondly the original post argues about a broken icon in the admin panel which is not the same issue. For example I attached the ICO file that I am uploading in the ADMIN ... Guess what? It shows a broken image as in the first post. Not only that, but the Store icon in the admin has automatically restored to Prestashop's icon. It is definately not resolved. Please check out the images attached and thanks for answering FavIcon.ico Edited November 23, 2012 by xenobius (see edit history) Link to comment Share on other sites More sharing options...
bside2234 Posted November 23, 2012 Share Posted November 23, 2012 Hi Bside2234 My site is www.firstplacetogo.co.uk the .ico file is the same as the one I use on my home site www.bonitajersey.co.uk what does your report indicate on that please. G Same with yours. You have: <link href="/img/favicon.jpg?1353569061" type="image/vnd.microsoft.icon" rel="icon"> <link href="/img/favicon.jpg?1353569061" type="image/x-icon" rel="shortcut icon"> Changing it to this works: <link href="/img/favicon.ico?1353569061" type="image/vnd.microsoft.icon" rel="icon"> <link href="/img/favicon.ico?1353569061" type="image/x-icon" rel="shortcut icon"> You need to format your favicon into a .ico file instead of a .jpg file. Attached is a before and after. Link to comment Share on other sites More sharing options...
JerseyG Posted November 23, 2012 Share Posted November 23, 2012 Hi bside2234 that is definitely an .ico file as attached. I can only assume that prestashop is changing it hence it is not showing in the back office as posted. did you check my home site as it is the same file I have just copied this from the img folder G Link to comment Share on other sites More sharing options...
bside2234 Posted November 23, 2012 Share Posted November 23, 2012 (edited) Hello again, I would mark this issue solved however firstly I am not the original thread opener! secondly the original post argues about a broken icon in the admin panel which is not the same issue. For example I attached the ICO file that I am uploading in the ADMIN ... Guess what? It shows a broken image as in the first post. Not only that, but the Store icon in the admin has automatically restored to Prestashop's icon. It is definately not resolved. Please check out the images attached and thanks for answering When you single click your favicon image on your computer does it say it's and ICON file (like in the image I attached) or a JPEG file? If I change my favicon image type to .jpg from .ico and upload it in my BO I get the same results everyone has. Broken image link and the favicon doesn't work. When I use the favicon.ico image file and upload it into the back office all works fine. You have to change the actual favicon image from a .jpg file to a .ico file. Just changing the code doesn't fix everything. If you upload a proper .ico image, you shouldn't have to change any code. Edit: Just downloaded you icon. It sure seems to be an icon image. Not sure why you would have a problem in the back office though. I'll look into that more and try to replicate it with your icon. Edited November 23, 2012 by bside2234 (see edit history) Link to comment Share on other sites More sharing options...
xenobius Posted November 23, 2012 Share Posted November 23, 2012 (edited) No it is definately and ICO file and it was created by this tool http://tools.dynamicdrive.com/favicon/ The file I attached is not from the hosted files but the only one I have in my computer and the one I upload. I just tried it 3 more times and it's the same. Edited November 23, 2012 by xenobius (see edit history) Link to comment Share on other sites More sharing options...
JerseyG Posted November 23, 2012 Share Posted November 23, 2012 bside2234 Have you an upgrade or clean install? I ask this as things look to be working on your system that are not on other peoples shops. I have an upgrade from 1.4.9 to 1.5.2 using a manual upgrade. I think it is worth trying to narrow this down to who has the problem. G Link to comment Share on other sites More sharing options...
xenobius Posted November 23, 2012 Share Posted November 23, 2012 I have an upgrade. I paid for the upgrade by Site Ground. From 1.4.8 > 1.5.2 Link to comment Share on other sites More sharing options...
bside2234 Posted November 23, 2012 Share Posted November 23, 2012 I upgraded from 1.4.9 to 1.5.1 and it failed pretty miserably. I then manually fixed by overwriting almost all files with the SVN of 1.5.2. I have a test store that was updated from 1.4.9 to 1.5.2 that I can can test your favicon on. Link to comment Share on other sites More sharing options...
xenobius Posted November 23, 2012 Share Posted November 23, 2012 bside2234 you can use the favicon.ico attached by myself as this is the real file. Thanks Link to comment Share on other sites More sharing options...
JerseyG Posted November 23, 2012 Share Posted November 23, 2012 bside2234 Thanks for taking the time to do this. The answer may be in the SVN files G Link to comment Share on other sites More sharing options...
bside2234 Posted November 23, 2012 Share Posted November 23, 2012 (edited) bside2234 you can use the favicon.ico attached by myself as this is the real file. Thanks Just switched to my test store and everything worked fine. Attached are pics of the FO, BO, and the code I get when I checked it. I do want to mention that I do have 2 favicon images that were generated in my /store/img folder. One is favicon and the other is favicon-1 so you might want to check to see if you have both. Maybe the favicon-1 is responsible for the BO image. Or maybe not. Here is the path I have for the BO favicon image: <img title="Favicon" alt="Favicon" src="/store/img/favicon.ico?date=1353659123"> Edited November 23, 2012 by bside2234 (see edit history) Link to comment Share on other sites More sharing options...
bside2234 Posted November 23, 2012 Share Posted November 23, 2012 bside2234 Thanks for taking the time to do this. The answer may be in the SVN files G No problem. It could be. Link to comment Share on other sites More sharing options...
xenobius Posted November 23, 2012 Share Posted November 23, 2012 (edited) Ok so as expected its a problem with the store not with the icon Do you think maybe you know where I can look at to solve this issue? For example will it help if I post some code files from the installation to compare them? If you need anything let me know. Thanks again Edited November 23, 2012 by xenobius (see edit history) Link to comment Share on other sites More sharing options...
bside2234 Posted November 23, 2012 Share Posted November 23, 2012 Ok so as expected its a problem with the store not with the icon Do you think maybe you know where I can look at to solve this issue? It does seem in your case that you are uploading a .ico file and it's writing your code as a .jpg file. I have no idea what would cause this. The only solution I can see is to go and change the three lines of code manually to fix all your icon issues. Link to comment Share on other sites More sharing options...
JerseyG Posted November 23, 2012 Share Posted November 23, 2012 Just switched to my test store and everything worked fine. Attached are pics of the FO, BO, and the code I get when I checked it. I do want to mention that I do have 2 favicon images that were generated in my /store/img folder. One is favicon and the other is favicon-1 so you might want to check to see if you have both. Maybe the favicon-1 is responsible for the BO image. Or maybe not. Here is the path I have for the BO favicon image: <img title="Favicon" alt="Favicon" src="/store/img/favicon.ico?date=1353659123"> I noted the two files and both are on my server. thanks G Link to comment Share on other sites More sharing options...
xenobius Posted November 23, 2012 Share Posted November 23, 2012 I've got another idea, can it be a setting from the database? I noticed that some of the problems I had were all related to database because 99% siteground only updated the files... Link to comment Share on other sites More sharing options...
bside2234 Posted November 23, 2012 Share Posted November 23, 2012 (edited) I've got another idea, can it be a setting from the database? I noticed that some of the problems I had were all related to database because 99% siteground only updated the files... Yes, I was just looking at that but first go to your store/config/xml/1.5.2.xml file and search for two lines of code that contain the word favicon. Do they say favicon.ico or favicon.jpg? Edit: Also in your store/admin/autoupgrade/latest/prestashop/install/data/xml/configuration.xml file, there should be something like this: <configuration id="PS_FAVICON" name="PS_FAVICON"> <value>favicon.ico</value> </configuration> Does this say favicon.ico or favicon.jpg? Check out what I found in a 1.5.0 database file for the autoupgrade: (NULL, NULL, 'PS_FAVICON', 'favicon.jpg', NOW(), NOW()), Hmmmmmmmmmmmmmmmm? Edited November 23, 2012 by bside2234 (see edit history) Link to comment Share on other sites More sharing options...
JerseyG Posted November 23, 2012 Share Posted November 23, 2012 Hi Bside2234 my file is 1.5.0.17 have a download of 1.5.2 so will change that over to the newer file Link to comment Share on other sites More sharing options...
JerseyG Posted November 23, 2012 Share Posted November 23, 2012 Ok so I see this is a generated file and nothing in the download folder Link to comment Share on other sites More sharing options...
bside2234 Posted November 23, 2012 Share Posted November 23, 2012 Hi Bside2234 my file is 1.5.0.17 have a download of 1.5.2 so will change that over to the newer file I can't say if that will fix your issue or not. I have never had this issue (knock on wood) from 1.4.9 to 1.5.2. I can't seem to replicate the issue Xenobius is having. Link to comment Share on other sites More sharing options...
xenobius Posted November 23, 2012 Share Posted November 23, 2012 Yes, I was just looking at that but first go to your store/config/xml/1.5.2.xml file and search for two lines of code that contain the word favicon. Do they say favicon.ico or favicon.jpg? Oh no... mine is called 1.4.7.3.xml !!! Link to comment Share on other sites More sharing options...
xenobius Posted November 23, 2012 Share Posted November 23, 2012 Check out what I found in a 1.5.0 database file for the autoupgrade: (NULL, NULL, 'PS_FAVICON', 'favicon.jpg', NOW(), NOW()), Hmmmmmmmmmmmmmmmm? In my ps_configuration I have both entries !! One saying .jpg and one saying .ico 1 Link to comment Share on other sites More sharing options...
bside2234 Posted November 23, 2012 Share Posted November 23, 2012 (edited) Oh no... mine is called 1.4.7.3.xml !!! I have three files like this in the xml folder: 1.5.1.17 1.5.1.0 1.5.2.0 Edited November 23, 2012 by bside2234 (see edit history) Link to comment Share on other sites More sharing options...
xenobius Posted November 23, 2012 Share Posted November 23, 2012 This is what I have Link to comment Share on other sites More sharing options...
xenobius Posted November 23, 2012 Share Posted November 23, 2012 I think I solved it... ps_configuration had 2 entries one with favicon.jpg and one with favicon.ico and not BOTH are .ico... In admin its working! I was thinking how many more mis matching settings I might have from upgrading! Is there a script / tool to check? I can't imagine what a mess I might have! 2 Link to comment Share on other sites More sharing options...
bside2234 Posted November 23, 2012 Share Posted November 23, 2012 This is what I have I have all those other files in there. I have a program that compares files. If you want to PM me your 1.4.7.3.xml file, I'll compare it to my 1.5.2.xml and see if there are any differences. I'm not even really sure that this could be an issue though. Who knows? It may be. Link to comment Share on other sites More sharing options...
bside2234 Posted November 23, 2012 Share Posted November 23, 2012 (edited) I think I solved it... ps_configuration had 2 entries one with favicon.jpg and one with favicon.ico and not BOTH are .ico... In admin its working! I was thinking how many more mis matching settings I might have from upgrading! Is there a script / tool to check? I can't imagine what a mess I might have! Where is this file located? I want to check mine. Oh wait! Was it this from earlier? "Yes, I was just looking at that but first go to your store/config/xml/1.5.2.xml file and search for two lines of code that contain the word favicon. Do they say favicon.ico or favicon.jpg?" but you looked in the 1.4.7.3.xml? We probably need to write some clear instructions about what to do for everyone having this problem. Edited November 23, 2012 by bside2234 (see edit history) Link to comment Share on other sites More sharing options...
xenobius Posted November 23, 2012 Share Posted November 23, 2012 Ok so 1. I checked config/xml and I found 1.4.7.xml and INSIDE nothing found when I searched for 'favicon' 2. I checked ps_configuration and found 2 entries select * from ps_configuration where lower(name) like '%favicon%'; and I found that I had 1 .jpg and another .ico. I changed the jpg to ico and it worked but I am really unhappy with the mess I have now! It shows that an upgrade really messes things up! Link to comment Share on other sites More sharing options...
JerseyG Posted November 23, 2012 Share Posted November 23, 2012 Hi xenobius Are you talking about Mysql file? if so I am out of my depth slightly. Can you give an idiots guide on what to do and I will use my test server to experiment. G Link to comment Share on other sites More sharing options...
xenobius Posted November 23, 2012 Share Posted November 23, 2012 (edited) Well you know your database contains a lot of tables. One of these tables is called ps_configuration and contains what it name implies. You can either go in this table and scroll each entry one by one (good luck) or do a simple query. The query I pasted will look for configuration settings which contain the word 'favicon' So if you want to do the same to check yours, you need to access your databas but this depends on where your database is hosted. Either or, one of the tools you can use to access it is PHPMYADMIN which is normally available if you are hosting the database online from your hosting CPANEL. Good Luck PS: SQL is a very simple language especially for these types of queries. Just check out this tutorial http://www.w3schools.com/sql/default.asp Edited November 23, 2012 by xenobius (see edit history) Link to comment Share on other sites More sharing options...
xenobius Posted November 23, 2012 Share Posted November 23, 2012 (edited) Hmmph maybe you didn't know but this will clear things up... even if it has nothing to do with this thread. (very briefly) A database stores your data in tables and these tables are (obviously) made up of columns where each column has its own meaning. Unlike a spreadsheet for example where you have enter different types of data in the same column, a database only allows you to enter the same type ex: names or surnames, or whatever as long as they have the same meaning. Now there exists a lot of databases such as MySql, Oracle, SQL Server, Informix, DB2, etc.. etc.. etc.. AND lucky for us there is just ONE LANGUAGE to rule them all (just like the ring in lotr) This language is called SQL (so don't confuse it with MySql or SQL Server) Cheers PS: Look at this http://www.w3schools.com/sql/sql_tryit.asp it is part of the tutorial and it is a gold mine for you to learn almost 80% of what you might ever need to do in Prestashop because really you're not developing but rather "reading" information and the SELECT command is all about "getting" you the information safely WITHOUT EVER POSSIBLY deleting anything. So it is safe. On the other hand, commands like UPDATE, DELETE and DROP are a suicide unless you are ready to start over Edited November 23, 2012 by xenobius (see edit history) Link to comment Share on other sites More sharing options...
JerseyG Posted November 23, 2012 Share Posted November 23, 2012 (edited) Hi xenobius Many thanks for that. Luckily I host my own servers so access is easy I just remote in (its a whole room away), my spare rack has a duplicate set so I can play. SQL is something I try not to play with as I am not confident with it, maybe it is time for me to be brave :-) I use MS SQL for other databases and Mysql for Prestashop but understand that it they are variants of sequel databases. This is a job for the weekend so that I can concentrate.... Again thanks for help and advice. G I might even have a go at stock and warehouse as I have random figures in there Edited November 23, 2012 by JerseyG (see edit history) Link to comment Share on other sites More sharing options...
xenobius Posted November 23, 2012 Share Posted November 23, 2012 I use MS SQL for other databases and Mysql for Prestashop but understand that it they are variants of sequel databases. Hmm not really no Microsoft called their database Sequel Server but than changed its name later on to SQL Server and nowadays SQL Server is not Sequel Server. Anyways the point is that they are absolutely not variants but rather implement the same protocol (so to speak) Good Luck Link to comment Share on other sites More sharing options...
JerseyG Posted November 23, 2012 Share Posted November 23, 2012 Hi xenobius See I told you I did not know enough about it but old dogs can be taught new tricks. G Link to comment Share on other sites More sharing options...
xenobius Posted November 23, 2012 Share Posted November 23, 2012 hahaha Link to comment Share on other sites More sharing options...
JerseyG Posted November 24, 2012 Share Posted November 24, 2012 Xenobius Thanks, took the plunge and within 10 minutes favicon now working. 63 is the right age to get into this I think. Again thanks to bside2234 for your help in tracing this, very much appreciated. G 1 Link to comment Share on other sites More sharing options...
xenobius Posted November 24, 2012 Share Posted November 24, 2012 Hehe than 27 is the right age to teach Good Job buddy Thanks bside2234 1 Link to comment Share on other sites More sharing options...
magicliltouch Posted January 22, 2013 Share Posted January 22, 2013 In my ps_configuration I have both entries !! One saying .jpg and one saying .ico I had the same issue and realized that I also had 2 entries, one with each extension. I changed to jpg to ico and it worked. Thanks for the tip. Link to comment Share on other sites More sharing options...
massvision Posted December 2, 2014 Share Posted December 2, 2014 Yes, Firebug is useful. If you guys post a link to your stores, we can have a look at them for you. Hello, I am having the favicon issue. It shows on my back end but not my front end. Here is a link to my store. http://massvisioninc.com Thank you Link to comment Share on other sites More sharing options...
Repitol Posted February 8, 2017 Share Posted February 8, 2017 Hi everybody when you face this kind of problem : you have edited in backend your favicon with a real ico file (favicon.ico and not favicon.jpg) and your frontend still shows the "default interrogation" icon or you have your favicon in backend but not in frontend just verify table configuration in your database search for "favicon" you will certainly find two PS-FAVICON lines : one called favicon.ico and the other called favicon.jpg in this case, just delete the wrong line (favicon.jpg) if you're not confortable with deleting a line in the database, edit the line and rename favicon.jpg as favicon.ico (you'll have 2 PS_FAVICON lines in your ps_configuration table but it works) Link to comment Share on other sites More sharing options...
Recommended Posts