Jump to content
vincegumera

Store logo successfully uploaded but not displaying in my website

Recommended Posts

Hi,

Good Day!

I having trouble getting the updated logo on my site.  I updated it in-store tab logo but it's not showing. what I'm thinking is to updated to header.php file. how can I view the PHP file on admin OSCommerce?

hope someone can help me regarding this issue. thanks

Regards,

Vincent

Share this post


Link to post
Share on other sites
 
 
1
 Advanced issue found
 
 
 
 
0
 Advanced issue found
 
 
Quote
On 3/5/2020 at 9:25 PM, puddlec said:

on the customer side does it show any store logo at all? 

or

does it only show the old logo?

 

also

 

@puddlec Hi thank you for your reply. yes, there is an old logo on the website. However when I upload the new logo on the configuration>>>store_logo on admin OSCommerce, it's not displaying on my site. 

 

Share this post


Link to post
Share on other sites
Posted (edited)

Some simple things to check... Go check your error logs for any info.

1) Check new logo file is correct format

2) Check to see if logo file has been uploaded and saved to your site

3) Make sure name of new file is good name

4) Clear cache on you pc/laptop

5) Try another image file.

if it's live site pm or post link or inspect the logo in your browser to see what the html is showing.

 

Edited by JcMagpie

 

Share this post


Link to post
Share on other sites
Posted (edited)
5 hours ago, JcMagpie said:
 
 
 
 
 
 
 
 
 
7
 Advanced issues found
 
8
5 hours ago, JcMagpie said:

Some simple things to check... Go check your error logs for any info.

1) Check new logo file is correct format

2) Check to see if logo file has been uploaded and saved to your site

3) Make sure name of new file is good name

4) Clear cache on you pc/laptop

5) Try another image file.

if it's live site pm or post link or inspect the logo in your browser to see what the html is showing.

 

Hi, here's the following I tried.

1) Check the new logo file is the correct format.

I used the PNG format for the image.

2) Check to see if the logo file has been uploaded and saved to your site.

I says that the logo is uploaded successfully. see the screenshot

3) Make sure the name of the new file is good name.

I used the default name for it. (store_logo.png)

4) Clear cache on your pc/laptop.

I tried it many times. (ctrl + f5 ) and used the incognito window tab. 

5) Try another image file.

I tried different sizes but still, nothing displays.

Is there any other way to edit it?  I only have access to the OSCommerce admin.

here is the live site. http://5starsautoparts.com/

 

Thanks for all your help.

image.png.170a28f8505b6c5faee0711088b58fad.png

Edited by vincegumera

Share this post


Link to post
Share on other sites

Your site is not SSL so in some browsers the images will be blocked from showing.

The logo looks fine in my browser shop side, you need explain what more you expect!

image.png.b3215c19fc014051d08b6419be0113b1.png


 

Share this post


Link to post
Share on other sites
1 hour ago, vincegumera said:

I want to display the logo with the acronym.

😂 Well you never said you were trying to show a second logo! No you can not do that in stock osC. You have 2 options

1) combine the 2 image files into one file.

2) Edit the core code! not recomended to add a second image manualy.

1 hour ago, vincegumera said:

What can I do to unblocked the images in some browsers?

Install SSL


 

Share this post


Link to post
Share on other sites
1 hour ago, JcMagpie said:

😂 Well you never said you were trying to show a second logo! No you can not do that in stock osC. You have 2 options

1) combine the 2 image files into one file.

2) Edit the core code! not recomended to add a second image manualy.

Install SSL

It's not a second logo. For number 1,  I already did that. I modified the existing logo and add the acronym to it. then upload it to the store_logo section of OSCommerce.

For number 2, I don't know where to edit the core code. Is there a PHP file to it? I didn't see any coding inside the OSCommerce. I'm just a newbie looking for answers. :p

Share this post


Link to post
Share on other sites
29 minutes ago, vincegumera said:

For number 2, I don't know where to edit the core code

Look in, public_html/includes/header.php

 <div id="storeLogo"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></div>

 

29 minutes ago, vincegumera said:

It's not a second logo

Then I am confused... You have custom code which is showing the logo but not outputing the correct html

image.png.68ea4817f2861273624f12fc6b2934ef.png

In official osC the output shoud be like so,

image.png.09193f850e5572cdf0a991f8623a3ed5.png

So I guess your custom code is broke... you will need to fix this to show properly. Perhaps contact the person who made the custom bits for you.


 

Share this post


Link to post
Share on other sites
18 minutes ago, JcMagpie said:

Look in, public_html/includes/header.php

I don't have access to this. 

 

18 minutes ago, JcMagpie said:

So I guess your custom code is broke... you will need to fix this to show properly. Perhaps contact the person who made the custom bits for you.

I guess I have to contact the person that makes all this custom code. 

I appreciated all your help regarding this issue. many thanks, man!

Share this post


Link to post
Share on other sites

No problem happy to help. Looking a bit deeper into your code it's definity custom code issue as if I replace the custom code with stock code I see the same problem you see!

So looks like the stock logo in osC admin is not used to output the logo in your site.

image.png.979ec86bbe1147004ecb1736396a32f2.png

image.png.0669419ae64ef92722aceafc9aae8714.png


 

Share this post


Link to post
Share on other sites

one possible idea, you can try. (which should work unless anything else has changed in your setup, from default oscommerce behaviour) 

"create a product" in the admin, you don't have to fill out any of the fields, (set it to out of stock so it does not show), and where you got the product image file upload, upload your store logo as  "logo.png" which should overwrite the original, and so changes the store logo


App created for phoenix
TinyMCE editor for admin

 

Share this post


Link to post
Share on other sites
 
 
 
 
2
 Advanced issues found
 
3
2 hours ago, JcMagpie said:

No problem happy to help. Looking a bit deeper into your code it's definity custom code issue as if I replace the custom code with stock code I see the same problem you see!

So looks like the stock logo in osC admin is not used to output the logo in your site.

I think you are right, looking at this makes things clearer for me. The issue is on the custom code.  I'll have to contact the person who did this cause right now I don't have access to the codes. Thanks for your help  @JcMagpie

Share this post


Link to post
Share on other sites
2 hours ago, puddlec said:

one possible idea, you can try. (which should work unless anything else has changed in your setup, from default oscommerce behaviour) 

"create a product" in the admin, you don't have to fill out any of the fields, (set it to out of stock so it does not show), and where you got the product image file upload, upload your store logo as  "logo.png" which should overwrite the original, and so changes the store logo

I tried to name it as you said but it didn't work. it is something on the custom code that made in the site so it's not working. when I upload it still rename as "store_logo.png" and not logo.png  that would make the logo overwrite.

I appreciated your help @puddlec

Share this post


Link to post
Share on other sites
6 minutes ago, vincegumera said:

I tried to name it as you said but it didn't work. it is something on the custom code that made in the site so it's not working. when I upload it still rename as "store_logo.png" and not logo.png  that would make the logo overwrite.

I appreciated your help @puddlec

did you try it the way i said, as that method, should avoid, the file being renamed? 


App created for phoenix
TinyMCE editor for admin

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×