Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2011
    Posts
    11
    Plugin Contributions
    0

    Default Admin login page shows System Setup Required

    View the error screen here: http://maconbridalconsignment.com/admin/index.php

    I went through the entire setup process and go to the confirmation screen (http://maconbridalconsignment.com/zc..._page=finished). I tried going to the admin area and get the error that I haven't set up my site.

    I did some of the troubleshooting. I do not have SSL, so that is set to false and the http is correct on link for both the site and the admin. I didn't change anything about either configure.php file after installing. I do know my register_globals in ON as it showed in the setup, but the installation said that didn't matter. I really need some help figuring out what to do.

    Heather

  2. #2
    Join Date
    Mar 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Admin login page shows System Setup Required

    admin/includes/configure.php

    <?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-10-26 10:53:40
    */


    /*************** 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://maconbridalconsignment.com');
    define('HTTPS_SERVER', 'https://maconbridalconsignment.com');
    define('HTTP_CATALOG_SERVER', 'http://maconbridalconsignment.com');
    define('HTTPS_CATALOG_SERVER', 'https://maconbridalconsignment.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', '/');
    define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p2) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    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', '/hsphere/local/home/bownut/maconbridalconsignment.com/');

    //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', '/hsphere/local/home/bownut/maconbridalconsignment.com/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', 'mysql8.websitesource.net');
    define('DB_SERVER_USERNAME', 'bownut_admin');
    define('DB_SERVER_PASSWORD', 'XXXXXXXX');
    define('DB_DATABASE', 'bownut_mbc');

    // 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', '/hsphere/local/home/bownut/maconbridalconsignment.com/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
    Last edited by bownut; 26 Oct 2012 at 05:40 PM.

  3. #3
    Join Date
    Mar 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Admin login page shows System Setup Required

    includes/configure.php

    <?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-10-26 10:53:40
    */


    /*************** 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://www.maconbridalconsignment.com');
    define('HTTPS_SERVER', 'https://www.maconbridalconsignment.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', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    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', '/hsphere/local/home/bownut/maconbridalconsignment.com/');

    //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', '/hsphere/local/home/bownut/maconbridalconsignment.com/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', 'mysql8.websitesource.net');
    define('DB_SERVER_USERNAME', 'bownut_admin');
    define('DB_SERVER_PASSWORD', 'XXXXXXXX');
    define('DB_DATABASE', 'bownut_mbc');

    // 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', '/hsphere/local/home/bownut/maconbridalconsignment.com/cache');

    // EOF

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Admin login page shows System Setup Required

    Well, 99.9% of the time when that page displays after installation, the problem is incorrect paths in the configure.php files.

    You say you can't get in to admin, but you posted the non-admin configure.php file twice. Are the paths the same in admin/includes/configure.php ?

  5. #5
    Join Date
    Mar 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Admin login page shows System Setup Required

    Is it me or does the admin/includes/configure.php file look like it is missing everything at the end? I looked at another person's admin/includes/configure.php file and there is a lot more after "...depending on your server configuation." Am I right about that? It just looks incomplete and I wouldn't know how to fix that. I reinstalled again from scratch and get the same error again.

  6. #6
    Join Date
    Mar 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Admin login page shows System Setup Required

    Yeah I realized I posted the same file twice, then went back and corrected the first one. You can see that it is now a different file.

  7. #7
    Join Date
    Mar 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Admin login page shows System Setup Required

    Bump. Please someone help me. I really need help with this. I think that the admin/includes/configure.php file is incomplete for whatever reason. The installation went fine and there were no errors, but nothing works after that. Help!

  8. #8
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Admin login page shows System Setup Required

    Take a look at http://maconbridalconsignment.com/index.php. Especially the red bars at the top. Looks like some post install steps still need to be done. You need to also rename the "admin" folder.

    While not related, I highly recommend moving your Zen Cart cache, Zen Cart logs, and other non-public outside the website root if possible.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  9. #9
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Admin login page shows System Setup Required

    Note on the inspect page Zen Cart states "Can't connect to MySQL server on 'mysql8.websitesource.net' ". You may want to double check the db password / information in both configure.php files. Database connection errors will also cause the "System Setup" page to be displayed. As one CAN access the catalog side of the cart without any error message, I would guess the problem is most likely with your admin/includes/configure.php.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

 

 

Similar Threads

  1. System Setup Required...4 years after setup
    By advancing in forum General Questions
    Replies: 6
    Last Post: 12 Mar 2015, 06:07 PM
  2. Sudden appearance of system setup required page
    By melissamiller8 in forum General Questions
    Replies: 9
    Last Post: 16 Jun 2012, 05:29 PM
  3. v139h System Setup Required for login.php
    By gin27 in forum General Questions
    Replies: 3
    Last Post: 18 Apr 2012, 09:45 AM
  4. Help - Admin page is showing System Setup Required
    By joannem in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 8 Oct 2009, 10:24 PM
  5. Site was fine then got system setup required page.
    By geng77 in forum General Questions
    Replies: 4
    Last Post: 5 Jun 2009, 01:49 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