Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2008
    Posts
    5
    Plugin Contributions
    0

    Default Moved Directory/Problem with Admin

    I had to change the directory of my install. I originally installed in mydomain/zencart

    I have moved to mydomain/store.

    I have edited the configuration.php in all instances from zencart to store.

    I then used this article to fix my cache key:
    http://www.zen-cart.com/index.php?ma...products_id=82

    I can now log on and do everything from the front end and it appears to be working correctly, even when I rename the original directory. However, when I go to the admin, I get

    http://www.simplylivingsmart.com/store/admin/

    Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.

    One of the articles states that I need to completely reinstall. I am using the same database. Is there any way to do a quick fix and use the new directory? hope hope hope.

  2. #2
    Join Date
    Jan 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: Moved Directory/Problem with Admin

    I backed up and followed this article/tutorial to the letter:
    https://www.zen-cart.com/tutorials/i...hp?article=100

    My zencart store is http://www.simplylivingsmart.com/store

    My zencart admin page is http://www.simplylivingsmart.com/store/admin

    I have run the fix cache key as described here:
    http://www.zen-cart.com/index.php?ma...products_id=82


    I still am getting an error. Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.

    I've checked and checked. What am I missing?

  3. #3
    Join Date
    Jan 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: Moved Directory/Problem with Admin

    I actually started over, following the instructions at this tutorial/article:
    https://www.zen-cart.com/tutorials/i...hp?article=100

    I backed up, re-installed, reloaded, moved the files (except the configure.php and admin/configure.php), dropped and reloaded the database. moved in the configure and admin/configure.php files. Then ran the Fix Cache Key.

    I am still getting the same System Setup Error when going to my Admin page.



    I hope someone can help point me in the right direction.


    My site is www.simplylivingsmart.com/store
    www.simplylivingsmart.com/store/admin.


    Please, any clues? I'm really stuck.

  4. #4
    Join Date
    Jan 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: Moved Directory/Problem with Admin

    Nevermind.

  5. #5
    Join Date
    Apr 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Moved Directory/Problem with Admin

    I'm having the exact same problem.. almost done with my site and now all i'm getting is that same msg :\
    I hope someone can help...

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Moved Directory/Problem with Admin

    Quote Originally Posted by love2bnice View Post
    I'm having the exact same problem.. almost done with my site and now all i'm getting is that same msg :\
    I hope someone can help...
    "that same msg"??? Do you mean the "permission denied" message in your other post? or some other message?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    selcyis Guest

    Default Re: Moved Directory/Problem with Admin

    Im lost as well>>admin/configure.php
    My site isnt connected It keeps on coming up with the installation page.

    heres my code>>
    define('HTTP_SERVER', 'http://www.covertmailorder.com');
    define('HTTPS_SERVER', 'https://xxxx.mysite4now.net/');
    define('HTTP_CATALOG_SERVER', 'http://www.covertmailorder.com');
    define('HTTPS_CATALOG_SERVER', 'https://xxxx.mysite4now.net/covert');

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

    // 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', '/www.covertmailorder.com/admin');
    define('DIR_WS_CATALOG', '/www.covertmailorder.com');
    define('DIR_WS_HTTPS_ADMIN', 'https://www.covertmailorder.com/admin');
    define('DIR_WS_HTTPS_CATALOG', 'https://www.covertmailorder.com');

    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', 'www.covertmailorder.com/admin');
    define('DIR_FS_CATALOG', 'www.covertmailorder.com/covert');

    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', '');
    define('DB_SERVER', 'xxxxxxx.mysite4now.com');
    define('DB_SERVER_USERNAME', 'xxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxx');
    define('DB_DATABASE', 'xxx1xx');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, 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', 'none');
    define('DIR_FS_SQL_CACHE', ' https://sxxxx.mysite4now.net/covert');

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Moved Directory/Problem with Admin

    You've got URLs mixed up in directory paths ... basically a mess everywhere.
    What did the file look like BEFORE you started messing around with it?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Oct 2007
    Location
    Fairbanks, Alaska
    Posts
    426
    Plugin Contributions
    0

    Idea or Suggestion Re: Moved Directory/Problem with Admin

    Can you explain the problem better, did you move something, if so did you change the configue.php files and run Fix Cache Key?, your http and https are not the same DOMAIN in your configure file.

    pete
    Last edited by colemanpa; 4 Mar 2009 at 08:06 AM. Reason: changed something

 

 

Similar Threads

  1. v139h Moved Server SSL problem with Admin Login
    By ginar in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 4 Jul 2012, 08:36 AM
  2. Problem with Admin after changing directory name for Admin
    By cnymike in forum Basic Configuration
    Replies: 10
    Last Post: 6 Jul 2009, 02:15 PM
  3. Moved store to new directory, now can't log in as admin
    By AJ32 in forum General Questions
    Replies: 2
    Last Post: 17 Jul 2008, 08:24 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