From all this discussion, it appears that one area where this issue is being seen is when visiting YOUR_ADMIN/template_select.php
And that the right side of the screen is not offering any option other than the default (responsive_classic) template.
If that is the case, then it would appear that something is "wrong" with YOUR_ADMIN/template_select.php in your environment.
There are a few things PHP related that are expected or have changed which may not yet have been incorporated into the version that you are accessing.
One specifically is the conversion of use of each to foreach as provided in this ZC commit discussion: https://github.com/zencart/zencart/pull/1377
Seems though that if this were the problem then none of the options would be presented rather than just the one...
Another relates to file loading/reading to obtain the data for the template list.
This would likely be best seen by adding some debugging code into the while loop for collecting the files.
ie.:
find:
Code:
while ($file = $dir->read()) {
if (is_dir(DIR_FS_CATALOG_TEMPLATES . $file) && $file != 'template_default') {
if (file_exists(DIR_FS_CATALOG_TEMPLATES . $file . '/template_info.php')) {
require(DIR_FS_CATALOG_TEMPLATES . $file . '/template_info.php');
$template_info[$file] = array('name' => $template_name,
'version' => $template_version,
'author' => $template_author,
'description' => $template_description,
'screenshot' => $template_screenshot);
}
}
}
And modify to include the below in red.
Code:
while ($file = $dir->read()) {
if (is_dir(DIR_FS_CATALOG_TEMPLATES . $file) && $file != 'template_default') {
trigger_error('file: ' . $file, E_USER_WARNING);
if (file_exists(DIR_FS_CATALOG_TEMPLATES . $file . '/template_info.php')) {
trigger_error('file_exists: ' . $file . '/template_info.php', E_USER_WARNING);
require(DIR_FS_CATALOG_TEMPLATES . $file . '/template_info.php');
$template_info[$file] = array('name' => $template_name,
'version' => $template_version,
'author' => $template_author,
'description' => $template_description,
'screenshot' => $template_screenshot);
trigger_error('template_info: ' . print_r($template_info[$file], true), E_USER_WARNING);
}
}
}
Open the template select page,
then review the logs folder for a new mydebug log.
Provide the information collected (if any).
Could even try to rename the responsive_classic directory to something like b_responsive_classic so that alphabetically it is before classic and see if that causes a change in the display. There doesn't appear to be anything that forces the inclusion of the default name, which also might imply that there is some sort of scripting present that prevents further display of the items in the list if at least the items to be modified related to the above commit are not the problem.
As far as the template_select table, ZC 1.5.5 has made responsive_classic the default and there has been only one record upon installation for the version/sub-versions of ZC 1.5.5.
Bookmarks