Zen Cart Logo
Forums / Upgrading to 1.5.x / Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

Views: 5,046

Results 1 to 20 of 20
3 Jan 2022, 2:44 AM
#1
tbokich avatar

tbokich

New Zenner

Join Date:
Aug 2007
Posts:
64
Plugin Contributions:
0

Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

Fresh install of Zen cart 157 some item pages okay some item pages only showing one image in the title

I have a fresh install of Zen cart 157 https://www.makupartist.com with Sheffield blue with only one plug-in image handler 515. Some products are displaying correctly with all the attributes: https://www.makupartist.com/index.php?main_page=product_info&cPath=1&products_id=88
most products only show the title and a single image: https://www.makupartist.com/index.php?main_page=product_info&cPath=1&products_id=501 this product I copied and it showed up the same and also made it as a new item and it still behaved the same. Image handler manager shows multiple images for items but none of the catalog items show any more than one photo. The beginning of my database for this site started around 2004. Please if anyone has any suggestions on how to fix this. Thanks Todd PHP Version 7.4.26

3 Jan 2022, 9:33 AM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,685
Plugin Contributions:
56

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

Have you checked the config flag?
Admin > Catalog > Product Types, then selecting Product - General (or whatever your product type is), then clicking Layout Settings, and setting Show Product Additional Images to 1.

3 Jan 2022, 12:41 PM
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

That looks like a "partial whitepage", i.e. something in the rendering of the center section of the page encountered a PHP error.

Check your /logs sub-directory for any debug-logs since they'll contain the clues that identify the source of the issue.

3 Jan 2022, 7:41 PM
#4
tbokich avatar

tbokich

New Zenner

Join Date:
Aug 2007
Posts:
64
Plugin Contributions:
0

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

swguy:

Have you checked the config flag?
Admin > Catalog > Product Types, then selecting Product - General (or whatever your product type is), then clicking Layout Settings, and setting Show Product Additional Images to 1.

Hello thank you for your response I checked Show Product Additional Images and it is set to one

3 Jan 2022, 7:50 PM
#5
tbokich avatar

tbokich

New Zenner

Join Date:
Aug 2007
Posts:
64
Plugin Contributions:
0

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

lat9:

That looks like a "partial whitepage", i.e. something in the rendering of the center section of the page encountered a PHP error.

Check your /logs sub-directory for any debug-logs since they'll contain the clues that identify the source of the issue.

I am getting Three logs. #1:[27-Dec-2021 22:38:59 UTC] Request URI: /, IP address: 159.223.46.191
#1 trigger_error() called at [/home4/latexinn/public_html/includes/classes/db/mysql/query_factory.php:170]
#2 queryFactory->show_error() called at [/home4/latexinn/public_html/includes/classes/db/mysql/query_factory.php:142]
#3 queryFactory->set_error() called at [/home4/latexinn/public_html/includes/classes/db/mysql/query_factory.php:226]
#4 queryFactory->Execute() called at [/home4/latexinn/public_html/includes/classes/PluginManager.php:29]
#5 Zencart\PluginManager\PluginManager->getInstalledPlugins() called at [/home4/latexinn/public_html/includes/application_top.php:192]
#6 require(/home4/latexinn/public_html/includes/application_top.php) called at [/home4/latexinn/public_html/index.php:25]
--> PHP Fatal error: 1146:Table 'latexinn_154.plugin_control' doesn't exist :: SELECT * FROM plugin_control WHERE status = 1 ==> (as called by) /home4/latexinn/public_html/includes/classes/PluginManager.php on line 29 <== in /home4/latexinn/public_html/includes/classes/db/mysql/query_factory.php on line 170.

#2:
[27-Dec-2021 21:44:39 UTC] Request URI: /, IP address: 54.78.65.114
#1 include(/home4/latexinn/public_html/includes/languages/english/extra_definitions/responsive_sheffield_blue/responsive_sheffield_blue_defines.php) called at [/home4/latexinn/public_html/includes/modules/extra_definitions.php:45]
#2 include(/home4/latexinn/public_html/includes/modules/extra_definitions.php) called at [/home4/latexinn/public_html/includes/init_includes/init_templates.php:85]
#3 require_once(/home4/latexinn/public_html/includes/init_includes/init_templates.php) called at [/home4/latexinn/public_html/includes/autoload_func.php:37]
#4 require(/home4/latexinn/public_html/includes/autoload_func.php) called at [/home4/latexinn/public_html/includes/application_top.php:222]
#5 require(/home4/latexinn/public_html/includes/application_top.php) called at [/home4/latexinn/public_html/index.php:25]
--> PHP Warning: Use of undefined constant ABOUT_US_IMAGE - assumed 'ABOUT_US_IMAGE' (this will throw an Error in a future version of PHP) in /home4/latexinn/public_html/includes/languages/english/extra_definitions/responsive_sheffield_blue/responsive_sheffield_blue_defines.php on line 56.

[27-Dec-2021 21:44:39 UTC] Request URI: /, IP address: 54.78.65.114
#1 zen_categories_ul_generator->buildBranch() called at [/home4/latexinn/public_html/includes/classes/categories_ul_generator.php:85]
#2 zen_categories_ul_generator->buildTree() called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs.php:27]
#3 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs.php) called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_header.php:135]
#4 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_header.php) called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php:180]
#5 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php) called at [/home4/latexinn/public_html/index.php:94]
--> PHP Warning: A non-numeric value encountered in /home4/latexinn/public_html/includes/classes/categories_ul_generator.php on line 58.

[27-Dec-2021 21:44:39 UTC] Request URI: /, IP address: 54.78.65.114
#1 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs.php) called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_header.php:135]
#2 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_header.php) called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php:180]
#3 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php) called at [/home4/latexinn/public_html/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs.php on line 100.

[27-Dec-2021 21:44:39 UTC] Request URI: /, IP address: 54.78.65.114
#1 include(/home4/latexinn/public_html/includes/modules/responsive_sheffield_blue/featured_products.php) called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_featured_products.php:12]
#2 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_featured_products.php) called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_index_default.php:86]
#3 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_index_default.php) called at [/home4/latexinn/public_html/includes/modules/pages/index/main_template_vars.php:232]
#4 require(/home4/latexinn/public_html/includes/modules/pages/index/main_template_vars.php) called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php:251]
#5 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php) called at [/home4/latexinn/public_html/index.php:94]
--> PHP Warning: Use of undefined constant CAROUSEL_FEATURED_PRODUCTS - assumed 'CAROUSEL_FEATURED_PRODUCTS' (this will throw an Error in a future version of PHP) in /home4/latexinn/public_html/includes/modules/responsive_sheffield_blue/featured_products.php on line 51.

and #3:
[27-Dec-2021 21:33:51 UTC] Request URI: /index.php?main_page=contact_us&zenid=ora5qcvrkcem407lr8ac2h95u5, IP address: 190.2.132.128
#1 include_once() called at [/home4/latexinn/public_html/includes/autoload_func.php:28]
#2 require(/home4/latexinn/public_html/includes/autoload_func.php) called at [/home4/latexinn/public_html/includes/application_top.php:222]
#3 require(/home4/latexinn/public_html/includes/application_top.php) called at [/home4/latexinn/public_html/index.php:25]
--> PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; splitPageResults has a deprecated constructor in /home4/latexinn/public_html/includes/classes/split_page_results.php on line 23.

[27-Dec-2021 21:33:51 UTC] Request URI: /index.php?main_page=contact_us&zenid=ora5qcvrkcem407lr8ac2h95u5, IP address: 190.2.132.128
#1 require_once() called at [/home4/latexinn/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:14]
#2 include(/home4/latexinn/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php) called at [/home4/latexinn/public_html/includes/modules/extra_functions.php:43]
#3 include(/home4/latexinn/public_html/includes/modules/extra_functions.php) called at [/home4/latexinn/public_html/includes/init_includes/init_general_funcs.php:51]
#4 require_once(/home4/latexinn/public_html/includes/init_includes/init_general_funcs.php) called at [/home4/latexinn/public_html/includes/autoload_func.php:37]
#5 require(/home4/latexinn/public_html/includes/autoload_func.php) called at [/home4/latexinn/public_html/includes/application_top.php:222]
#6 require(/home4/latexinn/public_html/includes/application_top.php) called at [/home4/latexinn/public_html/index.php:25]
--> PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ih_image has a deprecated constructor in /home4/latexinn/public_html/includes/classes/bmz_image_handler.class.php on line 16.

[27-Dec-2021 21:33:51 UTC] Request URI: /index.php?main_page=contact_us&zenid=ora5qcvrkcem407lr8ac2h95u5, IP address: 190.2.132.128
#1 require_once() called at [/home4/latexinn/public_html/includes/classes/bmz_image_handler.class.php:14]
#2 require_once(/home4/latexinn/public_html/includes/classes/bmz_image_handler.class.php) called at [/home4/latexinn/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:14]
#3 include(/home4/latexinn/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php) called at [/home4/latexinn/public_html/includes/modules/extra_functions.php:43]
#4 include(/home4/latexinn/public_html/includes/modules/extra_functions.php) called at [/home4/latexinn/public_html/includes/init_includes/init_general_funcs.php:51]
#5 require_once(/home4/latexinn/public_html/includes/init_includes/init_general_funcs.php) called at [/home4/latexinn/public_html/includes/autoload_func.php:37]
#6 require(/home4/latexinn/public_html/includes/autoload_func.php) called at [/home4/latexinn/public_html/includes/application_top.php:222]
#7 require(/home4/latexinn/public_html/includes/application_top.php) called at [/home4/latexinn/public_html/index.php:25]
--> PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; gifinfo has a deprecated constructor in /home4/latexinn/public_html/includes/classes/bmz_gif_info.class.php on line 13.

[27-Dec-2021 21:33:51 UTC] Request URI: /index.php?main_page=contact_us&zenid=ora5qcvrkcem407lr8ac2h95u5, IP address: 190.2.132.128
#1 include() called at [/home4/latexinn/public_html/includes/modules/extra_functions.php:43]
#2 include(/home4/latexinn/public_html/includes/modules/extra_functions.php) called at [/home4/latexinn/public_html/includes/init_includes/init_general_funcs.php:51]
#3 require_once(/home4/latexinn/public_html/includes/init_includes/init_general_funcs.php) called at [/home4/latexinn/public_html/includes/autoload_func.php:37]
#4 require(/home4/latexinn/public_html/includes/autoload_func.php) called at [/home4/latexinn/public_html/includes/application_top.php:222]
#5 require(/home4/latexinn/public_html/includes/application_top.php) called at [/home4/latexinn/public_html/index.php:25]
--> PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /home4/latexinn/public_html/includes/functions/extra_functions/functions_bmz_io.php on line 75.

Thanks

3 Jan 2022, 8:53 PM
#6
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,685
Plugin Contributions:
56

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

Your copy of Image Handler is out of date. Update to the latest.
Responsive Sheffield Blue is an old template. You'd be better off just updating to the Bootstrap template which works with updated PHP versions.

3 Jan 2022, 10:00 PM
#7
tbokich avatar

tbokich

New Zenner

Join Date:
Aug 2007
Posts:
64
Plugin Contributions:
0

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

swguy:

Your copy of Image Handler is out of date. Update to the latest.
Responsive Sheffield Blue is an old template. You'd be better off just updating to the Bootstrap template which works with updated PHP versions.

Hello thanks for posting. I updated the image handler version. I think by bootstrap you mean the classic green Zen. I loaded it and get corrected the attributes problem but I'm still not getting anything past one image. Is there a functional template similar to Sheffield blue that has the large slideshow on the top? The classic green is a little blasé. Thanks for your help Todd

3 Jan 2022, 10:33 PM
#8
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,685
Plugin Contributions:
56

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

No, by Bootstrap I mean Bootstrap.

https://docs.zen-cart.com/user/template/bootstrap/

3 Jan 2022, 10:34 PM
#9
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,685
Plugin Contributions:
56

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

You can add a slideshow to any template; that's not a particular feature of Responsive Sheffield Blue.

3 Jan 2022, 10:56 PM
#10
tbokich avatar

tbokich

New Zenner

Join Date:
Aug 2007
Posts:
64
Plugin Contributions:
0

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

swguy:

You can add a slideshow to any template; that's not a particular feature of Responsive Sheffield Blue.

Hello
Thanks so much I had no idea that there was a template like that hopefully us posting here like this will direct more people to it. I got the bootstrap installed and did a couple boxes but I'm still only getting one image, the attributes are working. I also installed the administrative logging and am showing quite a few errors. Thanks again for your help

4 Jan 2022, 12:14 AM
#11
tbokich avatar

tbokich

New Zenner

Join Date:
Aug 2007
Posts:
64
Plugin Contributions:
0

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

tbokich:

Hello
Thanks so much I had no idea that there was a template like that hopefully us posting here like this will direct more people to it. I got the bootstrap installed and did a couple boxes but I'm still only getting one image, the attributes are working. I also installed the administrative logging and am showing quite a few errors. Thanks again for your help

Updated Image handler to the newest version. Installed the bootstrap template. Still only getting one image for an item and some items do not have attributes still. Also am still getting warnings in my logging the same as listed above.

4 Jan 2022, 6:56 AM
#12
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,765
Plugin Contributions:
9

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

Slightly off topic. I was using your site as a test of something new for verifying Color Contrast by CSS.

With the exception of your logo which really violates color contrast readability, all other existing images with text are okay.

Creating an includes/templates/bootstrap/css/stylesheet_zcustom.css and adding the following code will make your site compliant with ADA/WCAG Color Contrast and still look basically the same.

/* buttons */.btn {color: #ffffff;background-color: #007faf;border-color: #007faf;}


/* header category tabs */
#navCatTabs a {color: #ffffff;background-color: #007faf;}


/* breadcrumbs */
#navBreadCrumb li a {color: #005b8b;}


/* sideboxes card header */
#categoriesContent .badge, #documentcategoriesContent .badge {color: #ffffff;background-color: #007faf;}
.leftBoxCard .list-group-item, .rightBoxCard .list-group-item {color: #007faf;background-color: #ffffff;}


/* pagination links */
.page-item.active span.page-link {color: #ffffff;background-color: #007faf;}


/*body*/
a {color:#0080a6;}


/*general*/
.productSalePrice, .productPriceDiscount {color:#ef0000;}


/*product pages*/
#addToCart-card-header, .btn.button_in_cart {background-color:#008a13}

There are still other items that need to be addressed in the ADA area but that will help.

As to the other items, it looks as if there are remnants of the old files left on the site. Mention of bmz in the log files seems to verify that.

4 Jan 2022, 6:09 PM
#13
tbokich avatar

tbokich

New Zenner

Join Date:
Aug 2007
Posts:
64
Plugin Contributions:
0

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

an update: I uninstalled image handler to make sure it wasn't interfering. It's easy enough to put it back in once I get the site functional. I cleaned up attribute files then copied them to the Halloween category but it still did not make the attribute show for individual items in the Halloween category. I now have no attributes showing on any of the items in the catalog and you cannot put any items into the shopping cart. Open for suggestions

4 Jan 2022, 8:07 PM
#14
tbokich avatar

tbokich

New Zenner

Join Date:
Aug 2007
Posts:
64
Plugin Contributions:
0

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

dbltoe:

Slightly off topic. I was using your site as a test of something new for verifying Color Contrast by CSS.

With the exception of your logo which really violates color contrast readability, all other existing images with text are okay.

Creating an includes/templates/bootstrap/css/stylesheet_zcustom.css and adding the following code will make your site compliant with ADA/WCAG Color Contrast and still look basically the same.

/* buttons */.btn {color: #ffffff;background-color: #007faf;border-color: #007faf;}

/* header category tabs */
#navCatTabs a {color: #ffffff;background-color: #007faf;}

/* breadcrumbs */
#navBreadCrumb li a {color: #005b8b;}

/* sideboxes card header */
#categoriesContent .badge, #documentcategoriesContent .badge {color: #ffffff;background-color: #007faf;}
.leftBoxCard .list-group-item, .rightBoxCard .list-group-item {color: #007faf;background-color: #ffffff;}

/* pagination links */
.page-item.active span.page-link {color: #ffffff;background-color: #007faf;}

/body/
a {color:#0080a6;}

/general/
.productSalePrice, .productPriceDiscount {color:#ef0000;}

/product pages/
#addToCart-card-header, .btn.button_in_cart {background-color:#008a13}

> 
> There are still other items that need to be addressed in the ADA area but that will help.
> 
> As to the other items, it looks as if there are remnants of the old files left on the site.  Mention of *bmz* in the log files seems to verify that.

I added the file thanks much. The BMZ catch has about 15 folders in it. Are these old and can be deleted?
4 Jan 2022, 8:36 PM
#15
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

tbokich:

Updated Image handler to the newest version. Installed the bootstrap template. Still only getting one image for an item and some items do not have attributes still. Also am still getting warnings in my logging the same as listed above.
Responsive sheffield blue and a few other similar templates, modified some of the core Zen Cart files. They did so to offer some additional features that even now still do not exist. The problem is though that some of the code has had to be modified to remain operational. Generally speaking though the software is still functional without those special edits.
So, suggestion would be to look at those logs:
tbokich:

I am getting Three logs. #1:```
[27-Dec-2021 22:38:59 UTC] Request URI: /, IP address: 159.223.46.191
#1 trigger_error() called at [/home4/latexinn/public_html/includes/classes/db/mysql/query_factory.php:170]
#2 queryFactory->show_error() called at [/home4/latexinn/public_html/includes/classes/db/mysql/query_factory.php:142]
#3 queryFactory->set_error() called at [/home4/latexinn/public_html/includes/classes/db/mysql/query_factory.php:226]
#4 queryFactory->Execute() called at [/home4/latexinn/public_html/includes/classes/PluginManager.php:29]
#5 Zencart\PluginManager\PluginManager->getInstalledPlugins() called at [/home4/latexinn/public_html/includes/application_top.php:192]
#6 require(/home4/latexinn/public_html/includes/application_top.php) called at [/home4/latexinn/public_html/index.php:25]
--> PHP Fatal error: 1146:Table 'latexinn_154.plugin_control' doesn't exist :: SELECT * FROM plugin_control WHERE status = 1 ==> (as called by) /home4/latexinn/public_html/includes/classes/PluginManager.php on line 29 <== in /home4/latexinn/public_html/includes/classes/db/mysql/query_factory.php on line 170.

> 
> #2:
> ```
[27-Dec-2021 21:44:39 UTC] Request URI: /, IP address: 54.78.65.114
#1 include(/home4/latexinn/public_html/includes/languages/english/extra_definitions/responsive_sheffield_blue/responsive_sheffield_blue_defines.php) called at [/home4/latexinn/public_html/includes/modules/extra_definitions.php:45]
#2 include(/home4/latexinn/public_html/includes/modules/extra_definitions.php) called at [/home4/latexinn/public_html/includes/init_includes/init_templates.php:85]
#3 require_once(/home4/latexinn/public_html/includes/init_includes/init_templates.php) called at [/home4/latexinn/public_html/includes/autoload_func.php:37]
#4 require(/home4/latexinn/public_html/includes/autoload_func.php) called at [/home4/latexinn/public_html/includes/application_top.php:222]
#5 require(/home4/latexinn/public_html/includes/application_top.php) called at [/home4/latexinn/public_html/index.php:25]
--> PHP Warning: Use of undefined constant ABOUT_US_IMAGE - assumed 'ABOUT_US_IMAGE' (this will throw an Error in a future version of PHP) in /home4/latexinn/public_html/includes/languages/english/extra_definitions/responsive_sheffield_blue/responsive_sheffield_blue_defines.php on line 56.

[27-Dec-2021 21:44:39 UTC] Request URI: /, IP address: 54.78.65.114
#1 zen_categories_ul_generator->buildBranch() called at [/home4/latexinn/public_html/includes/classes/categories_ul_generator.php:85]
#2 zen_categories_ul_generator->buildTree() called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs.php:27]
#3 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs.php) called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_header.php:135]
#4 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_header.php) called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php:180]
#5 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php) called at [/home4/latexinn/public_html/index.php:94]
--> PHP Warning: A non-numeric value encountered in /home4/latexinn/public_html/includes/classes/categories_ul_generator.php on line 58.

[27-Dec-2021 21:44:39 UTC] Request URI: /, IP address: 54.78.65.114
#1 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs.php) called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_header.php:135]
#2 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_header.php) called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php:180]
#3 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php) called at [/home4/latexinn/public_html/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs.php on line 100.

[27-Dec-2021 21:44:39 UTC] Request URI: /, IP address: 54.78.65.114
#1 include(/home4/latexinn/public_html/includes/modules/responsive_sheffield_blue/featured_products.php) called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_featured_products.php:12]
#2 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_featured_products.php) called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_index_default.php:86]
#3 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_index_default.php) called at [/home4/latexinn/public_html/includes/modules/pages/index/main_template_vars.php:232]
#4 require(/home4/latexinn/public_html/includes/modules/pages/index/main_template_vars.php) called at [/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php:251]
#5 require(/home4/latexinn/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php) called at [/home4/latexinn/public_html/index.php:94]
--> PHP Warning: Use of undefined constant CAROUSEL_FEATURED_PRODUCTS - assumed 'CAROUSEL_FEATURED_PRODUCTS' (this will throw an Error in a future version of PHP) in /home4/latexinn/public_html/includes/modules/responsive_sheffield_blue/featured_products.php on line 51.

and #3:

[27-Dec-2021 21:33:51 UTC] Request URI: /index.php?main_page=contact_us&zenid=ora5qcvrkcem407lr8ac2h95u5, IP address: 190.2.132.128
#1 include_once() called at [/home4/latexinn/public_html/includes/autoload_func.php:28]
#2 require(/home4/latexinn/public_html/includes/autoload_func.php) called at [/home4/latexinn/public_html/includes/application_top.php:222]
#3 require(/home4/latexinn/public_html/includes/application_top.php) called at [/home4/latexinn/public_html/index.php:25]
--> PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; splitPageResults has a deprecated constructor in /home4/latexinn/public_html/includes/classes/split_page_results.php on line 23.

[27-Dec-2021 21:33:51 UTC] Request URI: /index.php?main_page=contact_us&zenid=ora5qcvrkcem407lr8ac2h95u5, IP address: 190.2.132.128
#1 require_once() called at [/home4/latexinn/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:14]
#2 include(/home4/latexinn/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php) called at [/home4/latexinn/public_html/includes/modules/extra_functions.php:43]
#3 include(/home4/latexinn/public_html/includes/modules/extra_functions.php) called at [/home4/latexinn/public_html/includes/init_includes/init_general_funcs.php:51]
#4 require_once(/home4/latexinn/public_html/includes/init_includes/init_general_funcs.php) called at [/home4/latexinn/public_html/includes/autoload_func.php:37]
#5 require(/home4/latexinn/public_html/includes/autoload_func.php) called at [/home4/latexinn/public_html/includes/application_top.php:222]
#6 require(/home4/latexinn/public_html/includes/application_top.php) called at [/home4/latexinn/public_html/index.php:25]
--> PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ih_image has a deprecated constructor in /home4/latexinn/public_html/includes/classes/bmz_image_handler.class.php on line 16.

[27-Dec-2021 21:33:51 UTC] Request URI: /index.php?main_page=contact_us&zenid=ora5qcvrkcem407lr8ac2h95u5, IP address: 190.2.132.128
#1 require_once() called at [/home4/latexinn/public_html/includes/classes/bmz_image_handler.class.php:14]
#2 require_once(/home4/latexinn/public_html/includes/classes/bmz_image_handler.class.php) called at [/home4/latexinn/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:14]
#3 include(/home4/latexinn/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php) called at [/home4/latexinn/public_html/includes/modules/extra_functions.php:43]
#4 include(/home4/latexinn/public_html/includes/modules/extra_functions.php) called at [/home4/latexinn/public_html/includes/init_includes/init_general_funcs.php:51]
#5 require_once(/home4/latexinn/public_html/includes/init_includes/init_general_funcs.php) called at [/home4/latexinn/public_html/includes/autoload_func.php:37]
#6 require(/home4/latexinn/public_html/includes/autoload_func.php) called at [/home4/latexinn/public_html/includes/application_top.php:222]
#7 require(/home4/latexinn/public_html/includes/application_top.php) called at [/home4/latexinn/public_html/index.php:25]
--> PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; gifinfo has a deprecated constructor in /home4/latexinn/public_html/includes/classes/bmz_gif_info.class.php on line 13.

[27-Dec-2021 21:33:51 UTC] Request URI: /index.php?main_page=contact_us&zenid=ora5qcvrkcem407lr8ac2h95u5, IP address: 190.2.132.128
#1 include() called at [/home4/latexinn/public_html/includes/modules/extra_functions.php:43]
#2 include(/home4/latexinn/public_html/includes/modules/extra_functions.php) called at [/home4/latexinn/public_html/includes/init_includes/init_general_funcs.php:51]
#3 require_once(/home4/latexinn/public_html/includes/init_includes/init_general_funcs.php) called at [/home4/latexinn/public_html/includes/autoload_func.php:37]
#4 require(/home4/latexinn/public_html/includes/autoload_func.php) called at [/home4/latexinn/public_html/includes/application_top.php:222]
#5 require(/home4/latexinn/public_html/includes/application_top.php) called at [/home4/latexinn/public_html/index.php:25]
--> PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /home4/latexinn/public_html/includes/functions/extra_functions/functions_bmz_io.php on line 75.

> 
> Thanks
Issue #1 indicates a problem with the general Zen Cart installation/upgrade where the database table for the plugin manager isn't present.
Issue #2 indicates a missing define, that the class file in place is not up-to-date with changes made/incorporated in Zen Cart 1.5.7, that the template file (and likely related module file(s) have not been updated to Zen Cart 1.5.7 coded corrections, and another missing define.
Issue #3 indicates that the class file is not up-to-date with changes made/incorporated in Zen Cart 1.5.7 (or perhaps earlier), same/similar but not Zen Cart core related but is fixed in the updated Image Handler file(s) for all of the remaining items shown as logged.


The description(s) above apply in order of the logged information for each "issue" where an issue is now captured in a ```
[CODE][/CODE]
``` set of blocks/tags. It is because of the issues introduced to the core code by the responsive classic blue template (which *was* fully compatible when developed/issued) that causes your issues no matter the active template. Full replacement of those files with the current version of them may cause the loss of some features associated with that template, but should restore operation. If properly merged with the core version of those files then the capabilities may remain and the code be compatible with current standards...

As for technical terms, this is not truly a fresh install of Zen Cart 1.5.7 considering the database issue that was identified in the first log. A fresh install would not have returned that. This appears to possibly be an install with an existing database. What the status of that database is has not been described. (e.g. zc_install upgradded or not)
4 Jan 2022, 10:25 PM
#16
tbokich avatar

tbokich

New Zenner

Join Date:
Aug 2007
Posts:
64
Plugin Contributions:
0

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

mc12345678:

Responsive sheffield blue and a few other similar templates, modified some of the core Zen Cart files. They did so to offer some additional features that even now still do not exist. The problem is though that some of the code has had to be modified to remain operational. Generally speaking though the software is still functional without those special edits.
So, suggestion would be to look at those logs:

Issue #1 indicates a problem with the general Zen Cart installation/upgrade where the database table for the plugin manager isn't present.
Issue #2 indicates a missing define, that the class file in place is not up-to-date with changes made/incorporated in Zen Cart 1.5.7, that the template file (and likely related module file(s) have not been updated to Zen Cart 1.5.7 coded corrections, and another missing define.
Issue #3 indicates that the class file is not up-to-date with changes made/incorporated in Zen Cart 1.5.7 (or perhaps earlier), same/similar but not Zen Cart core related but is fixed in the updated Image Handler file(s) for all of the remaining items shown as logged.

The description(s) above apply in order of the logged information for each "issue" where an issue is now captured in a ```
[CODE][/CODE]

> 
> As for technical terms, this is not truly a fresh install of Zen Cart 1.5.7 considering the database issue that was identified in the first log. A fresh install would not have returned that. This appears to possibly be an install with an existing database. What the status of that database is has not been described. (e.g. zc_install upgradded or not)

I read what you wrote before and thought I would give some history. I first installed this Zencart in 2003. My web shop is quite big with over 800 items. I am a special-effects artist. I have used the same database since 2003. There have been a number of times where my database was updated during new installations using the Zencart engine and I wondered if that was enough from what you say it appears not. So my question is if this is just like beating a dead horse maybe I need to do an actual fresh install, lose the database and put all the items back in one by one. It would definitely take a good deal of time but so far I have spent a lot of time on trying to fix it. I gave up on the website several years ago because of all these problems. Your advice would be welcomed. Thanks Todd
5 Jan 2022, 11:53 AM
#17
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

tbokich:

I read what you wrote before and thought I would give some history. I first installed this Zencart in 2003. My web shop is quite big with over 800 items. I am a special-effects artist. I have used the same database since 2003. There have been a number of times where my database was updated during new installations using the Zencart engine and I wondered if that was enough from what you say it appears not. So my question is if this is just like beating a dead horse maybe I need to do an actual fresh install, lose the database and put all the items back in one by one. It would definitely take a good deal of time but so far I have spent a lot of time on trying to fix it. I gave up on the website several years ago because of all these problems. Your advice would be welcomed. Thanks Todd

Generally speaking that type of history should not be reason to stay with a brand new database that has to be repopulated. Following the zc_install process to do a proper database upgrade should at least address item 1 above. That log indicates that the table plugin_control was not present in the database. That was a table added in ZC 1.5.7 and is how it is possible to identify that the database in use at the time the log was generated was not up-to-date. The real question at this point about that issue is if it continues to be logged. If that specific issue is no longer being logged then it indicates that the log was briefly made just prior to the update.

This is why it is suggested to always attempt to address the most recent log first and then once fixed address any additional or future logs. Yes, it may still be worth to look at a log that was generated moments before the most recent, but addressing the most recent may prevent generation of what was the older log.

May I suggest looking over the information at the following link: https://docs.zen-cart.com/user/upgrading/

You might be able to do a database only upgrade at this point, but it is worth reading the other information if issue 1 above continues to be logged.

5 Jan 2022, 5:08 PM
#18
tbokich avatar

tbokich

New Zenner

Join Date:
Aug 2007
Posts:
64
Plugin Contributions:
0

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

mc12345678:

Generally speaking that type of history should not be reason to stay with a brand new database that has to be repopulated. Following the zc_install process to do a proper database upgrade should at least address item 1 above. That log indicates that the table plugin_control was not present in the database. That was a table added in ZC 1.5.7 and is how it is possible to identify that the database in use at the time the log was generated was not up-to-date. The real question at this point about that issue is if it continues to be logged. If that specific issue is no longer being logged then it indicates that the log was briefly made just prior to the update.

This is why it is suggested to always attempt to address the most recent log first and then once fixed address any additional or future logs. Yes, it may still be worth to look at a log that was generated moments before the most recent, but addressing the most recent may prevent generation of what was the older log.

May I suggest looking over the information at the following link: https://docs.zen-cart.com/user/upgrading/

You might be able to do a database only upgrade at this point, but it is worth reading the other information if issue 1 above continues to be logged.

When I did this install of 157 I ran the Zen cart engine and upgraded the database. Will updating the database a second time fix any issues? I am still getting logs similar to the ones that were done days back. It has already generated over 20 logs this morning that look like this:[05-Jan-2022 17:05:38 UTC] Request URI: /, IP address: 221.6.38.170
#1 include_once() called at [/includes/autoload_func.php:28]
#2 require(/includes/autoload_func.php) called at [/includes/application_top.php:222]
#3 require(/includes/application_top.php) called at [/index.php:25]
--> PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; splitPageResults has a deprecated constructor in /includes/classes/split_page_results.php on line 23.

I'm on the fence on whether this can be repaired or I need to start over and input all the catalog. Thanks Todd

5 Jan 2022, 5:43 PM
#19
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,955
Plugin Contributions:
8

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

tbokich:

When I did this install of 157 I ran the Zen cart engine and upgraded the database. Will updating the database a second time fix any issues? I am still getting logs similar to the ones that were done days back. It has already generated over 20 logs this morning that look like this:[05-Jan-2022 17:05:38 UTC] Request URI: /, IP address: 221.6.38.170
#1 include_once() called at [/includes/autoload_func.php:28]
#2 require(/includes/autoload_func.php) called at [/includes/application_top.php:222]
#3 require(/includes/application_top.php) called at [/index.php:25]
--> PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; splitPageResults has a deprecated constructor in /includes/classes/split_page_results.php on line 23.

I'm on the fence on whether this can be repaired or I need to start over and input all the catalog. Thanks Todd

go forward, never go back!

the error in this last post has nothing to do with your database. this file is an old version:

includes/classes/split_page_results.php

it should look like this one:

https://raw.githubusercontent.com/zencart/zencart/v157/includes/classes/split_page_results.php

how many other files are from old versions, i can not tell you.

best.

7 Jan 2022, 8:26 PM
#20
tbokich avatar

tbokich

New Zenner

Join Date:
Aug 2007
Posts:
64
Plugin Contributions:
0

Re: Fresh install of Zen cart 157 some item pages okay some item pages only showing one i

So I ended up cutting bait! I created the original database and site in 2003 I think it just has too many battle scars on it so I'm busy repopulating in redesigning the new site. Thanks for all your help and support. Todd