-
Blank admin screen. 1.5.1 -> 1.5.4
Hi all,
I just updated my Zen Cart. But my Admin page is blank. I think it has something to do with my configure.php.
Current PHP version: 5.4.41
Here it is:
PHP Code:
<?php
/**
* dist-configure.php
* SAMPLE (but NOT FUNCTIONAL) file
*
* @package Configuration Settings
* @package Admin
* @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
* @version GIT: $Id: Author: DrByte Modified in v1.5.4 $
* @private
*/
/**
* 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://www.hobbybijkerk.nl');
define('HTTPS_SERVER', 'https://www.hobbybijkerk.nl');
define('HTTP_CATALOG_SERVER', 'http://www.hobbybijkerk.nl');
define('HTTPS_CATALOG_SERVER', 'https://www.hobbybijkerk.nl');
// 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', '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTPS_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', '/');
// 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_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__) . '/../') . '/'));
define('DIR_FS_CATALOG', '/');
//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', DIR_FS_CATALOG . '/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', ‘SERVER’);
define('DB_SERVER_USERNAME', 'USERNAME');
define('DB_SERVER_PASSWORD', 'PASS');
define('DB_DATABASE', 'NAME');
// 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', ‘www.hobbybijkerk.nl/cache');
//Explanations of the webserver and path parameters:
// HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com
// HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.yourdomain.com
// HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.yourdomain.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
*/
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
First off you must have either edited this file prior to posting or if you are missing this then this could be an issue
Code:
// * 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/accnt_name/public_html/');
//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/accnt_name/public_html/logs');
Note:
the following path is a COMPLETE path
This is the same for your cache location
Blank Page or partial page issues
https://www.zen-cart.com/content.php...t-of-a-page%29
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
It's now like this, but still doesn't work:
PHP Code:
<?php
/**
* dist-configure.php
* SAMPLE (but NOT FUNCTIONAL) file
*
* @package Configuration Settings
* @package Admin
* @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
* @version GIT: $Id: Author: DrByte Modified in v1.5.4 $
* @private
*/
/**
* 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://www.hobbybijkerk.nl');
define('HTTPS_SERVER', 'https://www.hobbybijkerk.nl');
define('HTTP_CATALOG_SERVER', 'http://www.hobbybijkerk.nl');
define('HTTPS_CATALOG_SERVER', 'https://www.hobbybijkerk.nl');
// 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’);
// * 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', ‘/public/sites/www.hobbybijkerk.nl/’);
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTP_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTPS_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', '/');
// 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_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__) . '/../') . '/'));
define('DIR_FS_CATALOG', '/');
//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', DIR_FS_CATALOG . ‘/public/sites/www.hobbybijkerk.nl/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', ‘XXXl’);
define('DB_SERVER_USERNAME', 'XXX');
define('DB_SERVER_PASSWORD', 'XXX');
define('DB_DATABASE', 'XXX');
// 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', ‘/public/sites/www.hobbybijkerk.nl/cache');
//Explanations of the webserver and path parameters:
// HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com
// HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.yourdomain.com
// HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.yourdomain.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
*/
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
I see in your code, and those should be ' (quotes).
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
I think that went wrong with copying and pasting.
PHP Code:
<?php
/**
* dist-configure.php
* SAMPLE (but NOT FUNCTIONAL) file
*
* @package Configuration Settings
* @package Admin
* @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
* @version GIT: $Id: Author: DrByte Modified in v1.5.4 $
* @private
*/
/**
* 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://www.hobbybijkerk.nl');
define('HTTPS_SERVER', 'https://www.hobbybijkerk.nl');
define('HTTP_CATALOG_SERVER', 'http://www.hobbybijkerk.nl');
define('HTTPS_CATALOG_SERVER', 'https://www.hobbybijkerk.nl');
// 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');
// * 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', '/public/sites/www.hobbybijkerk.nl/');
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTP_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTPS_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', '/');
// 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_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__) . '/../') . '/'));
define('DIR_FS_CATALOG', '/');
//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', DIR_FS_CATALOG . '/public/sites/www.hobbybijkerk.nl/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', 'db.hobbybijkerk,nl');
define('DB_SERVER_USERNAME', 'md94258db330747');
define('DB_SERVER_PASSWORD', 'vdgpShck');
define('DB_DATABASE', 'md94258db330747');
// 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', '/public/sites/www.hobbybijkerk.nl/cache');
//Explanations of the webserver and path parameters:
// HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com
// HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.yourdomain.com
// HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.yourdomain.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
*/
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Code:
define('DIR_FS_LOGS', DIR_FS_CATALOG . '/public/sites/www.hobbybijkerk.nl/logs');
should be
Code:
define('DIR_FS_LOGS', '/public/sites/www.hobbybijkerk.nl/logs');
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Is the Database info real, or bogus. If real, you should change it now, because the whole world knows now
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Well, my screen isn't blank anymore :)> but now it says
Quote:
WARNING: An Error occurred, please refresh the page and try again.
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
That's something :laugh:
Than there should also be a Mydebug file in the logs folder. Please paste the content, and we can help you further
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Last logs:
Quote:
[12-Jun-2015 09:11:35 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[12-Jun-2015 09:11:35 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[12-Jun-2015 09:11:35 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[12-Jun-2015 09:11:35 Europe/Amsterdam] PHP Fatal error: 0:DB_ERROR_NOT_CONNECTED :: SHOW TABLES LIKE 'project_version' ==> (as called by) /public/sites/www.hobbybijkerk.nl/inad2010/includes/init_includes/init_database.php on line 28 <== in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 155
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
And it's blank again
PHP Code:
<?php
/**
* dist-configure.php
* SAMPLE (but NOT FUNCTIONAL) file
*
* @package Configuration Settings
* @package Admin
* @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
* @version GIT: $Id: Author: DrByte Modified in v1.5.4 $
* @private
*/
/**
* 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://www.hobbybijkerk.nl');
define('HTTPS_SERVER', 'https://www.hobbybijkerk.nl');
define('HTTP_CATALOG_SERVER', 'http://www.hobbybijkerk.nl');
define('HTTPS_CATALOG_SERVER', 'https://www.hobbybijkerk.nl');
// 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');
// * 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', ‘www.hobbybijkerk.nl/');
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTP_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTPS_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', '/');
// 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_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__) . '/../') . '/'));
define('DIR_FS_CATALOG', '/');
//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', 'www.hobbybijkerk.nl/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', 'XXX');
define('DB_SERVER_USERNAME', 'XXX');
define('DB_SERVER_PASSWORD', 'XXX');
define('DB_DATABASE', 'XXX');
// 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', 'www.hobbybijkerk.nl/cache');
//Explanations of the webserver and path parameters:
// HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com
// HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.yourdomain.com
// HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.yourdomain.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
*/
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Quote:
//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', 'www.hobbybijkerk.nl/logs');
Quote:
// 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', 'www.hobbybijkerk.nl/cache');
Please note the directions in LARGE TYPE
It is NOT asking for a URL.
And... Make sure you have all of the codes removed that are representing single or double quotes.
Hope you're not using something like Dreamweaver or Word to edit text. Notepad or Notepad+ won't do that.
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
It might be easier for you to install a copy of the zencart in a folder with a new database
and let the program create correct config files
It should then be a easy matter of searching for the folder name and removing it along with correcting DB data
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Quote:
Originally Posted by
kobra
It might be easier for you to install a copy of the zencart in a folder with a new database
and let the program create correct config files
It should then be a easy matter of searching for the folder name and removing it along with correcting DB data
I did this, but no result. Here is the configure.php that's created by installing a new store:
PHP 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-06-13 12:16:48
*/
/*************** 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://hobbybijkerk.nl');
define('HTTPS_SERVER', 'https://hobbybijkerk.nl');
define('HTTP_CATALOG_SERVER', 'http://www.hobbybijkerk.nl');
define('HTTPS_CATALOG_SERVER', 'https://www.hobbybijkerk.nl');
// 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', '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTPS_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', ‘/‘);
// 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', '/public/sites/www.hobbybijkerk.nl/');
//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', '/public/sites/www.hobbybijkerk.nl/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', 'XXXl');
define('DB_SERVER_USERNAME', 'XXX');
define('DB_SERVER_PASSWORD', 'XXX');
define('DB_DATABASE', 'XXX');
// 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', '/public/sites/www.hobbybijkerk.nl/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
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
The cache and logs links are not standard but certainly better than what you had before. Site looks like it's there, just down for maintenance. Admin still not showing up?
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Quote:
Originally Posted by
dbltoe
The cache and logs links are not standard but certainly better than what you had before. Site looks like it's there, just down for maintenance. Admin still not showing up?
Are his DIr_WS_CATALOG and DIR_WS_HTTPS correct? Mine point to my /store/ directory , whatever I called it.
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
No admin page is still blank. It's the way the installation programmed the file, so i guess it's correct.
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
You do actually have a SSL installed and functional, correct?
Have you reviewed the posts here: http://www.zen-cart.com/showthread.p...s)-with-v1-5-4
Do you have an error log for this latest rebuild? Does the admin appear if the SSL is not enabled (though upon reenabling will require the password to be changed.)
I just tried to load the store side using https: and it failed. Therefore I would think that the admin side would have a similar problem.
Because the store side is "working", and the admin "is not" would suggest also posting the includes/configure.php file to compare what works with what doesn't. Some other things to help with diagnosis would be to identify what is different in the files compared to a vanilla install of the files available from this website? It appears that the install was by an auto-installer. How about answering the questions in the posting tips as well? The posting tips apper above the message box when writing a post on the site and are all too often overlooked/ignored but are basic questions to eliminate a majority of routine causes for the issue described.
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Quote:
Originally Posted by
lruskauff
Are his DIr_WS_CATALOG and DIR_WS_HTTPS correct? Mine point to my /store/ directory , whatever I called it.
That would be because your store was created in a sub-directory off of where your domain name points. The OP has set their domain name to point to the full path (or if not personally selected, then that is how it is setup by the host) or viewed from a different angle they have installed ZC into the root of their domain name. Generally speaking saying all of the same thing but regardless ZC is accessed by the domain name alone without an additional sub-directory.
One could ask, why install the store to appear on the internet as if some sub-directory of the domain name?
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
I tried to enable and disable SSL. Nothing works. I really need my store ASAP, customers are calling me to place orders because the site isn't working.
this is my includes/configure.php:
PHP 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-06-13 12:16:47
*/
/*************** 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.hobbybijkerk.nl');
define('HTTPS_SERVER', 'https://www.hobbybijkerk.nl');
// 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', '/');
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', '/public/sites/www.hobbybijkerk.nl/');
//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', '/public/sites/www.hobbybijkerk.nl/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', 'XXX');
define('DB_SERVER_USERNAME', 'XXX');
define('DB_SERVER_PASSWORD', 'XXX');
define('DB_DATABASE', 'XXX');
// 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', '/public/sites/www.hobbybijkerk.nl/cache');
// EOF
Admin/includes/configure.php
PHP 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-06-13 12:16:48
*/
/*************** 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://www.hobbybijkerk.nl/‘);
define('HTTPS_SERVER', 'https://www.hobbybijkerk.nl/');
define('HTTP_CATALOG_SERVER', 'http://www.hobbybijkerk.nl/');
define('HTTPS_CATALOG_SERVER', 'https://www.hobbybijkerk.nl/');
// 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’);
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTP_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTPS_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', ‘/‘);
// 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', '/public/sites/www.hobbybijkerk.nl/');
//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', '/public/sites/www.hobbybijkerk.nl/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', 'XXX');
define('DB_SERVER_USERNAME', 'XXX');
define('DB_SERVER_PASSWORD', 'XXX');
define('DB_DATABASE', 'XXX');
// 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', '/public/sites/www.hobbybijkerk.nl/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
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Doesn't fix the ssl issue on the store front (as indicated https: to your site doesn't work), but in the admin :
Define('HTTP_SERVER',##'https://www.hobbybijkerk.nl/‘);
Has a backquote instead of a single quote. Notice the color change of the above posted code?
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Changed it, but still no adminpage
PHP 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-06-13 12:16:48
*/
/*************** 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://www.hobbybijkerk.nl/');
define('HTTPS_SERVER', 'https://www.hobbybijkerk.nl/');
define('HTTP_CATALOG_SERVER', 'http://www.hobbybijkerk.nl/');
define('HTTPS_CATALOG_SERVER', 'https://www.hobbybijkerk.nl/');
// 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’);
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTP_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTPS_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', ‘/‘);
// 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', '/public/sites/www.hobbybijkerk.nl/');
//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', '/public/sites/www.hobbybijkerk.nl/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', 'XXX');
define('DB_SERVER_USERNAME', 'XXX');
define('DB_SERVER_PASSWORD', 'XXX');
define('DB_DATABASE', 'XXX');
// 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', '/public/sites/www.hobbybijkerk.nl/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
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Suggest turning off store side SSL for the moment, as https: to your site doesn't work therefore unable to progress through sales/login while enabled.
Fix the other issues in the admin/includes/configure.php have the backwards quote on the one line and have special codes for a few other entries.
Use a good text editor such as notepad++ or any number of other plain text editors, replace those characters even if they "look" right.
Get your SSL certificate fixed, try to access the site using https:, if able to then change the setting in the includes/configure.php and as necessary the admin/includes/configure.php. Remember that they may be set for read only and have to be "released" for editing.
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Could you try this for your:
/your_secret_admin/includes/configure.php
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-06-13 12:16:48
*/
/*************** 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://www.hobbybijkerk.nl');
define('HTTPS_SERVER', 'https://www.hobbybijkerk.nl');
define('HTTP_CATALOG_SERVER', 'http://www.hobbybijkerk.nl');
define('HTTPS_CATALOG_SERVER', 'https://www.hobbybijkerk.nl');
// 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');
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTP_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTPS_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', '/');
// 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', '/public/sites/www.hobbybijkerk.nl/');
//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', '/public/sites/www.hobbybijkerk.nl/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', 'XXX');
define('DB_SERVER_USERNAME', 'XXX');
define('DB_SERVER_PASSWORD', 'XXX');
define('DB_DATABASE', 'XXX');
// 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', '/public/sites/www.hobbybijkerk.nl/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
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Now check:
####define('DIR_WS_HTTPS_CATALOG',##‘/‘);
Need single quotes around /
'/' not:`/`
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Quote:
Originally Posted by
Ajeh
Could you try this for your:
/your_secret_admin/includes/configure.php
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-06-13 12:16:48
*/
/*************** 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://www.hobbybijkerk.nl');
define('HTTPS_SERVER', 'https://www.hobbybijkerk.nl');
define('HTTP_CATALOG_SERVER', 'http://www.hobbybijkerk.nl');
define('HTTPS_CATALOG_SERVER', 'https://www.hobbybijkerk.nl');
// 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');
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTP_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTPS_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', '/');
// 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', '/public/sites/www.hobbybijkerk.nl/');
//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', '/public/sites/www.hobbybijkerk.nl/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', 'XXX');
define('DB_SERVER_USERNAME', 'XXX');
define('DB_SERVER_PASSWORD', 'XXX');
define('DB_DATABASE', 'XXX');
// 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', '/public/sites/www.hobbybijkerk.nl/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
Did this. Now my admin page isn't blank, but is says: WARNING: An Error occurred, please refresh the page and try again.
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Check your logs directory for mydebug files. Probably have an extra space at the end or beginning of file.
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
The Mydebug file:
Quote:
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 62
[13-Jun-2015 18:48:16 Europe/Amsterdam] PHP Fatal error: 0:DB_ERROR_NOT_CONNECTED :: SHOW TABLES LIKE 'project_version' ==> (as called by) /public/sites/www.hobbybijkerk.nl/inad2010/includes/init_includes/init_database.php on line 28 <== in /public/sites/www.hobbybijkerk.nl/includes/classes/db/mysql/query_factory.php on line 155
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Check that you edited the file /your_secret_admin/includes/configure.php with a good TEXT editor and put in the matching database information from your file /includes/configure.php ... it looks like you did not add that ...
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Do you know a good editor for a mac? Notepad ++ isn't suitable for a macbook
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Quote:
Originally Posted by
Ajeh
Check that you edited the file /your_secret_admin/includes/configure.php with a good TEXT editor and put in the matching database information from your file /includes/configure.php ... it looks like you did not add that ...
I just checked the database information, it's the same. It still doesn't work
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
I also noticed on your Catalog, that the secure URL is not working ... :lookaroun
Does anything changing if you edit the Admin configure.php
Code:
define('HTTP_SERVER', 'http://www.hobbybijkerk.nl');
define('HTTPS_SERVER', 'https://www.hobbybijkerk.nl');
define('HTTP_CATALOG_SERVER', 'http://www.hobbybijkerk.nl');
define('HTTPS_CATALOG_SERVER', 'https://www.hobbybijkerk.nl');
NOTE: changes from 3 minutes ago ...
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
No, I still get the same warning
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Fixed it! I needed to update my language package as well!
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Perfect example of why I think the posting tips should be mandatory. :( Not singling Jonathan out BUT, had we known ALL the info from the start.... Or if your profile listed your location. My bad for not realizing you might have a language pack when I saw the .nl.
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Quote:
Originally Posted by
mc12345678
That would be because your store was created in a sub-directory off of where your domain name points. The OP has set their domain name to point to the full path (or if not personally selected, then that is how it is setup by the host) or viewed from a different angle they have installed ZC into the root of their domain name. Generally speaking saying all of the same thing but regardless ZC is accessed by the domain name alone without an additional sub-directory.
Thank you. I have wondered myself why the sub directory but it was how my first zen art was installed so I thought a product of zen.
One could ask, why install the store to appear on the internet as if some sub-directory of the domain name?
Thank you. I have wondered that myself ( why the sh directory) but it was how my first zen art was installed so I thought it was necessary.
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Quote:
Originally Posted by
dbltoe
Perfect example of why I think the posting tips should be mandatory. :( Not singling Jonathan out BUT, had we known ALL the info from the start.... Or if your profile listed your location. My bad for not realizing you might have a language pack when I saw the .nl.
It is, but it was not the only issue with the site/upgrade, there were other issues as well. Though I guess I was a little surprised that the languageissue(s) weren't more apparent by the error message(s).
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Quote:
Originally Posted by
JonathanHoff
Fixed it! I needed to update my language package as well!
Haven't tried to "purchase" anything, but still notice that https: to the domain does not work. If includes/configure.php still has SSL as true, your "customers" are going to truly be guests because they won't be able to purchase anything. At last discussion, the includes/configure.php file had not been changed or perhaps could say that it's status was unknown.
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Hello,
I just upraded zencart 1.3.9h. to 1.1.5a by myself from this procedure: https://www.zen-cart.com/content.php?148
I had the french language pack installed on my 1.3.9h version. And the box_multi_EZ_pages.
My site is: h t t p : / / w a - s h i a t s u - n i c e . f r
Here are the php and MySQL versions:
Serveur Hôte: mars.fr.planethoster.net (10.185.0.21) Hôte Base de Données: localhost (127.0.0.1)
OS Serveur: Linux 3.10.0-427.10.1.lve1.4.7.el7.x86_64 Base de Données: MySQL 5.5.5-10.1.18-MariaDB
Serveur HTTP: LiteSpeed
Version PHP: 5.6.27 (Zend: 2.6.0) PHP Limite mémoire: 256M PHP Safe Mode: Off
PHP Uploads de fichiers: On Taille max upload par fichier: 64M Taille max POST: 128M
Since this upgrade I have a blanck page on admin and can't access to anything.
To resolve it i followed these instructions: https://www.zen-cart.com/content.php...lling-zen-cart
and
https://www.zen-cart.com/content.php?123
Here is the debug log content:
[22-Oct-2016 18:58:38 Europe/Paris] Request URI: /JimMy-WIm-Green/index.php, IP address: 82.234.171.203
#1 require() called at [/home/washiats/public_html/JimMy-WIm-Green/includes/init_includes/init_languages.php:35]
#2 require(/home/washiats/public_html/JimMy-WIm-Green/includes/init_includes/init_languages.php) called at [/home/washiats/public_html/includes/autoload_func.php:48]
#3 require(/home/washiats/public_html/includes/autoload_func.php) called at [/home/washiats/public_html/JimMy-WIm-Green/includes/application_top.php:171]
#4 require(/home/washiats/public_html/JimMy-WIm-Green/includes/application_top.php) called at [/home/washiats/public_html/JimMy-WIm-Green/index.php:10]
[22-Oct-2016 18:58:38 Europe/Paris] PHP Warning: require(includes/languages/french.php): failed to open stream: No such file or directory in /home/washiats/public_html/JimMy-WIm-Green/includes/init_includes/init_languages.php on line 35
[22-Oct-2016 18:58:38 Europe/Paris] Request URI: /JimMy-WIm-Green/index.php, IP address: 82.234.171.203
#1 require() called at [/home/washiats/public_html/JimMy-WIm-Green/includes/init_includes/init_languages.php:35]
#2 require(/home/washiats/public_html/JimMy-WIm-Green/includes/init_includes/init_languages.php) called at [/home/washiats/public_html/includes/autoload_func.php:48]
#3 require(/home/washiats/public_html/includes/autoload_func.php) called at [/home/washiats/public_html/JimMy-WIm-Green/includes/application_top.php:171]
#4 require(/home/washiats/public_html/JimMy-WIm-Green/includes/application_top.php) called at [/home/washiats/public_html/JimMy-WIm-Green/index.php:10]
[22-Oct-2016 18:58:38 Europe/Paris] PHP Warning: require(includes/languages/french.php): failed to open stream: No such file or directory in /home/washiats/public_html/JimMy-WIm-Green/includes/init_includes/init_languages.php on line 35
[22-Oct-2016 18:58:38 Europe/Paris] PHP Fatal error: require(): Failed opening required 'includes/languages/french.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/washiats/public_html/JimMy-WIm-Green/includes/init_includes/init_languages.php on line 35
Could you help me please?
I am lost.
Best regards.
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
The pertinent information in that log's data is:
Code:
require(includes/languages/french.php): failed to open stream: No such file or directory
It seems that the primary French language file is missing from your admin folders, i.e. /YOUR_ADMIN/includes/languages/french.php.
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
Thank you.
You are incredible!
-
Re: Blank admin screen. 1.5.1 -> 1.5.4
:blush: Thanks for the compliment; I'm happy to have helped.