copilot-swe-agent[bot]
|
2f62bd32c9
|
fix: standardize billing order status values and fix expiration lookup
- billing_integration.php: admin-created servers now use status='Active' (was 'installed')
- home_handling_functions.php: expiration query uses status IN ('Active','Invoiced') only
- my_account.php: renewable_statuses includes canonical 'active'/'invoiced'; legacy labels updated
- admin_orders.php: add orphaned home_id diagnostics section
- normalize_billing_order_status.sql: new migration to convert installed/paid→Active, suspended→Invoiced
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/c56f04bb-ecce-4f1b-9bbd-c5f83107da1d
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
|
2026-05-05 15:55:39 +00:00 |
|
copilot-swe-agent[bot]
|
1247e5e7ca
|
fix: harden billing module for standalone portability
- config_loader.php: prefer local billing config FIRST (root cause fix)
- was: panel config loaded first, overriding local config with wrong db name
- now: local modules/billing/includes/config.inc.php always wins when present
- config.inc.php: add $db_port="3306"
- config.example.php: new example config with all variables documented
- menu.php: add $db_port to mysqli_connect
- admin_auth.php: add $db_port; remove hardcoded /_website path detection
- bootstrap.php billing_get_db(): add $db_port
- login.php: fix /_website path detection
- adminserverlist.php: add $db_port; fix hardcoded /modules/billing/ URL
- All other mysqli_connect calls: add isset($db_port) port parameter
(my_servers, forgot_password, serverlist, server_status, order, register,
reset_password, payment_success, my_account, admin_invoices, admin_payments,
diag_remote, admin_coupons, test_db_connection, tools/check_db_user,
renew_server)
- timestamp.txt: updated
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/a3e1e4bb-8eb1-4e6e-b1f8-7f3952301231
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
|
2026-05-02 13:15:50 +00:00 |
|