Results 1 to 10 of 19

Hybrid View

  1. #1
    Join Date
    Sep 2010
    Posts
    13
    Plugin Contributions
    0

    Default Blank admin login screen

    I can no longer get my admin login screen to appear. It just coms up blank. Everything else seems okay. It may have happened after I tried to install a share SSl certificate. I took all references to it out of config files and change ssl usage to false. Again the screen is blank and even using page source shows nothing. site is www.springersyarnnook.com (using /adminadmin for access ) ... I'm at a loss

    Here are my config files

    standard
    <?php
    /**
    * @package Configuration Settings circa 1.3.9
    * @copyright Copyright 2003-2010 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 2010-07-19 11:48:50
    */


    /*************** 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.springersyarnnook.com/');
    define('HTTPS_SERVER', '');

    // 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/springersyarnnook.com/
    define('DIR_FS_CATALOG', '/home/warren11/public_html/springersyarnnook.com/');

    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_');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'xxxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxx');
    define('DB_DATABASE', 'xxxxxxxxxxxx);
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', '');
    // 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', 'file');
    define('DIR_FS_SQL_CACHE', '/home/warren11/public_html/springersyarnnook.com/cache');

    // EOF




    Admin
    <?php
    /**

    * @package Configuration Settings circa 1.3.9

    * @copyright Copyright 2003-2010 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 2010-07-19 11:48:50
    *
    /


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


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

    *

    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */

    define('HTTP_SERVER', 'http://www.springersyarnnook.com');

    define('HTTPS_SERVER', 'https://www.springersyarnnook.com');

    define('HTTP_CATALOG_SERVER', 'http://www.springersyarnnook.com';

    define('HTTPS_CATALOG_SERVER', 'https://www.springersyarnnook.com');




    // Use secure webserver for catalog module and/or admin areas?

    define('ENABLE_SSL_CATALOG', 'false');

    define('ENABLE_SSL_ADMIN', '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_ADMIN', '/admin/');

    define('DIR_WS_CATALOG', '/' );

    define('DIR_WS_HTTPS_ADMIN', '/admin/');

    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)

    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/springersyarnnook

    define('DIR_FS_ADMIN', '/home/warren11/public_html/springersyarnnook.com/admin/');
    define('DIR_FS_CATALOG', '/home/warren11/public_html/springersyarnnook.com/');

    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', 'localhost');

    define('DB_SERVER_USERNAME', 'xxxxxxxxx');

    define('DB_SERVER_PASSWORD', 'xxxxxxxxxxx');

    define('DB_DATABASE', 'xxxxxxxxx');

    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', '');

    // 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', 'file');
    define('DIR_FS_SQL_CACHE', '/home/warren11/public_html/springersyarnnook/cache');

    // EOF

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Blank admin login screen

    .

    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.

  3. #3
    Join Date
    Sep 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: Blank admin login screen

    Thanks, I read the article and I'm getting a couple instances of errors from debug in cache. One is an ascii runon error and one is a sql erro that is runon type also.
    Is this from a bad php editor? I've bee using code editor from file manager.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Blank admin login screen

    Um ... NEVER EVER use the web-based file-editing tools offered by your hosting company's control panel. Such tools will damage your PHP files and render your site inoperable.

    You'll need to replace all files you've edited by uploading clean versions of them using your FTP program from the backup you made before you started editing.
    .

    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.

  5. #5
    Join Date
    Sep 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: Blank admin login screen

    Thanks for the info. Everything has been operating fine up to a couple weeks ago. But I;ll relload files and see what happens. My cach shows a couple of runon ASCII errors from the server ... I assume it's from editor also. Thanks for the help

  6. #6
    Join Date
    Sep 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: Blank admin login screen

    I've transferred files but must have screwed one up somewhere. I'm getting two zen-cart errors (.sql) with run on type


    This is one
    text/x-sql zc_01816214277b5bb819a08194522eb8b9.sql
    ASCII text, with very long lines, with no line terminators

    a:5:{i:0;a:4:{s:13:"categories_id";s:2:"10";s:15:"categories_name";s:20:"Solmate sock special";s:9:"parent_id";s:1:"0";s:16:"categories_image";s:13:"sock_logo.gif";}i :1;a:4:{s:13:"categories_id";s:1:"1";s:15:"categories_name";s:21:"Knitting project kits";s:9:"parent_id";s:1:"0";s:16:"categories_image";s:34:"categories/sock1_cropped_small.jpg";}i:2;a:4:{s:13:"categories_id";s:1:"4";s:15:"categories _name";s:5:"Yarns";s:9:"parent_id";s:1:"0";s:16:"categories_image";s:16:"Venezia _lede.jpg";}i:3;a:4:{s:13:"categories_id";s:1:"2";s:15:"categories_name";s:16:"K nitting needles";s:9:"parent_id";s:1:"0";s:16:"categories_image";s:15:"needle_base.jpg"; }i:4;a:4:{s:13:"categories_id";s:1:"3";s:15:"categories_name";s:20:"Knitting accessories";s:9:"parent_id";s:1:"0";s:16:"categories_image";s:24:"circular_need le_case.jpg";}}

    And this other. Do they point to a particular file problem?
    text/x-sql zc_7eb4ed1f36d90140477d9474b61e0e26.sql
    UTF-8 Unicode text, with very long lines, with CRLF line terminators

    a:585:{i:0;a:2:{s:6:"cfgkey";s:10:"STORE_NAME";s:8:"cfgvalue";s:20:"Springer's Yarn Nook";}i:1;a:2:{s:6:"cfgkey";s:11:"STORE_OWNER";s:8:"cfgvalue";s:12:"Pat Springer";}i:2;a:2:{s:6:"cfgkey";s:13:"STORE_COUNTRY";s:8:"cfgvalue";s:3:"223";} i:3;a:2:{s:6:"cfgkey";s:10:"STORE_ZONE";s:8:"cfgvalue";s:0:"";}i:4;a:2:{s:6:"cfg key";s:22:"EXPECTED_PRODUCTS_SORT";s:8:"cfgvalue";s:4:"desc";}i:5;a:2:{s:6:"cfgk ey";s:23:"EXPECTED_PRODUCTS_FIELD";s:8:"cfgvalue";s:13:"date_expected";}i:6;a:2: {s:6:"cfgkey";s:29:"USE_DEFAULT_LANGUAGE_CURRENCY";s:8:"cfgvalue";s:5:"false";}i :7;a:2:{s:6:"cfgkey";s:25:"LANGUAGE_DEFAULT_SELECTOR";s:8:"cfgvalue";s:7:"Defaul t";}i:8;a:2:{s:6:"cfgkey";s:27:"SEARCH_ENGINE_FRIENDLY_URLS";s:8:"cfgvalue";s:5: "false";}i:9;a:2:{s:6:"cfgkey";s:12:"DISPLAY_CART";s:8:"cfgvalue";s:4:"true";}i: 10;a:2:{s:6:"cfgkey";s:32:"ADVANCED_SEARCH_DEFAULT_OPERATOR";s:8:"cfgvalue";s:3: "and";}i:11;a:2:{s:6:"cfgkey";s:18:"STORE_NAME_ADDRESS";s:8:"cfgvalue";s:53:"Spr inger's Yarn Nook
    Sheffield, AL

    256.314.4410";}i:12;a:2:{s:6:"cfgkey";s:11:"SHOW_COUNTS";s:8:"cfgvalue";s:5:"fal se";}i:13;a:2:{s:6:"cfgkey";s:18:"TAX_DECIMAL_PLACES";s:8:"cfgvalue";s:1:"0";}i: 14;a:2:

 

 

Similar Threads

  1. v154 Blank screen when i goto Admin login...... help please...
    By amebb in forum General Questions
    Replies: 17
    Last Post: 21 Jul 2015, 11:31 AM
  2. v154 Blank Screen After Upgrade (fixed) but now blank screen after login!
    By Kias Henry in forum Upgrading to 1.5.x
    Replies: 6
    Last Post: 23 Jun 2015, 07:32 PM
  3. v150 Blank Admin Login screen
    By nelly7 in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 12 Oct 2012, 04:54 PM
  4. Blank admin login screen
    By hoosiercanuck in forum General Questions
    Replies: 1
    Last Post: 13 Apr 2011, 05:09 PM
  5. Can't login to admin -- blank screen
    By Webskipper in forum General Questions
    Replies: 1
    Last Post: 28 Aug 2008, 07:41 PM

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