Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2009
    Location
    Sydney, Australia
    Posts
    22
    Plugin Contributions
    0

    Default 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?

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: changing from /store/ to root directory

    Quote Originally Posted by stella01 View Post
    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?
    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/');

  3. #3
    Join Date
    Apr 2009
    Location
    Sydney, Australia
    Posts
    22
    Plugin Contributions
    0

    Default 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?

 

 

Similar Threads

  1. Moving a store to the root directory from a sub-folder
    By Hell Guapo in forum General Questions
    Replies: 3
    Last Post: 21 Sep 2011, 05:51 PM
  2. Changing from root to sub directory problems
    By Whale in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 20 Jul 2009, 10:46 PM
  3. Changing root directory
    By Sancho in forum General Questions
    Replies: 2
    Last Post: 30 Jun 2009, 03:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg