Catalog/product Listing Page Not working properly
My zencart install was upgraded from 1.5.5.f to v1.5.6c.
After that the Zen Cart is loading funny. It’s look is different. And when you click on a category the category doesn’t load properly and I can not add new product. It ends up going on the bottom of the category page and the items listed do not show in the store. The toggle buttons are not loading properly.
But if I click on add new product and then when the page comes up to create a new item, clicking on cancel going BACK to the original page, the category/product listing page works properly.
Then I can select the proper category and properly add the new item.
Server runs on PHP Version 7.2.31.
Any help/ideas are appreciated.
Re: Catalog/product Listing Page Not working properly
Please explain how it was updated and what the source fileset was? Check and compare the includes/configure.php to the admin/includes/configure.php files. What differences are there in the data to the right side of any define: define('x', 'y');
Re: Catalog/product Listing Page Not working properly
Followed https://www.zen-cart.com/content.php?148 for upgrade process.
It was upgraded from 1.5.5.f to v1.5.6c.
diff includes/configure.php admin/includes/configure.php | grep define
< define('HTTPS_SERVER', 'https://domain.com');
< define('ENABLE_SSL', 'true');
> define('HTTP_CATALOG_SERVER', 'https://domain.com');
> define('HTTPS_CATALOG_SERVER', 'https://domain.com');
> define('ENABLE_SSL_CATALOG', '');
< define('DB_CHARSET', 'utf8mb4'); // 'utf8mb4' or older 'utf8' / 'latin1' are most common
> define('DB_CHARSET', 'utf8'); // 'utf8' or 'latin1' are most common
Re: Catalog/product Listing Page Not working properly
Found this in the debug log,
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant HEADING_TITLE - assumed 'HEADING_TITLE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 376
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant HEADING_TITLE_GOTO - assumed 'HEADING_TITLE_GOTO' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 539
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_ID - assumed 'TABLE_HEADING_ID' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 564
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_CATEGORIES_PRODUCTS - assumed 'TABLE_HEADING_CATEGORIES_PRODUCTS' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 565
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_MODEL - assumed 'TABLE_HEADING_MODEL' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 566
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_PRICE - assumed 'TABLE_HEADING_PRICE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 567
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_QUANTITY - assumed 'TABLE_HEADING_QUANTITY' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 569
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_STATUS - assumed 'TABLE_HEADING_STATUS' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 570
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_CATEGORIES_SORT_ORDER - assumed 'TABLE_HEADING_CATEGORIES_SORT_ORDER' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 574
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_ACTION - assumed 'TABLE_HEADING_ACTION' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 575
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
#1 sizeof() called at [/home/domainco/public_html/admin/includes/functions/general.php:82]
#2 zen_get_path() called at [/home/domainco/public_html/admin/category_product_listing.php:634]
[16-Jun-2020 18:47:33 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/includes/functions/general.php on line 82
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ON_OF - assumed 'TEXT_PRODUCTS_STATUS_ON_OF' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ACTIVE - assumed 'TEXT_PRODUCTS_STATUS_ACTIVE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
#1 sizeof() called at [/home/domainco/public_html/admin/includes/functions/general.php:82]
#2 zen_get_path() called at [/home/domainco/public_html/admin/category_product_listing.php:634]
[16-Jun-2020 18:47:33 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/includes/functions/general.php on line 82
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ON_OF - assumed 'TEXT_PRODUCTS_STATUS_ON_OF' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ACTIVE - assumed 'TEXT_PRODUCTS_STATUS_ACTIVE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
#1 sizeof() called at [/home/domainco/public_html/admin/includes/functions/general.php:82]
#2 zen_get_path() called at [/home/domainco/public_html/admin/category_product_listing.php:634]
[16-Jun-2020 18:47:33 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/includes/functions/general.php on line 82
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ON_OF - assumed 'TEXT_PRODUCTS_STATUS_ON_OF' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ACTIVE - assumed 'TEXT_PRODUCTS_STATUS_ACTIVE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
#1 sizeof() called at [/home/domainco/public_html/admin/includes/functions/general.php:82]
#2 zen_get_path() called at [/home/domainco/public_html/admin/category_product_listing.php:634]
[16-Jun-2020 18:47:33 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/includes/functions/general.php on line 82
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ON_OF - assumed 'TEXT_PRODUCTS_STATUS_ON_OF' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ACTIVE - assumed 'TEXT_PRODUCTS_STATUS_ACTIVE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
#1 sizeof() called at [/home/domainco/public_html/admin/includes/functions/general.php:82]
#2 zen_get_path() called at [/home/domainco/public_html/admin/category_product_listing.php:634]
[16-Jun-2020 18:47:33 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/includes/functions/general.php on line 82
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ON_OF - assumed 'TEXT_PRODUCTS_STATUS_ON_OF' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ACTIVE - assumed 'TEXT_PRODUCTS_STATUS_ACTIVE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
#1 sizeof() called at [/home/domainco/public_html/admin/includes/functions/general.php:82]
#2 zen_get_path() called at [/home/domainco/public_html/admin/category_product_listing.php:634]
[16-Jun-2020 18:47:33 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/includes/functions/general.php on line 82
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ON_OF - assumed 'TEXT_PRODUCTS_STATUS_ON_OF' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ACTIVE - assumed 'TEXT_PRODUCTS_STATUS_ACTIVE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
#1 sizeof() called at [/home/domainco/public_html/admin/includes/functions/general.php:82]
#2 zen_get_path() called at [/home/domainco/public_html/admin/category_product_listing.php:634]
[16-Jun-2020 18:47:33 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/includes/functions/general.php on line 82
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ON_OF - assumed 'TEXT_PRODUCTS_STATUS_ON_OF' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ACTIVE - assumed 'TEXT_PRODUCTS_STATUS_ACTIVE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
#1 sizeof() called at [/home/domainco/public_html/admin/category_product_listing.php:1150]
[16-Jun-2020 18:47:33 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/category_product_listing.php on line 1150
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_CATEGORIES - assumed 'TEXT_CATEGORIES' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 1163
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS - assumed 'TEXT_PRODUCTS' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 1163
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
#1 sizeof() called at [/home/domainco/public_html/admin/category_product_listing.php:1166]
[16-Jun-2020 18:47:33 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/category_product_listing.php on line 1166
[16-Jun-2020 18:47:33 UTC] Request URI: /admin/category_product_listing.php, IP address: 12.1.2.1
[16-Jun-2020 18:47:33 UTC] PHP Warning: Use of undefined constant WARNING_PRODUCTS_IN_TOP_INFO - assumed 'WARNING_PRODUCTS_IN_TOP_INFO' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 1233
Not sure this helps.
Re: Catalog/product Listing Page Not working properly
Not sure why with an upgrade by rebuild the admin version of the file shows the ENABLE_SSL_CATALOG as a pair of empty quotes, because that should be either 'true' or 'false' not ''.
When upgrading by those directions, did you dive into the preamble portion at the top of the page and do the rebuild method or did you overwrite files (possibly not deleting others that probably should be deleted)?
There may also be a session/cache issue... ctrl-F5 while in the admin to see if it helps resolve the redirects or other issue(s).
Re: Catalog/product Listing Page Not working properly
>> Not sure why with an upgrade by rebuild the admin version of the file shows the ENABLE_SSL_CATALOG as a pair of empty quotes, because that should be either 'true' or 'false' not ''.
Change to true. I overwrote the files as told in the faq.
The odd thing is that if I try to create a new listing, hit cancel and go back, the product listing is working as expected.
Found these in the debug log files.
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant HEADING_TITLE - assumed 'HEADING_TITLE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 376
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant HEADING_TITLE_GOTO - assumed 'HEADING_TITLE_GOTO' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 539
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_ID - assumed 'TABLE_HEADING_ID' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 564
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_CATEGORIES_PRODUCTS - assumed 'TABLE_HEADING_CATEGORIES_PRODUCTS' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 565
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_MODEL - assumed 'TABLE_HEADING_MODEL' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 566
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_PRICE - assumed 'TABLE_HEADING_PRICE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 567
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_QUANTITY - assumed 'TABLE_HEADING_QUANTITY' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 569
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_STATUS - assumed 'TABLE_HEADING_STATUS' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 570
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_CATEGORIES_SORT_ORDER - assumed 'TABLE_HEADING_CATEGORIES_SORT_ORDER' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 574
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TABLE_HEADING_ACTION - assumed 'TABLE_HEADING_ACTION' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 575
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
#1 sizeof() called at [/home/domainco/public_html/admin/includes/functions/general.php:82]
#2 zen_get_path() called at [/home/domainco/public_html/admin/category_product_listing.php:634]
[17-Jun-2020 11:46:59 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/includes/functions/general.php on line 82
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ON_OF - assumed 'TEXT_PRODUCTS_STATUS_ON_OF' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ACTIVE - assumed 'TEXT_PRODUCTS_STATUS_ACTIVE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
#1 sizeof() called at [/home/domainco/public_html/admin/includes/functions/general.php:82]
#2 zen_get_path() called at [/home/domainco/public_html/admin/category_product_listing.php:634]
[17-Jun-2020 11:46:59 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/includes/functions/general.php on line 82
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ON_OF - assumed 'TEXT_PRODUCTS_STATUS_ON_OF' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ACTIVE - assumed 'TEXT_PRODUCTS_STATUS_ACTIVE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
#1 sizeof() called at [/home/domainco/public_html/admin/includes/functions/general.php:82]
#2 zen_get_path() called at [/home/domainco/public_html/admin/category_product_listing.php:634]
[17-Jun-2020 11:46:59 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/includes/functions/general.php on line 82
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ON_OF - assumed 'TEXT_PRODUCTS_STATUS_ON_OF' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ACTIVE - assumed 'TEXT_PRODUCTS_STATUS_ACTIVE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
#1 sizeof() called at [/home/domainco/public_html/admin/includes/functions/general.php:82]
#2 zen_get_path() called at [/home/domainco/public_html/admin/category_product_listing.php:634]
[17-Jun-2020 11:46:59 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/includes/functions/general.php on line 82
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ON_OF - assumed 'TEXT_PRODUCTS_STATUS_ON_OF' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ACTIVE - assumed 'TEXT_PRODUCTS_STATUS_ACTIVE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
#1 sizeof() called at [/home/domainco/public_html/admin/includes/functions/general.php:82]
#2 zen_get_path() called at [/home/domainco/public_html/admin/category_product_listing.php:634]
[17-Jun-2020 11:46:59 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/includes/functions/general.php on line 82
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ON_OF - assumed 'TEXT_PRODUCTS_STATUS_ON_OF' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ACTIVE - assumed 'TEXT_PRODUCTS_STATUS_ACTIVE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
#1 sizeof() called at [/home/domainco/public_html/admin/includes/functions/general.php:82]
#2 zen_get_path() called at [/home/domainco/public_html/admin/category_product_listing.php:634]
[17-Jun-2020 11:46:59 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/includes/functions/general.php on line 82
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ON_OF - assumed 'TEXT_PRODUCTS_STATUS_ON_OF' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ACTIVE - assumed 'TEXT_PRODUCTS_STATUS_ACTIVE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
#1 sizeof() called at [/home/domainco/public_html/admin/includes/functions/general.php:82]
#2 zen_get_path() called at [/home/domainco/public_html/admin/category_product_listing.php:634]
[17-Jun-2020 11:46:59 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/includes/functions/general.php on line 82
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ON_OF - assumed 'TEXT_PRODUCTS_STATUS_ON_OF' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS_STATUS_ACTIVE - assumed 'TEXT_PRODUCTS_STATUS_ACTIVE' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 648
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
#1 sizeof() called at [/home/domainco/public_html/admin/category_product_listing.php:1150]
[17-Jun-2020 11:46:59 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/category_product_listing.php on line 1150
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_CATEGORIES - assumed 'TEXT_CATEGORIES' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 1163
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant TEXT_PRODUCTS - assumed 'TEXT_PRODUCTS' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 1163
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
#1 sizeof() called at [/home/domainco/public_html/admin/category_product_listing.php:1166]
[17-Jun-2020 11:46:59 UTC] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/domainco/public_html/admin/category_product_listing.php on line 1166
[17-Jun-2020 11:46:59 UTC] Request URI: /admin/category_product_listing.php, IP address: IP ADDRESS
[17-Jun-2020 11:46:59 UTC] PHP Warning: Use of undefined constant WARNING_PRODUCTS_IN_TOP_INFO - assumed 'WARNING_PRODUCTS_IN_TOP_INFO' (this will throw an Error in a future version of PHP) in /home/domainco/public_html/admin/category_product_listing.php on line 1233
Re: Catalog/product Listing Page Not working properly
do you have this file:
YOUR_ADMIN/includes/languages/english/category_product_listing.php
Re: Catalog/product Listing Page Not working properly
Quote:
Originally Posted by
carlwhat
do you have this file:
YOUR_ADMIN/includes/languages/english/category_product_listing.php
No, that file is missing.
categories.php, products_to_categories.php are there.
Re: Catalog/product Listing Page Not working properly
Quote:
Originally Posted by
rndm1
No, that file is missing.
categories.php, products_to_categories.php are there.
well, i would suggest you get that file. that is where a number of your errors are coming and is part of the v156c package. you can download it from here:
https://raw.githubusercontent.com/ze...ct_listing.php
if you missed that file, entirely possible you may have missed a few others, but you can cross that bridge when necessary.
best.
Re: Catalog/product Listing Page Not working properly
Quote:
Originally Posted by
carlwhat
well, i would suggest you get that file. that is where a number of your errors are coming and is part of the v156c package. you can download it from here:
https://raw.githubusercontent.com/ze...ct_listing.php
if you missed that file, entirely possible you may have missed a few others, but you can cross that bridge when necessary.
best.
Thanks, I have uploaded the file. But unfortunately the issue is still there.