Coming soon to the Zen Cart Plugins download, a multilingual configurable footer menu for the Bootstrap template (v3.7.4 or later).
This plugin is based on Flexible Footer Menu Multilingual (https://www.zen-cart.com/showthread....Support-Thread).
Printable View
Coming soon to the Zen Cart Plugins download, a multilingual configurable footer menu for the Bootstrap template (v3.7.4 or later).
This plugin is based on Flexible Footer Menu Multilingual (https://www.zen-cart.com/showthread....Support-Thread).
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2397
ZC 2.1.0
Bootstrap Clone 3.7.7
When using the delete button to delete a page, I get the following log file:
Code:[12-Jun-2025 08:22:37 UTC] PHP Fatal error: Uncaught Error: Undefined constant "SUCCESS_PAGE_REMOVED" in /zc_plugins/BFFM/v2.0.0/admin/flexible_footer_menu2.php:150Stack trace:
#0 /MY_ADMIN/index.php(28): require()
#1 {main}
thrown in /zc_plugins/BFFM/v2.0.0/admin/flexible_footer_menu2.php on line 150
[12-Jun-2025 08:22:37 UTC] Request URI: /MY_ADMIN/index.php?cmd=flexible_footer_menu2&action=delete_confirm, IP address: 123.234.255.255
--> PHP Fatal error: Uncaught Error: Undefined constant "SUCCESS_PAGE_REMOVED" in /zc_plugins/BFFM/v2.0.0/admin/flexible_footer_menu2.php:150
Stack trace:
#0 /MY_ADMIN/index.php(28): require()
#1 {main}
thrown in /zc_plugins/BFFM/v2.0.0/admin/flexible_footer_menu2.php on line 150.
[12-Jun-2025 08:22:37 UTC] Request URI: /MY_ADMIN/index.php?cmd=flexible_footer_menu2&action=delete_confirm, IP address: 123.234.255.255
--> PHP Fatal error: Uncaught Error: Undefined constant "SUCCESS_PAGE_REMOVED" in /zc_plugins/BFFM/v2.0.0/admin/flexible_footer_menu2.php:150
Stack trace:
#0 /MY_ADMIN/index.php(28): require()
#1 {main}
thrown in /zc_plugins/BFFM/v2.0.0/admin/flexible_footer_menu2.php on line 150.
Also, when inserting:
Code:[12-Jun-2025 10:18:51 UTC] PHP Fatal error: Uncaught Error: Undefined constant "SUCCESS_PAGE_INSERTED" in /zc_plugins/BFFM/v2.0.0/admin/flexible_footer_menu2.php:72Stack trace:
#0 /MY_ADMIN/index.php(28): require()
#1 {main}
thrown in /zc_plugins/BFFM/v2.0.0/admin/flexible_footer_menu2.php on line 72
[12-Jun-2025 10:18:51 UTC] Request URI: /MY_ADMIN/index.php?cmd=flexible_footer_menu2&action=insert, IP address: 123.234.255.255
--> PHP Fatal error: Uncaught Error: Undefined constant "SUCCESS_PAGE_INSERTED" in /zc_plugins/BFFM/v2.0.0/admin/flexible_footer_menu2.php:72
Stack trace:
#0 /MY_ADMIN/index.php(28): require()
#1 {main}
thrown in /zc_plugins/BFFM/v2.0.0/admin/flexible_footer_menu2.php on line 72.
[12-Jun-2025 10:18:51 UTC] Request URI: /MY_ADMIN/index.php?cmd=flexible_footer_menu2&action=insert, IP address: 123.234.255.255
--> PHP Fatal error: Uncaught Error: Undefined constant "SUCCESS_PAGE_INSERTED" in /zc_plugins/BFFM/v2.0.0/admin/flexible_footer_menu2.php:72
Stack trace:
#0 /MY_ADMIN/index.php(28): require()
#1 {main}
thrown in /zc_plugins/BFFM/v2.0.0/admin/flexible_footer_menu2.php on line 72.
THANX
If it helps, the process (insert or delete) completed even though the 500 was received.
GitHub issue (with correction): https://github.com/lat9/bootstrap_ffmm/issues/1
What is it they say? "No good deed goes unpunished"
I do appreaciate all you have take on in the cause of Zen Cart.
Now getting the following when inserting:
Code:[13-Jun-2025 02:37:55 UTC] Request URI: /MY_ADMIN/index.php?cmd=flexible_footer_menu2&action=update, IP address: 123.234.255.255, Language id 1#0 /zc_plugins/BFFM/v2.0.1/admin/flexible_footer_menu2.php(109): zen_debug_error_handler()
#1 /MY_ADMIN/index.php(28): require('/home/texacana/...')
--> PHP Warning: Undefined array key "image_delete" in /zc_plugins/BFFM/v2.0.1/admin/flexible_footer_menu2.php on line 109.
Corrected now as well (thanks); see this GitHub issue for the correction: https://github.com/lat9/bootstrap_ffmm/issues/2
That one is giving:
How about a suggestion I got from a code checker.Code:[13-Jun-2025 17:14:50 UTC] PHP Parse error: syntax error, unexpected token "===" in /zc_plugins/BFFM/v2.0.1/admin/flexible_footer_menu2.php on line 109[13-Jun-2025 17:14:50 UTC] Request URI: /MY_ADMIN/index.php?cmd=flexible_footer_menu2, IP address: 123.234.255.255--> PHP Parse error: syntax error, unexpected token "===" in /zc_plugins/BFFM/v2.0.1/admin/flexible_footer_menu2.php on line 109.
[13-Jun-2025 17:14:50 UTC] Request URI: /MY_ADMIN/index.php?cmd=flexible_footer_menu2, IP address: 123.234.255.255
--> PHP Parse error: syntax error, unexpected token "===" in /zc_plugins/BFFM/v2.0.1/admin/flexible_footer_menu2.php on line 109.
Line 96
toCode:if ($col_image = new upload('col_image')) {
And, line 109Code:$col_image = new upload('col_image');
if ($col_image !== null) {
toCode:} elseif ($col_image->filename === 'none' || ($_POST['image_delete'] ?? 0) === '1')
I have tried this solution and it works on the current site. The site is running PHP 8.3.20, so the === should not have been a problem.Code:} elseif ($col_image->filename === 'none' || (isset($_POST['image_delete']) && $_POST['image_delete'] === '1')) {