Skip to content

v3.0.0

Choose a tag to compare

@starychenko starychenko released this 08 Feb 10:54

ocXRay v3.0.0 — Major Rewrite

What's New

  • Rebrand: Debug Panel → ocXRay — Debug Profiler
  • New UI: Dark theme (Catppuccin Mocha), fully isolated from host page CSS (all: initial + #dbg scoping)
  • Drag-to-resize panel with persistent height
  • N+1 query detection — highlights repeated query patterns
  • Admin toggle: System → Settings → Server → ocXRay (file-based flag, zero overhead when off)

Architecture Changes

  • OCMOD target changed: response.php instead of framework.php — works on all OpenCart 3.x versions (3.0.3.x and 3.0.4.x)
  • Activation: file-based ocxray_enabled flag instead of DB constant (avoids infinite recursion in mysqli.php patch)
  • Raw superglobals in Requests tab to avoid double HTML encoding from OpenCart's Request::clean()

Bug Fixes

  • Fix panel not appearing on any OpenCart 3.x (framework.php never loaded via modification())
  • Fix double HTML encoding (" shown literally) in Requests tab
  • Fix N+1 table styles leaking from Bootstrap
  • Fix slideToggle overriding flex layout
  • Fix CSS !important blocking JS inline style updates

Installation

  1. Upload ocXRay.ocmod.zip via Extensions → Installer
  2. Refresh OCMOD cache: Extensions → Modifications → Refresh
  3. Enable: System → Settings → Edit → Server tab → ocXRay Debug Panel → Yes