It strikes me that perhaps these notices are a result of the improved error logging in ZCv1.57. TBH I can't remember if ZCv1.56c showed notices or not. In any event I get too many of them.
Printable View
It strikes me that perhaps these notices are a result of the improved error logging in ZCv1.57. TBH I can't remember if ZCv1.56c showed notices or not. In any event I get too many of them.
Here are the first few lines of the debug, there is no url on the first line - but the link I followed to the Inventory Updater page is
mydomain.co.uk/myadmin/index.php?cmd=inventory
These notices only appear on first entry to the Updater page, subsequent actions using the various dropdowns yield no notices.Code:[08-Jul-2020 16:09:12 Europe/London] PHP Notice: Undefined index: sort in D:\wamp64\www\mydomain.co.uk\myadmin\inventory.php on line 73
[08-Jul-2020 16:09:12 Europe/London] PHP Stack trace:
[08-Jul-2020 16:09:12 Europe/London] PHP 1. {main}() D:\wamp64\www\mydomain.co.uk\myadmin\index.php:0
[08-Jul-2020 16:09:12 Europe/London] PHP 2. require() D:\wamp64\www\mydomain.co.uk\myadmin\index.php:11
[08-Jul-2020 16:09:13 Europe/London] PHP Notice: Undefined index: sort in D:\wamp64\www\mydomain.co.uk\myadmin\inventory.php on line 285
[08-Jul-2020 16:09:13 Europe/London] PHP Stack trace:
[08-Jul-2020 16:09:13 Europe/London] PHP 1. {main}() D:\wamp64\www\mydomain.co.uk\myadmin\index.php:0
[08-Jul-2020 16:09:13 Europe/London] PHP 2. require() D:\wamp64\www\mydomain.co.uk\myadmin\index.php:11
[08-Jul-2020 16:09:13 Europe/London] PHP Notice: Undefined index: active in D:\wamp64\www\mydomain.co.uk\myadmin\inventory.php on line 285
[08-Jul-2020 16:09:13 Europe/London] PHP Stack trace:
[08-Jul-2020 16:09:13 Europe/London] PHP 1. {main}() D:\wamp64\www\mydomain.co.uk\myadmin\index.php:0
[08-Jul-2020 16:09:13 Europe/London] PHP 2. require() D:\wamp64\www\mydomain.co.uk\myadmin\index.php:11
[08-Jul-2020 16:09:13 Europe/London] PHP Notice: Undefined index: sort in D:\wamp64\www\mydomain.co.uk\myadmin\inventory.php on line 285
[08-Jul-2020 16:09:13 Europe/London] PHP Stack trace:
[08-Jul-2020 16:09:13 Europe/London] PHP 1. {main}() D:\wamp64\www\mydomain.co.uk\myadmin\index.php:0
[08-Jul-2020 16:09:13 Europe/London] PHP 2. require() D:\wamp64\www\mydomain.co.uk\myadmin\index.php:11
[08-Jul-2020 16:09:13 Europe/London] PHP Notice: Undefined index: active in D:\wamp64\www\mydomain.co.uk\myadmin\inventory.php on line 285
[08-Jul-2020 16:09:13 Europe/London] PHP Stack trace:
[08-Jul-2020 16:09:13 Europe/London] PHP 1. {main}() D:\wamp64\www\mydomain.co.uk\myadmin\index.php:0
[08-Jul-2020 16:09:13 Europe/London] PHP 2. require() D:\wamp64\www\mydomain.co.uk\myadmin\index.php:11
BTW, the line numbers are different to your stock file because I added some custom lines to display product images - see a previous post for actual code.
yeah, i have all of my own code, so i know where all of the problems are. thanks for pointing them out.
i will be submitting a new version shortly.
you have error_reporting set to E_ALL somewhere. if you turn that config to something to something like E_ALL & ~E_NOTICE; i think all of these notices, and hence the log files, will disappear.
it is a setting and not specifically related to v157.
best.
version 1.2.2 is now submitted for review by the ZC plugin moderator.
@simon1066
on your 2 lines in question, you can change the $_GET['sort'] to $sort. that should work...
or you could download the new file from my github repo here:
https://raw.githubusercontent.com/pr.../inventory.php
there are a few other changes.
obviously you will need to add your mods back into the file.
best.
That's great. Thank you.
v1.2.2 now available for download.
https://www.zen-cart.com/downloads.php?do=file&id=2279
truely love this! makes it so much easier!
lol am waiting for extra options such as batch uploading :D
But seriously love it.
Quote:
extra options such as batch uploading
DBIO
https://www.zen-cart.com/showthread....Support-Thread