Zen Cart Logo
Forums / Installing on a Linux/Unix Server / change logo and update database

change logo and update database

Views: 2,652

Results 1 to 12 of 12
7 Aug 2020, 5:27 AM
#1
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
220
Plugin Contributions:
0

change logo and update database

1st the logo issue: I am doing a clean install of v1.5.7 while running 1.5.4 live. I can't seem to remember how to change the stock zencart logo with my own. I open up the logo image in a new window so I could see the url path and uploaded the new logo to that same location using ftp and cleared my cache but the zencart logo still displays.

2nd the database issue. Once I get the new site to my liking I will save a fresh backup of my db from 1.5.4 then import that db info into the new db. At least that was my thought process. But now I read that during the install process the installer can upgrade the db for you. That sounds great but I am past that point. Do I need to go back and start over or can I move forward another way?

7 Aug 2020, 8:27 AM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,717
Plugin Contributions:
56

Re: change logo and update database

Question 1:
Does this help?
https://docs.zen-cart.com/user/new_user_topics/change_header_logo/

If not, please post a link to your site.

Question 2:
Yes, you should use the installer and do an "Upgrade" - this will update the format of your 1.5.4 database to be 1.5.7.

7 Aug 2020, 12:42 PM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,830
Plugin Contributions:
17

Re: change logo and update database

Small addition to number 2.

After bringing over the old database and doing the upgrade, any mods you've added (ike SWGUY's preview e-mail) will need to have their MySQL install files run to get them into the upgraded database.

7 Aug 2020, 12:54 PM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,717
Plugin Contributions:
56

Re: change logo and update database

Good point. When I'm doing an upgrade, I make a list of all SQL files I applied to the test database so when it comes time to go live, I can just apply whatever is in the list.
https://docs.zen-cart.com/user/upgrading/

17 Aug 2020, 6:24 PM
#5
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
220
Plugin Contributions:
0

Re: change logo and update database

swguy:

Question 1:
Does this help?
https://docs.zen-cart.com/user/new_user_topics/change_header_logo/

I uploaded my logo (also named logo.gif) to /includes/templates/responsive_classic/images/ but the zencart logo still displays even after clearing my browsers cache. I then thought okay maybe it is using the one in the template default folder so I overwrote it here too: includes/templates/template_default/images and in both locations I can see via ftp that the logo.gif file changed in file size so I know its there but it just won't display. Why can't I get my logo to display by simply overwriting the logo.gif file instead of editing the header.php files?

17 Aug 2020, 7:41 PM
#6
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
220
Plugin Contributions:
0

Re: change logo and update database

swguy:

Question 1:
Does this help?
https://docs.zen-cart.com/user/new_user_topics/change_header_logo/

The link you provided references a file that I cannot find:

"After creating your logo you can adjust the alt text, width, height, and image name in includes/languages/english/YOURTEMPLATE/header.php"

I am using the classic responsive template and there is no header.php file to edit in includes/languages/english/responsive_classic/

17 Aug 2020, 9:22 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: change logo and update database

Copy it from the directory above YOURTEMPLATE, thus making your own override from the original at /includes/languages/english/ as /includes/languages/english/YOURTEMPLATE/header.php

18 Aug 2020, 3:47 AM
#9
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
220
Plugin Contributions:
0

Re: change logo and update database

DrByte:

Copy it from the directory above YOURTEMPLATE, thus making your own override from the original at /includes/languages/english/ as /includes/languages/english/YOURTEMPLATE/header.php

Okay I followed your instructions and copied the header.php file and changed it from logo.gif to logo.jpg, saved & ftped, uploaded my logo as logo.jpg. The ZC logo still persists. So I did a search for logo.gif in the admin developers tool kit and the only reference to logo.gif was in includes/templates/template_default/images so I deleted the logo.gif file there. I had already deleted logo.gif from the images folders in both classic and responsive_classic images folders so the logo.gif file should be gone. But it still shows up. And the header.php file in my includes/languages/english/responsive_classic is referencing logo.jpg and not logo.gif. So why am I still seeing the zc logo? I am stumped.

18 Aug 2020, 4:52 AM
#10
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,717
Plugin Contributions:
56

Re: change logo and update database

Need a URL to investigate further.

18 Aug 2020, 2:52 PM
#11
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
220
Plugin Contributions:
0

Re: change logo and update database

swguy:

Need a URL to investigate further. I think it was you that posted about renaming the logo to my_logo.gif or .jpg so I did that in the php file and renamed the logo and that worked. What I can't understand is why overwriting the logo.gif with my logo instead of the stock zc logo doesn't work. Anyway I got the issue resolved.

18 Aug 2020, 4:22 PM
#12
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,717
Plugin Contributions:
56

Re: change logo and update database

GoldBuckle:

What I can't understand is why overwriting the logo.gif with my logo instead of the stock zc logo doesn't work.

Because of caching.

https://docs.zen-cart.com/user/new_user_topics/change_header_logo/#image-caching

It does work after you clear the cache, but this is a very easy thing to forget to do.