Store Mode

1.5.1 Hook error - Store Mode

1.5.1 Hook error

by mhsuffolk » Mon Apr 24, 2023 9:38 am

Phoenix 1.0.8.20 on Xampp PHP 8.0
Updated from 1.5.0 to 1.5.1
All changes are correct and double checked, in Store Mode I get:
Capture.JPG
Capture.JPG (23.92 KiB) Viewed 48 times
If I attempt to edit the module I get loads of:

: The tep_draw_checkbox_field function has been deprecated. in
D:\PHP_8\htdocs\**myadmin**\includes\functions\html_output.php
on line
170
Deprecated
: The tep_draw_selection_field function has been deprecated. in
D:\PHP_8\htdocs\**myadmin**\includes\functions\html_output.php
on line
150
Deprecated
: The tep_draw_checkbox_field function has been deprecated. in
D:\PHP_8\htdocs\**myadmin**\includes\functions\html_output.php
on line
170

If I reverse that is replace "Delete the file: includes/hooks/shop/system/storeMode.php" from the instructions then all is well.
Live shop Phoenix 1.0.9.0 on PHP 8.0
User avatar
mhsuffolk
VIP Member
VIP Member
Posts: 146
Joined: Sat Oct 26, 2019 9:13 am
Contact:

Re: 1.5.1 Hook error

by raiwa » Mon Apr 24, 2023 10:49 am

Thanks for the advise.
I changed back the hook to system hook to avoid changing additional files. Please use the new package. It's still flagged version 1.5.1. I suppose there are not much downloads yet.
The errors you report should not exist in the latest 1.5.0./1.5.1 version. All "tep_" functions are updated there. Maybe you are using an older version or the errors are produced somewhere else.

Best wishes
Rainer
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: 1.5.1 Hook error

by mhsuffolk » Mon Apr 24, 2023 11:15 am

All good now. I had the old module still existing in includes/modules/store as well as the new one in includes/modules/mode Perhaps I missed this in the update instructions.
Live shop Phoenix 1.0.9.0 on PHP 8.0
User avatar
mhsuffolk
VIP Member
VIP Member
Posts: 146
Joined: Sat Oct 26, 2019 9:13 am
Contact: