Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help my shop not displaying any image immediately after installation


zosman

Recommended Posts

Posted

Post what you have for these lines in your /shop/includes/configure.php file

 

  define('HTTP_SERVER', ''); // 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', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '');
 define('HTTPS_COOKIE_PATH', '');

Don't post the entire file!

 

Just those 7 lines.

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 >

Posted
Post what you have for these lines in your /shop/includes/configure.php file

 

define('HTTP_SERVER', 'http://anakwatan.com');
 define('HTTPS_SERVER', 'https://anakwatan.com');
 define('ENABLE_SSL', false);
 define('HTTP_COOKIE_DOMAIN', 'anakwatan.com');
 define('HTTPS_COOKIE_DOMAIN', 'anakwatan.com');
 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/');

Posted
define('HTTP_SERVER', 'http://anakwatan.com');
 define('HTTPS_SERVER', 'https://anakwatan.com');
 define('ENABLE_SSL', false);
 define('HTTP_COOKIE_DOMAIN', 'anakwatan.com');
 define('HTTPS_COOKIE_DOMAIN', 'anakwatan.com');
 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/');

 

 

my shop looks fine now after editing the code in bold below by removing the "s" does it effect anything after i remove it? but so far the shop load and looks ok

 

define('HTTP_SERVER', 'http://anakwatan.com');

$define('HTTPS_SERVER', 'https://anakwatan.com');

Posted

Since you don't use SSL that shouldn't matter.

 

The problem is the server is sending the signal to your store that SSL is on.

 

Make the same change as here: click me

 

Except since you don't have a catalog folder so the file to edit is /shop/includes/application_top.php

 

That person had the same problem.

 

BACKUP THE FILE BEFORE MAKING ANY EDITS.

 

After making the change put the S back here:

 

define('HTTPS_SERVER', 'https://anakwatan.com');

And see if things still work.

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 >

Posted
Since you don't use SSL that shouldn't matter.

 

The problem is the server is sending the signal to your store that SSL is on.

 

Make the same change as here: click me

 

Except since you don't have a catalog folder so the file to edit is /shop/includes/application_top.php

 

That person had the same problem.

 

BACKUP THE FILE BEFORE MAKING ANY EDITS.

 

After making the change put the S back here:

 

 

And see if things still work.

 

I germ...my gurus...i have done what u have guide..and it works after i put the "s" in and does this effect payment via credit card on my side?

Posted

If and when you install SSL you maye have to change the code you just changed once more.

 

But we'll cross that bridge when we get there.

 

As it stands, it all looks good to me.

;)

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 >

Archived

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

×
×
  • Create New...