I've just installed your great template!
I've add a sql file into fresh 1.5.1, and "ACTIVATE Responsive Template by selecting Column Widths" menu was to 0 gid configuration (I change directly into phpmyadmin)
And if I active sideboxes/stirling_grand/ezpages_drop_menu.php into sidebox setting, I've this error on dropdown: WARNING: An Error occurred, please refresh the page and try again.
Zencart is fresh install
http://www.100asa.it/newcart/
The stirling_grand.sql file has a couple of configuration values that aren't being set properly, given that the "configuration_value" field is a variable-character one. In each case where the value is set to false, the configuration_value is set to 0; when set to true, the result is 1.
The SQL conversion magically handles the numeric inputs, but these "real" character values should be set as:Code:UPDATE configuration SET configuration_value = false WHERE configuration_key = 'PRODUCT_LIST_ALPHA_SORTER'; UPDATE configuration SET configuration_value = false WHERE configuration_key = 'PRODUCT_LIST_CATEGORIES_IMAGE_STATUS'; UPDATE configuration SET configuration_value = false WHERE configuration_key = 'PRODUCT_LIST_CATEGORIES_IMAGE_STATUS_TOP'; UPDATE configuration SET configuration_value = 0 WHERE configuration_key = 'PRODUCT_LIST_DESCRIPTION'; UPDATE configuration SET configuration_value = 0 WHERE configuration_key = 'PRODUCT_LIST_FILTER'; UPDATE configuration SET configuration_value = 1 WHERE configuration_key = 'PRODUCT_INFO_CATEGORIES_IMAGE_STATUS'; UPDATE configuration SET configuration_value = true WHERE configuration_key = 'USE_SPLIT_LOGIN_MODE';
Note also the initial capitalization for the USE_SPLIT_LOGIN_MODE value.Code:UPDATE configuration SET configuration_value = 'false' WHERE configuration_key = 'PRODUCT_LIST_ALPHA_SORTER'; UPDATE configuration SET configuration_value = 'false' WHERE configuration_key = 'PRODUCT_LIST_CATEGORIES_IMAGE_STATUS'; UPDATE configuration SET configuration_value = 'false' WHERE configuration_key = 'PRODUCT_LIST_CATEGORIES_IMAGE_STATUS_TOP'; UPDATE configuration SET configuration_value = 0 WHERE configuration_key = 'PRODUCT_LIST_DESCRIPTION'; UPDATE configuration SET configuration_value = 0 WHERE configuration_key = 'PRODUCT_LIST_FILTER'; UPDATE configuration SET configuration_value = 1 WHERE configuration_key = 'PRODUCT_INFO_CATEGORIES_IMAGE_STATUS'; UPDATE configuration SET configuration_value = 'True' WHERE configuration_key = 'USE_SPLIT_LOGIN_MODE';
Another minor issue: /includes/templates/stirling_grand/common/tpl_header.php hasn't been updated for the PHP 5.4+ changes to htmlspecialchars. The following code fragment towards the top of the file:
needs to be changed toCode:// Display all header alerts via messageStack: if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) { echo htmlspecialchars(urldecode($_GET['error_message'])); } if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) { echo htmlspecialchars($_GET['info_message']); } else { }
Code:// Display all header alerts via messageStack: if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) { echo htmlspecialchars(urldecode($_GET['error_message']), ENT_COMPAT, CHARSET, TRUE); } if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) { echo htmlspecialchars($_GET['info_message'], ENT_COMPAT, CHARSET, TRUE); } else { }
Bookmarks