I am upgrading via a fresh install of 1.5.4 - And of Course it does not go as smoothly as I had hoped.
The store is visible but the admin is blank page.. So this is what I have done...
install via the install program. Changed the name of configure.php in both admin/includes and includes folders
Changed the name of the admin file and the permissions.
Changed the configure.php file via filezilla.
See below: Rec a 404 page...
Checked the logs and this is what they said - which is the end of my line of things to do..
www.stitchnframeonline.com/zen-cart-v1.5.4/
admin file configure.
define('HTTP_SERVER', 'http://www.stitchnframeonline.com');
define('HTTPS_SERVER', 'https://www.stitchnframeonline.com/zen-cart-v1.5.4');
define('HTTP_CATALOG_SERVER', 'http://www.stitchnframeonline.com');
define('HTTPS_CATALOG_SERVER', 'https://www.stitchnframeonline.com/zen-cart-v1.5.4');
// 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', '/myadmin/');
define('DIR_WS_CATALOG', '/zen-cart-v1.5.4/');
define('DIR_WS_HTTPS_ADMIN', '/myadmin/');
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', '/location/account/public_html/zen-cart-v1.5.4/myadmin/');
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/location/account/public_html/zen-cart-v1.5.4/');
//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', '/location/account/public_html/zen-cart-v1.5.4/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', 'localhost');
define('DB_SERVER_USERNAME', 'databaseuser2');
define('DB_SERVER_PASSWORD', 'password');
define('DB_DATABASE', 'database2');
// 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', '/location/account/public_html/zen-cart-v1.5.4/cache');
Error Log indicated this:
[12-Jun-2015 13:24:27] PHP Parse error: syntax error, unexpected T_STATIC in /home6/stitchnf/public_html/zen-cart-v1.5.4/hannah/includes/classes/class.admin.zcObserverLogEventListener.php on line 118
Around Line 118 is :
* Set severity flags
* If $notes is not false, then that means the malicious-content detector found things which should be deemed remarkable, so we elevate the severity to 'notice'
*/
if ($notes !== false && $notes != '')
{
$severity = self::NOTICE;
$flagged = 1;
}
/**
* escalate severity if requested level is higher than calculated level
*/
$levels = static::$levels;
$levels_lookup = array_flip($levels);
$integer_requested_severity = $requested_severity;
if (is_string($requested_severity) && $requested_severity != '') {
if (isset($levels_lookup[strtoupper($requested_severity)])) {
$integer_requested_severity = $levels_lookup[strtoupper($requested_severity)];
}
}
if ($integer_requested_severity > $severity) {
IDEAS?
TIA
Bookmarks