lat9 / edit_orders

Edit Orders: Updates for continued operation on Zen Cart v1.5.8 and later
GNU General Public License v2.0
5 stars 9 forks source link

missing config key #238

Closed proseLA closed 3 months ago

proseLA commented 3 months ago

should this not be wrapped around a:

if (defined(EO_INIT_FILE_MISSING)) {

https://github.com/lat9/edit_orders/blob/769b2cc91c9a8b562cc440b7f33522db47e74fdc/YOUR_ADMIN/includes/init_includes/init_eo_config.php#L188-L190

lat9 commented 3 months ago

No need. If it's not present, there's no error returned when removing from the database.

proseLA commented 3 months ago

ok, so the actual error was here:

--> PHP Warning: Use of undefined constant EO_INIT_FILE_MISSING - assumed 'EO_INIT_FILE_MISSING' (this will throw an Error in a future version of PHP) in /var/www/ssshhhhhh/thisIsReaLLYMYaDmin/includes/init_includes/init_eo_config.php on line 231.

and it was happening when i was switching betweem 4.6.2 and 4.7.1.

my apologies