lat9 / dbio

Database Input/Output for Zen Cart
GNU General Public License v3.0
3 stars 1 forks source link

PHP notice/warning when there's an error or it's not "ok to proceed" #203

Closed lat9 closed 1 year ago

lat9 commented 1 year ago

When running Tools :: Database I/O Manager, if there's an error (like the /dbio sub-directory isn't present), there's a notice followed by a warning since the $customization_choices array hasn't been defined:

[22-Oct-2022 14:29:52 America/New_York] Request URI: /zc158/hoisT-PYL-teAch/index.php?cmd=dbio_manager, IP address: 127.0.0.1
#1  require(C:\xampp\htdocs\zc158\hoisT-PYL-teAch\dbio_manager.php) called at [C:\xampp\htdocs\zc158\hoisT-PYL-teAch\index.php:11]
--> PHP Notice: Undefined variable: customization_choices in C:\xampp\htdocs\zc158\hoisT-PYL-teAch\dbio_manager.php on line 941.

[22-Oct-2022 14:29:52 America/New_York] Request URI: /zc158/hoisT-PYL-teAch/index.php?cmd=dbio_manager, IP address: 127.0.0.1
#1  require(C:\xampp\htdocs\zc158\hoisT-PYL-teAch\dbio_manager.php) called at [C:\xampp\htdocs\zc158\hoisT-PYL-teAch\index.php:11]
--> PHP Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\zc158\hoisT-PYL-teAch\dbio_manager.php on line 941.