I have version that works with Zen Cart 1.5.8 and PHP 8.0 and 8.1. It does not work with ZC 1.5.7. The source files are located in GitHub at https://github.com/OldNGreyBMR/printable_price_list.
I appreciate all of work put in by lat9 into this and other plugins like Bootstrap so this is my contribution of the low hanging fruit.
There is not change in functionality or appearance.
The minor changes are listed in "readme_BMH_zc158.md" and the "readme.html "has been updated as well.
I have updated the source files in my GitHub https://github.com/OldNGreyBMR/printable_price_list to include files for both ZC157 and ZC158.
The ZC157 files will work with PHP7.4 and PHP8.0 but not PHP8.1 as strftime() is deprecated and the ZC function zcdate(), introduced in ZC158 must be used instead.
Using the github 301a version on ZC 1.5.7d pricelist is throwing several errors. Any chance one of you can help?
03-Sep-2023 09:20:03 America/Chicago] Request URI: /index.php?main_page=pricelist&profile=1, IP address: 73.67.37.4
#1 trigger_error() called at [/includes/classes/db/mysql/query_factory.php:171]
#2 queryFactory->show_error() called at [/includes/classes/db/mysql/query_factory.php:143]
#3 queryFactory->set_error() called at [/includes/classes/db/mysql/query_factory.php:270]
#4 queryFactory->Execute() called at [/includes/functions/sessions.php:77]
#5 _sess_write()
#6 session_write_close()
--> PHP Fatal error: 2014:Commands out of sync; you can't run this command now :: insert into sessions (sesskey, expiry, `value`)
values ('ff553641a663eb2fd4ed6974c1444bd4', 1693752243,
......
HR8ZDoyLjcwNTk5OTk5OTk5OTk5OTk2MDkyMDE0OTUzMzE5NDQ4OTc3NzA4ODE2NTI4MzIwMzEyNTs=' , expiry=1693752243 ==> (as called by) /includes/functions/sessions.php on line 77 <== in /includes/classes/db/mysql/query_factory.php on line 171.[03-Sep-2023 09:20:03 America/Chicago] Request URI: /index.php?main_page=pricelist&profile=1, IP address: 73.67.37.4
--> PHP Warning: Unknown: Cannot call session save handler in a recursive manner in Unknown on line 0.
[03-Sep-2023 09:20:03 America/Chicago] Request URI: /index.php?main_page=pricelist&profile=1, IP address: 73.67.37.4
--> PHP Warning: Unknown: Failed to write session data using user defined save handler. (session.save_path: /cache) in Unknown on line 0.
03-Sep-2023 09:20:03 America/Chicago] Request URI: /index.php?main_page=pricelist&profile=1, IP address: 73.67.37.4
--> PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16384 bytes) in /includes/classes/db/mysql/query_factory.php on line 44.
Have you tried it on a clean install of zc1.5.7d with PHP of 7.4 without any extra plugins? I cannot induce any similar errors.
OldNGrey
ZC158a PHP 8.2.15
MySQL 10.6.16-MariaDB
3092 :) just a few
Your report returns 3610 lines including category headings, 3483 without headings.
Is it still giving a memory error?
OldNGrey
ZC158a PHP 8.2.15
MySQL 10.6.16-MariaDB
Bookmarks