Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Broken Image Links


Guest

Recommended Posts

Posted

I've been trying to figure this problem out for quite some time now, but I have gotten nowhere. Can anyone help me fix my broken button links? The images have been uploaded. The site is www.brescianiandhobbs.com/catalog. I have a feeling the problem is in the configure file so I have included it here. Thanks to anyone that can help!

 

 

 

 

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.brescianiandhobbs.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.brescianiandhobbs.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/username/public_html/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', ?username?);

define('DB_SERVER_PASSWORD', 'password');

define('DB_DATABASE', 'username_shopping');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Posted
Check your permissions on that folder. The configure.php appears correct, however, when I try to view just the image I get a permissions error.

Same here and some seem just to be missing (like your button_review.gif, button_in_cart.gif)

Posted
Check your permissions on that folder. The configure.php appears correct, however, when I try to view just the image I get a permissions error.

 

 

I checked my permissions on that file and they were set to 444. Will setting it to something else fix the image problem?

Posted

I've still had no luck at working this problem out. I have renamed the /includes .htaccess file, but that did not change anything. I am afraid to move the languages folder as someone suggested because I am not overly familiar with .php.

 

I have read numerous accounts of missing images throught this forum, but cannot find a concrete answer to my problem. PLEASE...can anyone help? THANK YOU!!!!

Posted

If you try to access your buttons directly, you get this message:

 

Forbidden

You don't have permission to access /catalog/includes/languages/english/images/buttons/button_buy_now.gif on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

In other words, something in your settings is blocking access to the folder where your images are. As well as looking for an .htaccess file in your includes directory, you should also check for on in the includes/languages, includes/languages/english, includes/languages/english/images and includes/languages/english/images/buttons directories. In addition you should take a look at the .htaccess in your catalog folder to ensure you haven't inadvertantly blocked one of these directories from there.

 

Good luck!

--------------------------------------------------------------------------------

'http://www.brescianiandhobbs.com'
Posted
If you try to access your buttons directly, you get this message:

 

Forbidden

You don't have permission to access /catalog/includes/languages/english/images/buttons/button_buy_now.gif on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

In other words, something in your settings is blocking access to the folder where your images are. As well as looking for an .htaccess file in your includes directory, you should also check for on in the includes/languages, includes/languages/english, includes/languages/english/images and includes/languages/english/images/buttons directories. In addition you should take a look at the .htaccess in your catalog folder to ensure you haven't inadvertantly blocked one of these directories from there.

 

Good luck!

--------------------------------------------------------------------------------

 

I'm definitely still lost. The only place in /includes I was able to find an .htaccess file was in the /includes folder itself. As for the .htaccess file in my catalog folder, I don't exactly know what to look for that may have possibly caused these broken links. I did, however, change many of the buttons' permissions, hoping that would help my cause somewhat. This is the .htaccess file from the catalog folder in case anyone has any ideas as to any possible solutions to this on-going problem. Thanks to everyone who has helped thus far!

 

# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $

#

# This is used with Apache WebServers

#

# For this to work, you must include the parameter 'Options' to

# the AllowOverride configuration

#

# Example:

#

#

# AllowOverride Options

#

#

# 'All' with also work. (This configuration is in the

# apache/conf/httpd.conf file)

 

# The following makes adjustments to the SSL protocol for Internet

# Explorer browsers

 

 

 

SetEnvIf User-Agent ".*MSIE.*" \

nokeepalive ssl-unclean-shutdown \

downgrade-1.0 force-response-1.0

 

 

 

# If Search Engine Friendly URLs do not work, try enabling the

# following Apache configuration parameter

#

# AcceptPathInfo On

 

# Fix certain PHP values

# (commented out by default to prevent errors occuring on certain

# servers)

#

#

# php_value session.use_trans_sid 0

# php_value register_globals 1

#

Archived

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

×
×
  • Create New...