Zen Cart Logo
Forums / General Questions / config help (maybe)

config help (maybe)

Locked

Views: 1,197

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
10 Dec 2008, 4:09 PM
#1
tradari avatar

tradari

New Zenner

Join Date:
Dec 2008
Posts:
8
Plugin Contributions:
0

config help (maybe)

Hi all,

I have a small problem with this site after moving the domain i altered the 2 configure.php files which got the style sheets working but for some reason i have lost all the images including the admin page ones

http://www.thestockingstore.co.uk

Can anyone give me a pointer

Best regards
Tradari (aka Darren)

10 Dec 2008, 7:45 PM
#2
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,284
Plugin Contributions:
37

Re: config help (maybe)

<link rel="stylesheet" type="text/css" href="includes/templates/future/css/stylesheet.css" />

Missing /shop/ , check you configs again :clap:

~Melanie

10 Dec 2008, 8:39 PM
#3
tradari avatar

tradari

New Zenner

Join Date:
Dec 2008
Posts:
8
Plugin Contributions:
0

Re: config help (maybe)

ok i see the problem but looking through the configs im not sure where im missing it are you able to give a bit more of a clue

still learning a lot of this :lamo:

10 Dec 2008, 8:53 PM
#4
tradari avatar

tradari

New Zenner

Join Date:
Dec 2008
Posts:
8
Plugin Contributions:
0

Re: config help (maybe)

the help i have added some of the config file here

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://thestockingstore.co.uk');
define('HTTPS_SERVER', 'https://thestockingstore.co.uk');

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

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
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', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

10 Dec 2008, 8:53 PM
#5
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,284
Plugin Contributions:
37

Re: config help (maybe)

  define('HTTP_CATALOG_SERVER', 'http://www.thestockingstore.co.uk/shop');
  define('HTTPS_CATALOG_SERVER', 'https://www.thestockingstore.co.uk/shop');

Admin >> Includes
Cheers,
Melanie

10 Dec 2008, 8:58 PM
#6
tradari avatar

tradari

New Zenner

Join Date:
Dec 2008
Posts:
8
Plugin Contributions:
0

Re: config help (maybe)

Ok edit'ed that and the whole layout drops off along with the images too ill leave it like that so you can see the effect for the mo

Darren

ok quick edit changed the /includes/ back to as it was and the format comes back.
now gone into admin/includes and that config i have now changed

but no images still,

PS thanks for the help

10 Dec 2008, 9:09 PM
#7
tradari avatar

tradari

New Zenner

Join Date:
Dec 2008
Posts:
8
Plugin Contributions:
0

Re: config help (maybe)

not sure if this helps but heres the code i have changed

  • If you desire your entire admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://thestockingstore.co.uk/shop');
    define('HTTPS_SERVER', 'https://thestockingstore.co.uk/shop');
    define('HTTP_CATALOG_SERVER', 'http://thestockingstore.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://thestockingstore.co.uk');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', 'false');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_ADMIN', '/shop/xxxxxxx/');
define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_ADMIN', '/shop/xxxxxxx/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
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_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

10 Dec 2008, 9:16 PM
#8
tradari avatar

tradari

New Zenner

Join Date:
Dec 2008
Posts:
8
Plugin Contributions:
0

Re: config help (maybe)

arr just found another problem by adding the /shop in the admin section after login goes to http://www.thestockingstore.co.uk/shop/shop/etc

10 Dec 2008, 9:20 PM
#9
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,284
Plugin Contributions:
37

Re: config help (maybe)

Where is your Zen Cart physically?

in /shop/
or public_html/

~Melanie

10 Dec 2008, 9:26 PM
#10
tradari avatar

tradari

New Zenner

Join Date:
Dec 2008
Posts:
8
Plugin Contributions:
0

Re: config help (maybe)

the zen cart is installed under public_html/shop/

i suppose it might help to let you know what happened before hand.

the site was working fine under a different domain. i changed the domain but kept the hosting. so the only things i have change is the domain name in the config files and changed the admin email addresses.

also there is a redirect on all urls to http://www.thestockingstore.co.uk/shop/

would this be easy just to move everything in the /shop/ folder to the public_html directory?? or would this cause other issues??

hope this helps

Darren

10 Dec 2008, 10:23 PM
#11
tradari avatar

tradari

New Zenner

Join Date:
Dec 2008
Posts:
8
Plugin Contributions:
0

Re: config help (maybe)

ok well i dont seem to understand why and given that the site only has about 20 products on the it and the custom CSS file i have on a backup im going to remove it and start again.

Many thanks for your help though and i learning this more and more as time goes on.