Results 1 to 9 of 9
  1. #1
    Join Date
    May 2009
    Posts
    67
    Plugin Contributions
    0

    Default new install but admin not found

    Hi
    I have just installed zen-cart-v1.5.3 via ftp in a subfolder of an existing store to create a new one. I have the store working but cannot access the admin. I had renamed the folder and just couldnt get it to work after trying various renames etc. so I did a complete new install. Again, the store is fine but the admin issue hasnt changed. This time I didn't rename before attempting to access admin. I get the message
    mystore/newstore/admin/alert_page.php?zenAdminID=71571a4f410af608e21fb8c531d82254 (port 443)
    I tried turning off ssl but this didnt change anything so its back on
    any hints??

    Thanks

  2. #2
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: new install but admin not found

    Any error messages in the logs folder?

    What version is/was the existing store? Php version?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    May 2009
    Posts
    67
    Plugin Contributions
    0

    Default Re: new install but admin not found

    log error
    [PHP Fatal error: 0B_ERROR_NOT_CONNECTED :: select * from project_version WHERE project_version_key = 'Zen-Cart Database' in /home/mystore/public_html/includes/classes/db/mysql/query_factory.php on line 120

    initial store is in php

    however I just tried the original stores admin (store/myadmin) and get an error: WARNING: An Error occurred, please refresh the page and try again.
    I also tried to see an image within the original store and that works store/image/name

    I just deleted the new installation again.... maybe I should not try a new store under an existing store

  4. #4
    Join Date
    May 2009
    Posts
    67
    Plugin Contributions
    0

    Default Re: new install but admin not found

    error log
    PHP Fatal error: 0B_ERROR_NOT_CONNECTED :: select * from project_version WHERE project_version_key = 'Zen-Cart Database' in /home/mystore/public_html/includes/classes/db/mysql/query_factory.php on line 120
    original store is php

    Just discovered that the original stores admin has an error now
    blank page with the WARNING: An Error occurred, please refresh the page and try again.
    tried mystore/images/imagename and that worked

    I have got frustrated and deleted the new installation again... which didnt solve the original stores admin prob

    thanks

  5. #5
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: new install but admin not found

    Again, when a message like that is presented then an error log/cache folder depending on what version of ZC the original store is in.

    It is perfectly fine if not suggested to install a backup store in a subdirectory of a live store.

    Post your includes/configure.php and admin/includes/configure.php files with the
    DB_PASSWORD obscured. Enclose between CODE tags generated using the # button above the message response window.

    Btw, part of the reason to ask what the message says is to provide guidance to solve the issue. By deleting everything again, the issue is "solved" but not functional.... So when you get it installed again (http://www.zen-cart.com/entry.php?3-...d-of-upgrading) and assuming the problem occurs again, maybe the time can be taken to try to resolve the issue not just delete and likely repeat the process to cause the same error again.
    Last edited by mc12345678; 26 Feb 2015 at 04:20 AM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    May 2009
    Posts
    67
    Plugin Contributions
    0

    Default Re: new install but admin not found

    YEP! just hit the button in frustration and that only made it worse.... reinstalled but still have the same issues

    original store is v.1.5.1

    Code:
    <?php
    /**
     * @package Configuration Settings circa 1.5.4
     * @copyright Copyright 2003-2014 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 2015-02-26 03:10:25
     */
    
    
    /*************** 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://e-urns.com.au');
      define('HTTPS_SERVER', 'https://e-urns.com.au');
    
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', '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_CATALOG', '/pet/');
      define('DIR_WS_HTTPS_CATALOG', '/pet/');
    
      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/eurns/public_html/pet/');
    
      //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/eurns/public_html/pet/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', '');
      define('DB_CHARSET', 'utf8');
      define('DB_SERVER', 'localhost');
      define('DB_SERVER_USERNAME', 'eurns_pets');
      define('DB_SERVER_PASSWORD', 'xxxxxxxx');
      define('DB_DATABASE', 'eurns_peturns');
    
      // 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/eurns/public_html/pet/cache');
    
    // EOF
    and the other file

    Code:
    <?php
    /**
     * @package Configuration Settings circa 1.5.4
     * @copyright Copyright 2003-2014 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 2015-02-26 03:10:25
     */
    
    
    /*************** 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', 'https://e-urns.com.au');
      define('HTTPS_SERVER', 'https://e-urns.com.au');
      define('HTTP_CATALOG_SERVER', 'http://e-urns.com.au');
      define('HTTPS_CATALOG_SERVER', 'https://e-urns.com.au');
    
      // secure webserver for admin?  Valid choices are 'true' or 'false' (including quotes).
      define('ENABLE_SSL_ADMIN', 'true');
    
      // secure webserver for storefront?  Valid choices are 'true' or 'false' (including quotes).
      define('ENABLE_SSL_CATALOG', 'true');
    
      define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTP_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
      define('DIR_WS_CATALOG', '/pet/');
      define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTPS_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
      define('DIR_WS_HTTPS_CATALOG', '/pet/');
    
    // 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_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', preg_replace('#.includes$#', '', 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', '/home/eurns/public_html/pet/');
    
      //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/eurns/public_html/pet/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', '');
      define('DB_CHARSET', 'utf8');
      define('DB_SERVER', 'localhost');
      define('DB_SERVER_USERNAME', 'eurns_pets');
      define('DB_SERVER_PASSWORD', 'xxxxxxxx');
      define('DB_DATABASE', 'eurns_peturns');
    
      // 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/eurns/public_html/pet/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

    thanks so much

  7. #7
    Join Date
    May 2009
    Posts
    67
    Plugin Contributions
    0

    Default Re: new install but admin not found

    just checked the original store config files and found an incorrect db password....must have got changed somehow. Don't know but I do know that the original store admin is working again....now onto the second store..

  8. #8
    Join Date
    May 2009
    Posts
    67
    Plugin Contributions
    0

    Default Re: new install but admin not found

    any help available?? please

  9. #9
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: new install but admin not found

    Not clear what the new problem is, after all the uninstalls, reinstalls, mixed versions, etc.
    .

    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.

 

 

Similar Threads

  1. v139h Product listed on site, but NOT found in ADMIN ??
    By kevinmc3 in forum General Questions
    Replies: 2
    Last Post: 12 Nov 2013, 04:59 AM
  2. New Install But Can't Access Admin
    By BradN in forum Installing on a Windows Server
    Replies: 5
    Last Post: 18 Jan 2011, 12:12 PM
  3. Not Found error in admin area, new install
    By albannach in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 19 Feb 2007, 12:49 PM
  4. Install finally worked, but not admin
    By r885146 in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 9 Jun 2006, 11:33 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