Zen Cart Logo
Forums / General Questions / I changed the domain pointer in my host control panel to point to the store

I changed the domain pointer in my host control panel to point to the store

Locked

Views: 2,115

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
21 Jul 2009, 6:43 PM
#1
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

I changed the domain pointer in my host control panel to point to the store

I changed the domain pointer in my host control panel to point to the store rather than the original index page I created. Now, it points to my store but none of the Zencart formatting comes with it......what do I need to do to fix this???

http://www.cavalryfibreglass.com/

any ideas?...thanks for your help!!:clap:

Larry

21 Jul 2009, 7:08 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: I changed the domain pointer in my host control panel to point to the store

That's because the path details you've specified in your configure.php files still points to the old URL, and therefore the required files, such as stylesheets and images, cannot be found at the bad path ... which is showing as ... http://www.cavalryfibreglass.com//store/

If you're going to move your store, follow the instructions for moving: https://www.zen-cart.com/tutorials/index.php?article=122

21 Jul 2009, 8:20 PM
#3
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

Re: I changed the domain pointer in my host control panel to point to the store

ok..I understand I need to change my configure.php files in 'includes' but to what?...do I take 'store' out?

before https://www.cavalryfibreglass.com pointed to /public_html/cavalry_fibreglass/

now I would like it to point to: /public_html/cavalry_fibreglass/store/

so what do I change here?.....

  1. admin/configuration/sessions:

/hermes/bosweb/web259/b2595/d5.lrfowler/public_html/cavalry_fibreglass/store/cache

  1. configure.php files:
    ◦DIR_WS_CATALOG:
    define('DIR_WS_CATALOG', '/store/');

◦DIR_WS_HTTPS_CATALOG:
define('DIR_WS_HTTPS_CATALOG', '/store/');

◦DIR_FS_CATALOG:
define('DIR_FS_CATALOG', '/hermes/bosweb/web259/b2595/d5.lrfowler/public_html/cavalry_fibreglass/store/');

◦DIR_FS_SQL_CACHE:
define('DIR_FS_SQL_CACHE', '/hermes/bosweb/web259/b2595/d5.lrfowler/public_html/cavalry_fibreglass/store/cache');

◦DIR_WS_ADMIN (in admin):
define('DIR_WS_ADMIN', '/store/admin/');

◦DIR_WS_HTTPS_ADMIN (in admin):
define('DIR_WS_HTTPS_ADMIN', '/store/admin/');

◦DIR_FS_ADMIN (in admin):
define('DIR_WS_ADMIN', '/store/admin/');
:clap:

21 Jul 2009, 9:35 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: I changed the domain pointer in my host control panel to point to the store

Yes, remove all references to "/store" for all definitions starting with DIR_WS_xxxxx.

Remember that your admin and non-admin configure.php files are NOT identical, so should be edited individually.

Also remember that a reference to "/store/" should end up as "/" and not empty like: ""
(If something ends in a "/", make sure it still ends in a "/")

21 Jul 2009, 9:37 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: I changed the domain pointer in my host control panel to point to the store

NOTE: If you aren't actually MOVING the files on your server into a different folder, LEAVE THE DIR_FS_xxxx references alone, ie: DIR_FS_SQL_CACHE (and leave the admin sessions directory alone too), DIR_FS_CATALOG, etc.

22 Jul 2009, 2:23 AM
#6
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

Re: I changed the domain pointer in my host control panel to point to the store

thank you Dr. Byte...
it worked GRRReeaaattt!:clap: