Jump to content



Latest News: (loading..)

- - - - -

Images don't display

images don work

  • Please log in to reply
3 replies to this topic

#1   masterward

masterward
  • Members
  • 2 posts
  • Real Name:brian ward

Posted 07 July 2012 - 09:56 PM

Hi,

I am new to the whole oscommerce but thought i'd give it a try and my current website has been built with osc. I have installed osc commerce onto xampp and for some reason no images are display and because i'm new to osc all of the post that may relate to this lead me on to other things i don't know.

Can any body tell me exactly how i can get the images to display

Thanks

Master W

#2 ONLINE   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,732 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 07 July 2012 - 09:59 PM

@masterward

The most common problem is the path as set in the configure.php

Ensure you have them correct.


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#3   masterward

masterward
  • Members
  • 2 posts
  • Real Name:brian ward

Posted 07 July 2012 - 10:05 PM

Hi Chris

can you tell me were i access the configure.php and what the path should be?

thanks

#4   germ

germ
  • Members
  • 13,921 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 08 July 2012 - 04:32 PM

Below is a working config file from my WAMP server.

osC is installed in a folder named 231 in the WAMP root.

Maybe you can get the drift from looking at it as to what may be causing your image problems.

<?php
  define('HTTP_SERVER', 'http://127.0.0.1');
  define('HTTPS_SERVER', 'http://127.0.0.1');
  define('ENABLE_SSL', false);
  define('HTTP_COOKIE_DOMAIN', '.127.0.0.1');
  define('HTTPS_COOKIE_DOMAIN', '.127.0.0.1');
  define('HTTP_COOKIE_PATH', '/231/');
  define('HTTPS_COOKIE_PATH', '/231/');
  define('DIR_WS_HTTP_CATALOG', '/231/');
  define('DIR_WS_HTTPS_CATALOG', '/231/');
  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', 'F:/wamp/www/231/');
  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
  define('DB_SERVER', 'localhost');
  define('DB_SERVER_USERNAME', 'secret');
  define('DB_SERVER_PASSWORD', 'secret');
  define('DB_DATABASE', 'secret');
  define('USE_PCONNECT', 'false');
  define('STORE_SESSIONS', 'mysql');
?>



Added in edit:

The configure.php file is located in the /includes folder in the store root.

Edited by germ, 08 July 2012 - 04:42 PM.

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 >