Zen Cart Logo
Forums / General Questions / changing from /store/ to root directory

changing from /store/ to root directory

Locked

Views: 1,554

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
10 Apr 2009, 11:14 PM
#1
stella01 avatar

stella01

New Zenner

Join Date:
Apr 2009
Location:
Sydney, Australia
Posts:
22
Plugin Contributions:
0

changing from /store/ to root directory

hi there,

when i first installed zen cart i named my CATALOG folder STORE and now i want to delete store all together and put it into my root.

i changed the /includes/configure.php and /admin/includes/configure.php files as follows

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_FS_CATALOG', '/clientdata/n5200-2-dynamic/w/o/mysite/www/');
define('DIR_FS_SQL_CACHE', '/clientdata/n5200-2-dynamic/w/o/mysite/www/cache');

define('DIR_FS_ADMIN', '/clientdata/n5200-2-dynamic/w/o/mysite/www/admin/');
define('DIR_FS_CATALOG', '/clientdata/n5200-2-dynamic/w/o/mysite/');
define('DIR_FS_SQL_CACHE', '/clientdata/n5200-2-dynamic/w/o/mysite/www/cache');

in my admin section i changed the sessions to
/clientdata/n5200-2-dynamic/w/o/mysite/www/cache

i then moved all my files from the folder STORE into my root via FTP.

my store is now in the right place (ie. root directory) but i cannot access the admin login page. i get the 'Hello, thank you for loading zencart' page.

can anyone make any suggestions as to where i went wrong? :dontgetit

11 Apr 2009, 12:14 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: changing from /store/ to root directory

stella01:

hi there,

when i first installed zen cart i named my CATALOG folder STORE and now i want to delete store all together and put it into my root.

i changed the /includes/configure.php and /admin/includes/configure.php files as follows

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_FS_CATALOG', '/clientdata/n5200-2-dynamic/w/o/mysite/www/');
define('DIR_FS_SQL_CACHE', '/clientdata/n5200-2-dynamic/w/o/mysite/www/cache');

define('DIR_FS_ADMIN', '/clientdata/n5200-2-dynamic/w/o/mysite/www/admin/');
define('DIR_FS_CATALOG', '/clientdata/n5200-2-dynamic/w/o/mysite/');
define('DIR_FS_SQL_CACHE', '/clientdata/n5200-2-dynamic/w/o/mysite/www/cache');

in my admin section i changed the sessions to
/clientdata/n5200-2-dynamic/w/o/mysite/www/cache

i then moved all my files from the folder STORE into my root via FTP.

my store is now in the right place (ie. root directory) but i cannot access the admin login page. i get the 'Hello, thank you for loading zencart' page.

can anyone make any suggestions as to where i went wrong? :dontgetit

Stella, define('DIR_FS_CATALOG', '/clientdata/n5200-2-dynamic/w/o/mysite/'); > Did you forget this: define('DIR_FS_CATALOG', '/clientdata/n5200-2-dynamic/w/o/mysite/www/');

11 Apr 2009, 7:28 AM
#3
stella01 avatar

stella01

New Zenner

Join Date:
Apr 2009
Location:
Sydney, Australia
Posts:
22
Plugin Contributions:
0

Re: changing from /store/ to root directory

i tried taking out the www but that just makes my store disappear with no further progress to the admin page.

any other suggestions?:frusty: