Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Feb 2011
    Posts
    89
    Plugin Contributions
    0

    Default No admin...but store shows up!

    Hello all !!!
    I recently had a problem and my hosting account was deleted, they restored it and instead of mydomain.com/zenfolder it is now restore.mydomain.com/zenfolder
    I can type that restore.mydomain.com/zenfolder into my browser and wahoo,,,,I have my site back but I can't figure out how to get back in to my admin. I'm not sure what info you would need to see from me, but I checked my configure php files both of them and changed everywhere it said mydomain.com/zenfolder to restore.mydomain.com/zenfolder and the proper database info etc. etc.
    but I can't access my admin area.
    I type in:
    restore.mydomain.com/zenfolder/adminfilename
    just like I did before.
    But with no success it takes me to the page of :

    Hello. Thank you for loading Zen Cart®.
    You are seeing this page for one or more reasons:

    blah blah blah.......

    Do I need to go through and reinstall something????? all the files are there in my hosting account, but wasn't sure what I need to do from here....like I said, I can see my store, just can't figure out how to get to my admin....
    I hope its something simple and just a dumb mistake I'm making.

    Let me know if you need more info from me including the correct path names, as I have used the generic above.

    Thanks so much in advance!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: No admin...but store shows up!

    Post the contents of both of your configure files here
    X out the database details
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2011
    Posts
    89
    Plugin Contributions
    0

    Default Re: No admin...but store shows up!

    ADMIN config:
    <?php
    /**
    * @package Configuration Settings circa 1.5.1
    * @copyright Copyright 2003-2012 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * File Built by zc_install on 2012-12-27 03:14:31
    */


    /*************** 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. ***********/

    /**
    * WE RECOMMEND THAT YOU USE SSL PROTECTION FOR YOUR ENTIRE ADMIN:
    * To do that, make sure you use a "https:" URL for BOTH the HTTP_SERVER and HTTPS_SERVER entries:
    */
    define('HTTP_SERVER', 'http://restore.earthscauldron.com');
    define('HTTPS_SERVER', 'https://restore.earthscauldron.com');
    define('HTTP_CATALOG_SERVER', 'http://restore.earthscauldron.com');
    define('HTTPS_CATALOG_SERVER', 'https://restore.earthscauldron.com');

    // secure webserver for admin? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_ADMIN', 'false');

    // secure webserver for storefront? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_CATALOG', '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)
    $t1 = parse_url(HTTP_SERVER);$p1 = $t1['path'];$t2 = parse_url(HTTPS_SERVER);$p2 = $t2['path'];

    define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
    define('DIR_WS_CATALOG', '/worknewzen/');
    define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p2) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
    define('DIR_WS_HTTPS_CATALOG', '/worknewzen/');

    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)
    define('DIR_FS_ADMIN', realpath(dirname(__FILE__) . '/../') . '/');
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', 'D:/Hosting/3745611/html/worknewzen/');

    //the following path is a COMPLETE path to the /logs/ folder eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash
    define('DIR_FS_LOGS', 'D:/Hosting/3745611/html/worknewzen/logs');

    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', 'XXXXXXXXX');
    define('DB_SERVER_USERNAME', 'XXXXXXXXX');
    define('DB_SERVER_PASSWORD', 'XXXXXXXXX');
    define('DB_DATABASE', 'XXXXXXXXXX');
    define('USE_PCONNECT', 'false');
    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', 'none');
    define('DIR_FS_SQL_CACHE', 'D:/Hosting/3745611/html/worknewzen/cache');


    // Define the webserver and path parameters
    // Main webserver: eg-http://www.your_domain.com -
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.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
    */
    // EOF

    Includes Config file:
    <?php
    /**
    * @package Configuration Settings circa 1.5.1
    * @copyright Copyright 2003-2012 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * File Built by zc_install on 2012-12-27 03:07:41 (updated by support 1/2/13)
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://restore.earthscauldron.com');
    define('HTTPS_SERVER', 'https://restore.earthscauldron.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', '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_CATALOG', '/worknewzen/');
    define('DIR_WS_HTTPS_CATALOG', '/worknewzen/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * 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_CATALOG', '/home/content/38/11179538/html/worknewzen/');

    //the following path is a COMPLETE path to the /logs/ folder eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash
    define('DIR_FS_LOGS', '/home/content/38/11179538/html/worknewzen/logs');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_'); // prefix for database table names -- preferred to be left empty
    define('DB_SERVER', 'XXXXXXXXX');
    define('DB_SERVER_USERNAME', 'XXXXXXXXXXX');
    define('DB_SERVER_PASSWORD', 'XXXXXXXXXXX');
    define('DB_DATABASE', 'XXXXXXXXXXXXX');
    define('USE_PCONNECT', 'false');
    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', 'none');
    define('DIR_FS_SQL_CACHE', '/home/content/38/11179538/html/worknewzen/cache');

    // EOF

    THANK YOU SO MUCH :)

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: No admin...but store shows up!

    You appear to have 2 instances loading

    one at(spaces added by me)
    http :// restore.earthscauldron.com
    and one at
    http :// restore.earthscauldron.com/worknewzen/

    Have you tried entering your admin folder name at both of these??
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Feb 2011
    Posts
    89
    Plugin Contributions
    0

    Default Re: No admin...but store shows up!

    Yes, I did try that...
    the restore.earthscauldron.com/worknewzen shows the:

    Hello. Thank you for loading Zen Cart®.
    You are seeing this page for one or more reasons:


    and the restore.earthscauldron.com shows:

    error 404 page not found........

    I'm not sure what else to try....

    Thank you so much :)

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: No admin...but store shows up!

    Use FTP and move the files from the "restore" folder to the root of your domain
    Adjust your 2 configure files to reflect the move
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Dec 2005
    Posts
    166
    Plugin Contributions
    0

    Default Re: No admin...but store shows up!

    I am also experiencing the same problem.
    Waiting for a solution from you....
    http://www.raunharman.com
    http://www.raunharman.net
    Website Development, E-Book Solutions & Handicraft Exports

  8. #8
    Join Date
    Dec 2005
    Posts
    166
    Plugin Contributions
    0

    Default Re: No admin...but store shows up!

    I found a solution.
    I used the admin/includes/configure.php from the previous version and it works fine.
    http://www.raunharman.com
    http://www.raunharman.net
    Website Development, E-Book Solutions & Handicraft Exports

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: No admin...but store shows up!

    Quote Originally Posted by raunharman
    I used the admin/includes/configure.php from the previous version and it works fine.
    Make certain that the database details match - especially if you created a new database for this upgraded install
    Between your store configure and your admin configure
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,144
    Plugin Contributions
    11

    Default Re: No admin...but store shows up!

    Quote Originally Posted by raunharman View Post
    I found a solution.
    I used the admin/includes/configure.php from the previous version and it works fine.
    Unless your previous version was 1.5.0, it's not a good idea to use the old admin configure.php as things were changed for PCI compliance.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. image shows in admin but not in site
    By iceraven721 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 17 Jan 2011, 02:21 AM
  2. Replies: 10
    Last Post: 2 Sep 2010, 12:26 PM
  3. wordpress installed on /blog but shows my store's Page Not Found
    By whatisthat456 in forum General Questions
    Replies: 3
    Last Post: 29 Apr 2010, 07:17 AM
  4. how do set my cart to £, its shows $, but says the store default is uk and pounds???
    By what44 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 3
    Last Post: 10 Nov 2007, 07:57 PM

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