
Originally Posted by
jimmie
ok i uninstalled and redownloaded from github as of 8/19/2019 and reinstalled, same error, this is on v 1.51 with many mods. here is a list
Page Name Menu Key
Display
Link
TM Megamenu configuration Y TM Megamenu
ZX Slideshow configuration Y ZX Slideshow
TM Customblock configuration Y TM Customblock
TM Social Block configuration Y TM Social Block
BackUp ZenCart tools Y BackUp ZenCart
Mod List tools Y Mod List
CSS/JS Loader Configuration configuration Y CSS/JS Loader Configuration
Default Configuration Template configuration N Default Configuration Template
Fast and Easy Checkout Configuration configuration Y Fast and Easy Checkout Configuration
Store Credit customers Y Store Credit
Edit Orders customers N Edit Orders
Edit Orders configuration Y Edit Orders
Super Orders configuration Y Super Orders
Batch Status Update customers Y Batch Status Update
Batch Form Print customers Y Batch Form Print
Super Orders Batch Pages customers N Super Orders Batch Pages
Super Orders Data Sheet customers N Super Orders Data Sheet
Super Orders Shipping Label customers N Super Orders Shipping Label
Super Orders Edit Pop-Up customers N Super Orders Edit Pop-Up
Manage Payment Types localization Y Manage Payment Types
Orders Awaiting Payment reports Y Orders Awaiting Payment
Cash Report reports Y Cash Report
Ty Package Tracker configuration Y Ty Package Tracker
Super Tracker Configuration configuration Y Super Tracker Configuration
SuperTracker reports Y SuperTracker
Monthly Sales reports Y Monthly Sales
Sales Report with Graphs reports Y Sales Report with Graphs
Sitemap XML tools Y Sitemap XML
Sitemap XML configuration Y Sitemap XML
New Order modules N New Order
New Order customers Y New Order
Add Customer customers Y Add Customer
ZX Point of Sale configuration Y ZX Point of Sale
Numinix Product Fields catalog Y Numinix Product Fields
Numinix Product Fields configuration Y Numinix Product Fields
Advanced Shipper Config modules Y Advanced Shipper Config
(BOX_CEON_SOPHISTICATED_SHIPPER) modules Y Link cannot be created
Sophisticated Shipper Config modules Y Sophisticated Shipper Config
Abandoned Carts customers Y Abandoned Carts
Recovered Sales Results reports Y Recovered Sales Results
Configure RCS configuration Y Configure RCS
(BOX_CATALOG_XSELL_PRODUCTS) catalog Y Link cannot be created
(BOX_CATALOG_ADVANCED_XSELL_PRODUCTS) catalog Y Link cannot be created
Return Authorization configuration Y Return Authorization
Shipping Boxes Manager Configuration configuration Y Shipping Boxes Manager Configuration
Shipping Boxes Manager tools Y Shipping Boxes Manager
Products Nesting Manager catalog Y Link cannot be created
Printable Price-list configuration Y Printable Price-list
Price-list Profile-1 configuration Y Price-list Profile-1
Price-list Profile-2 configuration Y Price-list Profile-2
Price-list Profile-3 configuration Y Price-list Profile-3
Cross-Sell (X-Sell) Configuration configuration Y Cross-Sell (X-Sell) Configuration
Cross-Sell (X-Sell) Admin catalog Y Cross-Sell (X-Sell) Admin
Cross Sell (X-Sell) Advanced Admin catalog Y Cross Sell (X-Sell) Advanced Admin
Chatra tools Y Chatra
ZX AJAX Add to Cart configuration Y ZX AJAX Add to Cart
Sales Report reports Y Sales Report
Easy Populate 4 tools Y Easy Populate 4
Easy Populate 4 configuration Y Easy Populate 4
Dynamic Drop Downs configuration Y Dynamic Drop Downs
Products with Attributes Stock (aka SBA) Setup configuration Y Products with Attributes Stock (aka SBA) Setup
Products with Attributes Stock Ajax catalog N Products with Attributes Stock Ajax
Products with Attributes Stock (aka SBA) catalog Y Products with Attributes Stock (aka SBA)
Tabbed Products Pro - Configuration configuration Y Tabbed Products Pro - Configuration
Dynamic Filter configuration Y Dynamic Filter
Google Analytics configuration Y Google Analytics
RSS Feed configuration Y RSS Feed
Socials Login Configuration configuration Y Socials Login Configuration
OneAll Social Login configuration Y OneAll Social Login
OneAll Social Login tools Y OneAll Social Login
Simplified Social Share modules Y Simplified Social Share
Google Plus One Configuration configuration Y Google Plus One Configuration
Manufacturers Carousel configuration Y Manufacturers Carousel
(BOX_CONFIGURATION_CAROUSEL) configuration Y Link cannot be created
Flexible Footer Menu Install tools Y Flexible Footer Menu Install
Side Navi Configuration configuration Y Side Navi Configuration
Structured Data Configuration configuration Y Structured Data Configuration
Image Handler4 tools Y Link cannot be created
Side Navi Configuration configuration Y Side Navi Configuration
There may be a couple of the above that have the potential of attempting to access the includes/extra_cart_actions folder. Unfortunately whichever is doing it seems to not be respecting the software or observing normal load sequence. So, while this doesn't fix that issue, it should help at least allow the store to continue operating even on that old version of Zen Cart.
in includes/extra_cart_actions/stock_by_attributes.php
Between lines 11 and 13 incorporate the following highlighted code:
Code:
}
if (empty($_SESSION['pwas_class2'])) {
if (!class_exists('products_with_attributes_class_stock')) {
require DIR_FS_CATALOG . DIR_WS_CLASSES . 'class.products_with_attributes_class_stock.php';
}
$_SESSION['pwas_class2'] = new products_with_attributes_class_stock();
}
//What about: 'multiple_products_add_product' (Needs to be addressed though don't see at the moment why since generally unable to select multiple products each with attributes, perhaps something to consider for later, but let's get serious here at the moment as there are more routine actions to be handled properly first.), 'update_product' (Needs to be addressed), or 'cart' (does a notify action, so may need to address?)actions?
Really should though try to figure out why this file is being loaded outside/before application_top is executed to load the session information and/or prepare the variables as expected for a normally operational store.
Bookmarks