Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Button Images not being displayed on Fresh install


Bling

Recommended Posts

The Images for the buttons are not being displayed, The files are there with the correct name and permissions (and re-uploaded in binary mode), if i change the file for the buy it now button to a larger image, the box size where the image should be does increase to match the size of the new image, but still shows no image. (also unable to see a .htaccess file in the admin/includes folder as mentioned in a previous post I've read) Any ideas ? ...

Link to comment
Share on other sites

You should be looking in /catalog/includes for the .htaccess file.

 

Try to access a button directly with your browser.

 

Something like this:

 

http://yoursite.com/catalog/includes/languages/english/images/buttons/button_buy_now.gif

If you get the image to display, but it shows as a red X then the image file is probably corrupt.

 

If you get a message saying something like you don't have permissions to see it, then check your permissions.

 

All the FOLDERS in the path: /includes/languages/english/images/buttons should have 755 permissions, then all the button image files should have 644 permissions.

 

If you get a "internal server error" or something like that it's a errant .htacces file. Check for them in all the above mentioned folders. If found rename to text.htaccess

 

.htaccess are hidden files by default in the UNIX environment. I had to toggle a setting in my cPanel to be able to see them. You might have to as well.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

You should be looking in /catalog/includes for the .htaccess file.

 

Try to access a button directly with your browser.

 

Something like this:

 

http://yoursite.com/catalog/includes/languages/english/images/buttons/button_buy_now.gif

If you get the image to display, but it shows as a red X then the image file is probably corrupt.

 

If you get a message saying something like you don't have permissions to see it, then check your permissions.

 

All the FOLDERS in the path: /includes/languages/english/images/buttons should have 755 permissions, then all the button image files should have 644 permissions.

 

If you get a "internal server error" or something like that it's a errant .htacces file. Check for them in all the above mentioned folders. If found rename to text.htaccess

 

.htaccess are hidden files by default in the UNIX environment. I had to toggle a setting in my cPanel to be able to see them. You might have to as well.

 

Was the .htaccess file, was hidden, Works good now, Thanks heaps for your help, very much appreciated.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...