Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with icons (Flags etc)


JollyCole

Recommended Posts

Posted

Hello all.

I have a bit of a problem.

I have set up osCommerce on my site, and it seems that some of the icons that are supposed to be there do not show up. For example the flags for the language, continue, and search.

When I look at the properties I see that the url to the icons are right, but do not show up.

I am using php 5 and every thing works exept this.

Any suggestions?

Best regards,

Jolly Cole

Posted

Sorry, I forgot to tell you, it is only the icons under the language files that are not displaying.

Best regards,

Jolly Cole

Posted

Look in the includes folder for a .htaccess file. Rename it.

 

Or you can try something for me.

 

The contents of that file are:

 

# $Id: .htaccess,v 1.4 2001/04/22 20:30:03 dwatkins Exp $
#
# This is used with Apache WebServers
# The following blocks direct HTTP requests in this directory recursively
#
# For this to work, you must include the parameter 'Limit' to the AllowOverride configuration
#
# Example:
#
#<Directory "/usr/local/apache/htdocs">
#  AllowOverride Limit
#
# 'All' with also work. (This configuration is in your apache/conf/httpd.conf file)
#
# This does not affect PHP include/require functions
#
# Example: http://server/catalog/includes/application_top.php will not work

<Files *.php>
Order Deny,Allow
Deny from all
</Files>

 

It's meant to prevent outsiders from directly accessing the php files in /includes and I don't understand why some servers also block .gif while others don't

 

anyways, try

 

<Files *.php>

Order Deny,Allow

Deny from all

</Files>

<Files *.gif>

Order Allow,Deny

Allow from all

</Files>

 

I'm not sure this is the best way to write the syntax but you've got nothing to lose by trying.

 

 

 

Here's the relevant Apache page:

 

http://httpd.apache.org/docs/1.3/mod/mod_access.html#deny

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted

Not able to upload .htaccess file -- same name or rename. What if one doen't have an Apache server?

Archived

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

×
×
  • Create New...