Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    2
    Plugin Contributions
    0

    Default Blank Admin Page!

    Hey all, I'm a zencart newbie and I've been struggeling with this problem for a few days. I've moved a cart from the root folder to a new subfolder and reconfigured the includes/configure.php & admin/includes/configure.php files. The store is working but the admin login page is blank. It was working in it's old location so I'm guessing this is some sore of path issue. I've don all sorts of trial and error but I can't seem to find my mistake. I'd really appreciate any help. Here's my admin/incliudes/configure.php:


    define('HTTP_SERVER', 'http://www.bittersweetsny.com/cart');
    // Secure webserver: eg, https://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://bittersweetsny.hostasaurus.com/cart');
    // secure webserver for checkout procedure?
    define('HTTP_CATALOG_SERVER', 'http://www.bittersweetsny.com/httpdocs/cart');
    define('HTTPS_CATALOG_SERVER', 'https://bittersweetsny.hostasaurus.com/cart');

    // 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', 'bsadmin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', 'bsadmin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/');
    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', '/var/www/vhosts/bittersweetsny.com/httpdocs/cart/');

    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', 'BSNY_');
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', '');
    define('DB_SERVER_PASSWORD', '');
    define('DB_DATABASE', '');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // 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', '/var/www/vhosts/bittersweetsny.com/httpdocs/cart/cache/');

    ?>

  2. #2
    Join Date
    Mar 2007
    Posts
    58
    Plugin Contributions
    0

    Default Re: Blank Admin Page!

    I took a peek at mine (also in a directory called catalog). I think I may see at least some of your problem. Compare this code from mine to yours.

    Code:
    // 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', '/catalog/admin/');
      define('DIR_WS_CATALOG', '/catalog/');
      define('DIR_WS_HTTPS_ADMIN', '/catalog/admin/');
      define('DIR_WS_HTTPS_CATALOG', '/catalog/');
    Hope it helps.

    PS: you might also take a look at this faq.

    Steve
    Stuff: ZC v1.37 | Linux | mysql v 4.1x | php v 4.4x | phpmyadmin v 2.6x | Default Template

    Mods: Login Box v 1.41

  3. #3
    Join Date
    Jul 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Blank Admin Page!

    Thanks Steven, I appreciate the code but I tried out some changes and still no luck. I'm really stumped.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Blank Admin Page!

    Start with fixing these settings:
    define('HTTP_SERVER', 'http://www.bittersweetsny.com/cart');
    // Secure webserver: eg, https://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://bittersweetsny.hostasaurus.com/cart');
    // secure webserver for checkout procedure?
    define('HTTP_CATALOG_SERVER', 'http://www.bittersweetsny.com/httpdocs/cart');
    define('HTTPS_CATALOG_SERVER', 'https://bittersweetsny.hostasaurus.com/cart');
    define('HTTP_SERVER', 'http://www.bittersweetsny.com');
    // Secure webserver: eg, https://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://bittersweetsny.hostasaurus.com');
    // secure webserver for checkout procedure?
    define('HTTP_CATALOG_SERVER', 'http://www.bittersweetsny.com');
    define('HTTPS_CATALOG_SERVER', 'https://bittersweetsny.hostasaurus.com');
    Then if your shop is in the directory /cart you need to use:
    define('DIR_WS_ADMIN', '/cart/bsadmin/');
    define('DIR_WS_CATALOG', '/cart/');
    define('DIR_WS_HTTPS_ADMIN', '/cart/bsadmin/');
    define('DIR_WS_HTTPS_CATALOG', '/cart/');
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v150 Blank home page, blank admin page
    By jpwy in forum General Questions
    Replies: 6
    Last Post: 12 Apr 2016, 05:51 PM
  2. v150 Blank Admin - Cannot access admin page
    By stangirl in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 6 Mar 2012, 08:31 PM
  3. Admin/Tools/Admin settings gives a Blank Page
    By RobertG in forum Basic Configuration
    Replies: 3
    Last Post: 26 Feb 2010, 03:16 PM
  4. blank admin page admin/index.php
    By stevejohnson in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 8 Jun 2006, 05:07 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