Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

site not working properly


dean023

Recommended Posts

added some products to my site on thursday and every thing was working ok. put a couple of test products on sat and all fine.......now monday no pictures, backgound colours or logo loading any reason why this might of happened?

 

(not touched after sat)

 

cheers in advance

Link to comment
Share on other sites

unlikely. could be the image path through your configure file. or your browser does not show the images. Do you see the image placeholders? You can also check the path properties for the images if its ok.

Link to comment
Share on other sites

unlikely. could be the image path through your configure file. or your browser does not show the images. Do you see the image placeholders? You can also check the path properties for the images if its ok.

 

 

by place holders i presume you mean the boxes with X in them where the image should go? if so yes

 

why would this happen as it was working sat and i've not changed a thing?

 

do you see any images?

 

www.electricalwholesaler.org.uk/shop

Link to comment
Share on other sites

do you see any images?

 

no I dont. But each image properties seems to be in an https path instead of http. And so you need to fix this.

 

Meaning if you are not on a secure server use the http otherwise https with correct path.

Link to comment
Share on other sites

by place holders i presume you mean the boxes with X in them where the image should go? if so yes

 

why would this happen as it was working sat and i've not changed a thing?

 

do you see any images?

 

www.electricalwholesaler.org.uk/shop

I would say your configure.php files are not set correctly

 

check if there set like this .

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

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

I would say your configure.php files are not set correctly

 

check if there set like this .

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

 

 

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

define('DIR_WS_HTTPS_CATALOG', '/shop/');

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

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

 

as taken from configure.php

 

if there was something wrong in the php files, how come a new installation is doing the same?

 

www.electricalwholsaler.org.uk/testshop

Link to comment
Share on other sites

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

  define('DIR_WS_HTTPS_CATALOG', '/shop/');

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

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

 

as taken from configure.php

 

if there was something wrong in the php files, how come a new installation is doing the same?

 

www.electricalwholsaler.org.uk/testshop

Are you testing on a local machine If so it might be image browser cache history

Try emplying your browser history??

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

Are you testing on a local machine If so it might be image browser cache history

Try emplying your browser  history??

 

 

working on laptop. surely if it was just a case of my cache history you would see the images?

 

how do i empty my cache history? (sorry i'm very new to this and find osc difficult to make changes to the way i want it to look)

Link to comment
Share on other sites

*/

 

// Define the webserver and path parameters

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

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

define('HTTP_SERVER', 'http://electricalwholesaler.org.uk'); // eg, http://localhost - should not be empty for productive servers

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

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

define('HTTP_COOKIE_DOMAIN', 'electricalwholesaler.org.uk');

define('HTTPS_COOKIE_DOMAIN', 'electricalwholesaler.org.uk');

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

define('HTTPS_COOKIE_PATH', '/shop/');

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

define('DIR_WS_HTTPS_CATALOG', '/shop/');

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', '/home2/electri/public_html/shop/');

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

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

Link to comment
Share on other sites

working on laptop. surely if it was just a case of my cache history you would see the images?

 

how do i empty my cache history? (sorry i'm very new to this and find osc difficult to make changes to the way i want it to look)

click on the tools tab at the top of your screen

then internet options

then in the general fields press delette cookies

then press delete files

and then delete history.

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

click on the tools tab at the top of your screen

then internet options

then in the general fields press delette cookies

then press delete files

and then delete history.

When I work I have my browser set to never look for newer stored pages in general setting

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

this path

define('HTTPS_SERVER', 'https://electricalwholesaler.org.uk');

 

is invalid. Your host must send you a secure path you should use.

Link to comment
Share on other sites

i'm having enough problems trying to make changes to the apperance without this! lol

 

thanks everybody for your help so far it really is appreciated!

 

sometimes just think i've bitten off more than i can chew.

 

 

adding products and attributes is easy its when php is involved it not great to have no knowledge!

Link to comment
Share on other sites

i'm having enough problems trying to make changes to the apperance without this! lol

 

thanks everybody for your help so far it really is appreciated!

 

sometimes just think i've bitten off more than i can chew.

adding products and attributes is easy its when php is involved it not great to have no knowledge!

 

 

hmmm seems other people are having the same problem!??

Link to comment
Share on other sites

The other possibility is that there is a rule in one of the .htaccess files to redirect everything for the http....shop/images directory to https//...shop/images

Link to comment
Share on other sites

The other possibility is that there is a rule in one of the .htaccess files to redirect everything for the http....shop/images directory to https//...shop/images

 

 

whats my best solution? i have already installed another copy of osc in a different directory but this is doing the same.

 

please help me i'm ready to throw the thing out of the window!!!!!!

Link to comment
Share on other sites

Set this line:

 

define('HTTPS_SERVER', 'https://electricalwholesaler.org.uk');

 

like so:

 

define('HTTPS_SERVER', 'http://electricalwholesaler.org.uk'); // (http without the s)

 

Something's wonky on your server, worry about it later.

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)

Link to comment
Share on other sites

Set this line:

 

define('HTTPS_SERVER', 'https://electricalwholesaler.org.uk');

 

like so:

 

define('HTTPS_SERVER', 'http://electricalwholesaler.org.uk'); // (http without the s)

 

Something's wonky on your server, worry about it later.

 

 

Thankyou Alan much appreciated!

 

now works ok!

 

:thumbsup:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...