Zen Cart Logo
Forums / All Other Contributions/Addons / Audit support thread

Audit support thread

Views: 4,589

Results 1 to 11 of 11
2 Oct 2019, 11:09 AM
#1
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Audit support thread

This is the Support thread for Audit. It's available here:
https://www.zen-cart.com/downloads.php?do=file&id=2261

Audit reports anomalies and unexpected conditions in your database, and allows you to fix them easily.

5 Oct 2019, 8:06 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,080
Plugin Contributions:
56

Re: Audit support thread

I'm seeing these PHP notices when I run the tool on a zc156c site (upgraded from zc154):

[05-Oct-2019 15:03:08 America/Chicago] Request URI: /siteadmin/audit.php, IP address: 127.0.0.1
--> PHP Notice: Use of undefined constant FIX_OPTION_SET_TYPE -  assumed 'FIX_OPTION_SET_TYPE' in  C:\xampp\htdocs\site\siteadmin\audit.php on line 180.

[05-Oct-2019 15:03:08 America/Chicago] Request URI: /siteadmin/audit.php, IP address: 127.0.0.1
--> PHP Notice: Use of undefined constant FIX_OPTION_SET_TYPE -  assumed 'FIX_OPTION_SET_TYPE' in  C:\xampp\htdocs\site\siteadmin\audit.php on line 197.
6 Oct 2019, 3:38 PM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Audit support thread

Thanks. I very cleverly forgot to check in some changes which I apparently have lost! :( Will fix shortly.

4 May 2020, 8:10 PM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Audit support thread

Version 1.1 now checks for the products.master_categories_id being set to a non-existent category, a situation which causes a ton of grief. :(

1 Sep 2021, 10:25 AM
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Audit support thread

Version 1.2 now checks for categories containing both sub-categories and products. This is a misconfiguration which can cause problems and should be fixed.

8 Aug 2024, 2:47 AM
#6
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Audit support thread

Is "Audit" compatible with ZC 2.0 and PHP 8.3?

Currently bringing my existing cart up to date.

Thank you

8 Aug 2024, 12:32 PM
#7
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

Re: Audit support thread

Seems to for me. It's not finding anything, but it shouldn't be currently.

8 Dec 2024, 6:31 AM
#8
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Audit support thread

Getting some deprecate.log

07-Dec-2024 22:28:47 America/Los_Angeles] Request URI: /sweety/index.php?cmd=audit, IP address: 24.4.88.128, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /sweety/includes/header.php(71): trigger_error()
#2 /sweety/audit.php(81): require('/home/zch1akhw6...')
#3 /sweety/index.php(16): require('/home/zch1akhw6...')
--> PHP Deprecated: This page requires updates for the next Zen Cart version. Please refer your site developer or plugin author to <a href="https://docs.zen-cart.com/dev/plugins/admin_head_content/" rel="noopener noreferrer" target="_blank">this</a> documentation. in /sweety/includes/header.php on line 71.
9 Dec 2024, 3:19 PM
#9
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Audit support thread

thanks - will fix on the next update.

9 Jul 2026, 8:41 AM
#10
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,869
Plugin Contributions:
7

Re: Audit support thread

Is this functionality now in System Inspection, so Audit is obsolete?

9 Jul 2026, 9:59 AM
#11
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Audit support thread

No. System Inspection is the new name for Mod List.