Forums / Upgrading from 1.3.x to 1.3.9 / Admin Area is a blank page

Admin Area is a blank page

Views: 3,654

Results 1 to 6 of 6
6 Jun 2012, 9:25 PM
#1
hometownf avatar

hometownf

New Zenner

Join Date:
Dec 2005
Posts:
17
Plugin Contributions:
0

Admin Area is a blank page

Somehow one day my admin area was no longer accessible. It just goes to blank page. Our admin page name has always been /admin382 and that was never changed, but i need help, I have no idea why i can no longer get into my admin area...Can anyone help? I am not even 100% sure of my Zencart version, but i believe its 138a.

Thanks

6 Jun 2012, 9:32 PM
#2
hometownf avatar

hometownf

New Zenner

Join Date:
Dec 2005
Posts:
17
Plugin Contributions:
0

Re: Admin Area is a blank page

admin/includes/configure.php file

define('HTTP_SERVER', 'http://www.hometownfashions.com');
define('HTTPS_SERVER', 'http://www.hometownfashions.com');
define('HTTP_CATALOG_SERVER', 'http://www.hometownfashions.com');
define('HTTPS_CATALOG_SERVER', 'http://www.hometownfashions.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', '/admin382/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin382/');
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/store/
define('DIR_FS_ADMIN', '/var/www2/hometownfashions.com/admin382/');
define('DIR_FS_CATALOG', '/var/www2/hometownfashions.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', '');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'redacted*');
define('DB_SERVER_PASSWORD', '**redacted');
define('DB_DATABASE', 'redacted');
define('USE_PCONNECT', 'false'); // use persistent connections?
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', 'file');
define('DIR_FS_SQL_CACHE', '/var/www2/hometownfashions.com/cache/');

6 Jun 2012, 9:33 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Admin Area is a blank page

FAQ on blank pages: http://www.zen-cart.com/content.php?124-blank-page

If you're really using v1.3.8a, then you need to upgrade ASAP.
Not only is v1.3.8a not compatible with current/modern versions of PHP, it also has known security vulnerabilities.

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

6 Jun 2012, 9:39 PM
#4
hometownf avatar

hometownf

New Zenner

Join Date:
Dec 2005
Posts:
17
Plugin Contributions:
0

Re: Admin Area is a blank page

I am wanting to upgrade, but i cant access admin area so i dont know what to do

6 Jun 2012, 9:46 PM
#5
hometownf avatar

hometownf

New Zenner

Join Date:
Dec 2005
Posts:
17
Plugin Contributions:
0

Re: Admin Area is a blank page

Found my Version. 1.3.7

7 Jun 2012, 1:53 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Admin Area is a blank page

That makes upgrading even more important.

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