Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2006
    Posts
    206
    Plugin Contributions
    0

    red flag moved folders, now admin doesn't work

    I recently had all my folders stored in public_html/cart etc.
    I copied them all to the main directory. Now if I go to admin and try to define pages editor it doesn't show changes. it says it is editing the file that was in the original cart folder.

    How should I have moved them to the main directory? I ask because when I deleted the original files in the cart folder it caused all sorts of chaos. I pu tthem back but now I have two lots of admin and I've had to set up a whole heap of redirect pages because people can still get to the original pages at www.icklebits.co.uk/cart rather than just www.icklebits.co.uk if you get me.

    Where is the updated pages going when I use the admin?

    I don't know if i'm making alot of sense as I'm new to this whole thing. I've scoured the forum using all sorts of search terms but am none the wiser.

    Help please!

    Thanks in advance!

    D

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: moved folders, now admin doesn't work

    Please post your admin/includes/configure.php without your password
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Nov 2006
    Posts
    206
    Plugin Contributions
    0

    Default Re: moved folders, now admin doesn't work

    Thanks for being so quick. Here it is!

    <?php
    //
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */

    /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/
    // Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    */
    define('HTTP_SERVER', 'http://icklebits.co.uk');
    define('HTTPS_SERVER', 'https://icklebits.co.uk');
    define('HTTP_CATALOG_SERVER', 'http://icklebits.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://icklebits.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', '/admin/');
    define('DIR_WS_CATALOG', '/cart/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/cart/');
    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/');
    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN', '/home/ar01ickl/public_html/admin/');
    define('DIR_FS_CATALOG', '/home/ar01ickl/public_html/cart/');
    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', '******');
    define('DB_SERVER_PASSWORD', '*********');
    define('DB_DATABASE', 'ar01ickl_zc1');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage
    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'database');
    define('DIR_FS_SQL_CACHE', '/home/ar01ickl/public_html/cart/cache');
    ?>

    I don't know what all the above means but I can already see a line with "cart" in it! Will getting rid of that solve it? Can't wait for your answer!

    Thank you!

  4. #4
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: moved folders, now admin doesn't work

    Yes remove all of the references to cart
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Nov 2006
    Posts
    206
    Plugin Contributions
    0

    Default Re: moved folders, now admin doesn't work

    Will do that thanks. is there any other files that I would need to edit to totally sever the link between the copy (the one i want) and the old version in the cart folder?

    (Am working on the config now, will let you know!)

    Thanks!

  6. #6
    Join Date
    Nov 2006
    Posts
    206
    Plugin Contributions
    0

    Default Re: moved folders, now admin doesn't work

    Right. Have done that but now the sideboxes have gone. I've checked that section in admin and it says that they are on.

    Any ideas? Am panicking!

    Thanks.

  7. #7
    Join Date
    Nov 2006
    Posts
    206
    Plugin Contributions
    0

    Default Re: moved folders, now admin doesn't work

    It seems to only have happened to the main page ...

    ...argh

 

 

Similar Threads

  1. v154 Moved to new Server and now Template doesn't want to load
    By Wulf359 in forum General Questions
    Replies: 8
    Last Post: 18 Mar 2015, 03:28 PM
  2. Followed recommendations to rename admin folder - now doesn't work
    By alicia1234 in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 12 Aug 2011, 12:45 AM
  3. Moved Zen Cart into root folder.. Admin doesn't work!
    By chabates in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 4 Apr 2008, 05:39 PM
  4. Moved hosts, now ssl wont work
    By canemasters in forum General Questions
    Replies: 1
    Last Post: 27 Sep 2007, 02:33 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR