Monday 28 September 2026 16:54:37 - DEBUG LOG

UNIQUE PAGE ID: 16365792 | ACCESS TOKEN: 448528013 | DEBUG LOG: debug20260928165437448528013.html
ENVIRONMENT: PRODUCTION | PRODUCTION BUILD: 5899 | DEVELOPMENT BUILD: 5899

Requested URL: https://www.winchestergigguide.co.uk/?action=Event&argument1=display&eventid=1197
HTTP status code: 301 - Legacy function remapped to modern function
Indexing instruction: noindex,follow - This URL contains a legacy query string that should not be indexed
Canonical URL: https://www.winchestergigguide.co.uk
Referring URL: https://www.winchestergigguide.co.uk/?action=DisplayVenue&gighistory=show&venueid=18&gighistoryyear=2011

Bot identified: Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (HTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)

Visitor User Agent: Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (HTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)
Visitor IP address: 114.119.165.226

DISPLAYED PAGE: REDIRECT

Memory threshold: 345.6MB - if memory usage reaches this threshold the script will abort and generate an error.
Script timer threshold: 5.00 second(s) - any functions that run longer than this will generate an error.

CURRENT DEBUG FUNCTION LEVEL: 2 - this level can be adjusted on the dashboard to display more or less debug detail. All CRITICAL lines, regardless of the debug level of the function they are in, will be shown in the debug log. CRITICAL lines that appear from functions that are below the current debug level will be display in a light grey colour.

QUERY DEBUGGING: OFF - the query debugger can be enabled via the Developer Toolbox. When it is enabled, the description of all query actions will be shown.

Mem usage (MB) / Page timer (sec) / Function name [function level] / Line number / Msg
--------------------------------------------------------------------------------------
**** LINE: 479 -- SECTION: CONSTRUCT ****
9.66 0.00 PrimaryFunction[1] 482 Access token created by construct script (index.php)
**** LINE: 500 -- SECTION: RETRIEVE HOSTING LIMITS ****
9.67 0.00 PrimaryFunction[1] 504 Maximum size of combined POST data: 8MB
9.67 0.00 PrimaryFunction[1] 506 Maximum file upload size: 8MB
9.67 0.00 PrimaryFunction[1] 528 Server memory limit: 384MB
9.67 0.00 PrimaryFunction[1] 529 Memory threshold: 345.6MB (The page load will abort cleanly if this threshold is reached)
**** LINE: 552 -- SECTION: STARTING OUTPUT BUFFER (failure error code = E014) ****
9.68 0.00 PrimaryFunction[1] 560 Output buffer started
**** LINE: 569 -- SECTION: MYSQL CONNECTION (failure error codes = E001, E002, E012) ****
9.68 0.00 PrimaryFunction[1] 590 MySQL server connected
9.68 0.00 PrimaryFunction[1] 591 Global variables configured and page timer started
9.68 0.00 PrimaryFunction[1] 594 MySQL version: 8.0.37
9.68 0.00 PrimaryFunction[1] 597 PHP version: 7.4.33
9.68 0.00 PrimaryFunction[1] 607 .htaccess is configured: Y
9.68 0.00 PrimaryFunction[1] 640 Working directory identified
**** LINE: 642 -- SECTION: LOAD SITE SETTINGS FOR (failure error codes = E002, E005, E013, E014) ****
9.69 0.00 PrimaryFunction[1] 656 Domain found: winchestergigguide.co.uk
9.69 0.00 PrimaryFunction[1] 658 Scheme for winchestergigguide.co.uk: https
9.69 0.00 PrimaryFunction[1] 673 Domain www.winchestergigguide.co.uk initialised successfully - Site ID: 2
9.69 0.00 PrimaryFunction[1] 690 MySQL connection established (character set declared as utf8mb4)
**** LINE: 692 -- SECTION: SET-UP ERROR HANDLING ****
9.69 0.00 PrimaryFunction[1] 694 Configure error handling
9.70 0.00 PrimaryFunction[1] 698 PHP error handler:
9.70 0.00 PHPExceptionHandler[1] 9381 PHPExceptionHandler called from PrimaryFunction on line 701
9.70 0.00 PrimaryFunction[1] 702 PHP exception handler: Function registered
9.70 0.00 PrimaryFunction[1] 706 Emergency stop function: Function registered
9.70 0.00 PrimaryFunction[1] 711 PHP and fatal error handlers set - default error reporting is OFF: error_reporting(0)
9.70 0.00 PrimaryFunction[1] 717 Script continues after user abort: Y (script timeout set to: 29 seconds)
**** LINE: 721 -- SECTION: CHECK GET & POST VARIABLES ****
9.70 0.00 PrimaryFunction[1] 744 URL query string values have been sanitized and stored in an array
    action=Event
    argument1=display
    eventid=1197

9.70 0.00 PrimaryFunction[1] 761 Requested page: Event
9.70 0.00 PrimaryFunction[1] 814 No POST data to process
**** LINE: 829 -- SECTION: PAGE REQUEST - URL ANALYSIS ****
9.70 0.00 PrimaryFunction[1] 846 Requested URL: https://www.winchestergigguide.co.uk/?action=Event&argument1=display&eventid=1197
9.70 0.00 PrimaryFunction[1] 874 Referer: https://www.winchestergigguide.co.uk/?action=DisplayVenue&gighistory=show&venueid=18&gighistoryyear=2011
**** LINE: 889 -- SECTION: INITIALISE ADMIN TABLES (failure error code = E007) ****
9.71 0.04 PrimaryFunction[1] 941 Admin tables initialised: OK
**** LINE: 946 -- SECTION: CHANGE MANAGEMENT / PRODUCTION & DEVELOPMENT ENVIRONMENTS (failure error codes = E003, E004) ****
9.74 0.04 PrimaryFunction[1] 1036 Environment established: Production
9.72 0.09 PrimaryFunction[1] 1088 Created page ID: 16365792
9.73 0.09 PrimaryFunction[1] 1093 SiteVersion: Production build: 5899 | Development build: 5899
9.74 0.09 Functions[3] 12928 Functions called from PrimaryFunction on line 1097 - compile
9.74 0.09 Functions[3] 12930 Compiling function list from table
9.90 0.10 PrimaryFunction[1] 1099 Compiled 273 PHP functions
**** LINE: 1102 -- SECTION: ERROR REPORTING AND DEBUGGING ****
9.90 0.10 PrimaryFunction[1] 1104 The error log is capped at 1000
9.90 0.10 PrimaryFunction[1] 1106 The activity log is capped at 50000
9.90 0.10 PrimaryFunction[1] 1108 E-mail errors limit: 10
9.90 0.10 PrimaryFunction[1] 1109 Alerts e-mailed today: 0
9.90 0.10 PrimaryFunction[1] 1115 Alerts are not snoozed - Alerts will be e-mailed to the developer on file jbroadfield@gmail.com
9.89 0.10 PrimaryFunction[1] 1124 The fatal error status is currently OFF
9.90 0.10 PrimaryFunction[1] 1138 Debugging level: 2 - lower level functions will not be displayed in the debug log (1 is the highest level)
9.90 0.10 PrimaryFunction[1] 1139 Ajax debugging status: OFF
9.90 0.10 PrimaryFunction[1] 1140 DIV debugging status: OFF
9.90 0.10 PrimaryFunction[1] 1141 Query debugging status: OFF
9.90 0.10 PrimaryFunction[1] 1142 Access Token debugging status: OFF
9.90 0.10 PrimaryFunction[1] 1148 Debug file for this page: debugLogs/debug20260928165437448528013.html
9.90 0.10 PrimaryFunction[1] 1189 Initialised user table
**** LINE: 1199 -- SECTION: INITIALISE GIG GUIDE: Winchester Gig Guide (failure error code = E008) ****
9.90 0.13 PrimaryFunction[1] 1240 Town tables initialised successfully
9.90 0.13 PrimaryFunction[1] 1246 Retrieving additional gig guide settings for Winchester Gig Guide:
    Automatic deletion of artists and venues due to inactivity: 6 months
    Flag events for review after: 8 days
    Launch date for Winchester Gig Guide: Saturday 19 December 2009
    Site description: An independent central listing of live music and other events around Winchester

9.90 0.13 SpecialDates[2] 6880 SpecialDates called from PrimaryFunction on line 1254
9.90 0.13 SpecialDates[2] 6883 Load all special dates into memory
9.91 0.13 PrimaryFunction[1] 1256 Special dates (bank holidays etc) loaded into memory
**** LINE: 1267 -- SECTION: HOUSEKEEPING AND BACKUPS ****
9.91 0.13 Housekeeping[2] 43909 Housekeeping called from PrimaryFunction on line 1268
9.92 0.13 PrimaryFunction[1] 1269 Housekeeping configured: Housekeeping configured:
    Keeping files for: 12 months
    Last Housekeeping performed: 2026-09-28 16:20:01
    Last URL Validation queue performed: 2026-09-28 16:45:01
    Last Start Of Day performed: 2026-09-28 00:00:02

9.92 0.13 PrimaryFunction[1] 1272 Last data backup: Monday 28 September 2026 02:30 (CRON)
**** LINE: 1275 -- SECTION: USER LOGIN/LOGOUT ****
9.92 0.13 PrimaryFunction[1] 1301 Bot identified: Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (HTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)
9.92 0.13 SiteLogout[2] 8640 SiteLogout called from PrimaryFunction on line 1386 - checking for a user logout request
9.92 0.13 SiteLogout[2] 8731 No user logout request found
9.92 0.13 PrimaryFunction[1] 1387 Site logout checked
9.92 0.13 SiteLogin[3] 23106 SiteLogin called from PrimaryFunction on line 1388 - checking for a user login request or a logged-in user
9.92 0.13 SiteLogin[3] 23340 This user has self-identified as a bot - no PHP session will be started
9.92 0.13 SiteLogin[3] 23399 No user is currently logged in - returning to primary function
9.92 0.13 PrimaryFunction[1] 1389 Site login checked N
9.92 0.13 PrimaryFunction[1] 1391 No user is logged in
9.92 0.13 PrimaryFunction[1] 1411 Visitor information:
    Current user name: Bot
    Current user ID: Bot
    User level: 0
    IP: 114.119.165.226

**** LINE: 1419 -- SECTION: CHECKING PREVIOUS PAGE ****
9.92 0.13 PrimaryFunction[1] 1421 Checking URL for an originating pageID (pageIDs are used by logged-in users only)
9.92 0.13 PrimaryFunction[1] 1424 The previous page information is not available on this occasion
**** LINE: 1504 -- SECTION: DEVELOPMENT SYSTEM PERMISSION & ERROR HANDLING ****
9.92 0.13 PrimaryFunction[1] 1505 Error reporting (display errors: E_ALL) will be enabled for the Development environment only
**** LINE: 1561 -- SECTION: PROCESS AJAX FORMS ****
9.92 0.13 PrimaryFunction[1] 1576 No Ajax forms to process
**** LINE: 1586 -- SECTION: ERROR SIMULATORS (E006, E009, E010, E011, LOAD DELAY, PHP ERROR & MYSQL ERROR) ****
9.92 0.13 PrimaryFunction[1] 1598 Non-fatal PHP error test: N
9.92 0.13 PrimaryFunction[1] 1609 Non-fatal MySQL error test: N
9.92 0.13 PrimaryFunction[1] 1617 Fatal PHP error test (E006): N
9.92 0.13 PrimaryFunction[1] 1625 Memory exhausted simulation test (E009): N
9.92 0.13 PrimaryFunction[1] 1634 Test fatal loop (E010): N
9.92 0.13 PrimaryFunction[1] 1645 Redirection error test (E011): N
9.92 0.13 PrimaryFunction[1] 1659 Test non-fatal time delay: N
**** LINE: 1665 -- SECTION: HANDLING SITEMAP REQUESTS ****
**** LINE: 1692 -- SECTION: STARTING HTML OUTPUT (DOCTYPE and HEAD) ****
9.92 0.13 PrimaryFunction[1] 1695 Started HTML output
**** LINE: 1704 -- SECTION: LOADING FAVICON ****
9.92 0.13 PrimaryFunction[1] 1709 The favicon file exists guidegraphics/favicon.ico
9.92 0.13 PrimaryFunction[1] 1713 /guidegraphics/favicon.ico
9.92 0.13 PrimaryFunction[1] 1731 Loaded favicon: guidegraphics/favicon.ico
**** LINE: 1735 -- SECTION: SITE KILLSWITCH ****
9.92 0.13 PrimaryFunction[1] 1741 Checking kill switch status for www.winchestergigguide.co.uk: OFF
**** LINE: 1790 -- SECTION: ESTABLISH SSL ****
9.92 0.13 PrimaryFunction[1] 1811 Page is secure (https)
**** LINE: 1815 -- SECTION: HANDLING GENUINE 404 (PAGE NOT FOUND) ERRORS ****
9.92 0.13 PrimaryFunction[1] 1837 Genuine 404 error (.htaccess): N
**** LINE: 1841 -- SECTION: NON-GIG GUIDE SITE HANDLING ****
9.92 0.13 PrimaryFunction[1] 1889 This is a gig guide: no domain diverts are required
**** LINE: 1898 -- SECTION: PAGE VALIDATION - The page validation is performed before header/meta tags are written ****
9.92 0.13 RobotsDecision[1] 4272 RobotsDecision called from PrimaryFunction on line 1927
9.92 0.13 RobotsDecision[1] 4283 Robots decision: noindex,follow
9.92 0.13 RobotsDecision[1] 4284 Robots reason: This URL contains a legacy query string that should not be indexed
9.92 0.13 RobotsDecision[1] 4330 Robots set to: noindex,follow - This URL contains a legacy query string that should not be indexed
9.92 0.13 ** MESSAGE ** Redirect[1] 40154 Redirect called from PrimaryFunction on line 1928
9.92 0.13 Redirect[1] 40200 Redirect reason: Legacy function remapped to modern function - Redirect called from PrimaryFunction line 1928
9.92 0.13 Redirect[1] 40210 http_response_code: 301 - Robots: noindex,follow - This URL contains a legacy query string that should not be indexed
9.92 0.13 Redirect[1] 40252 Performing immediate redirect:
    https://www.winchestergigguide.co.uk/?action=Event&eventAction=display&eventID=1197
    Redirection count: 1 (no more than 2 redirections are permitted to prevent loops occurring)

9.92 0.13 Redirect[1] 40278 Loading Javascript function javascriptRedirect
9.93 0.13 Redirect[1] 40281 Load the ConsoleLog and ConsoleError Javascript functions
9.93 0.13 ConsoleLog[1] 48618 The current user level is: 0
9.93 0.13 ConsoleLog[1] 48619 the current Environment is: Production
9.93 0.13 ConsoleLog[1] 48641 This is is public session in the Production environment - console is disabled
9.93 0.13 ConsoleLog[1] 48648 consoleLog loaded by the Redirect function
9.93 0.13 ConsoleLog[1] 48653 Loading Javascript function consoleLog called from Redirect on line 40282
9.93 0.13 ConsoleLog[1] 48728 Loading Javascript function consoleOffPrompter called from Redirect on line 40282
9.93 0.13 ConsoleError[1] 49182 Is this session public (production, not logged-in)?
9.93 0.13 ConsoleError[1] 49183 currentUserLevel 0
9.93 0.13 ConsoleError[1] 49184 environment Production
9.93 0.13 ConsoleError[1] 49209 This is very much a public session (Production, public user)
9.93 0.13 ConsoleError[1] 49243 Loading Javascript function consoleError called from Redirect on line 40283
9.93 0.13 ErrorWhisperer[1] 48797 Is this session public (production, not logged-in)?
9.93 0.13 ErrorWhisperer[1] 48798 currentUserLevel 0
9.93 0.13 ErrorWhisperer[1] 48799 environment Production
9.93 0.13 ErrorWhisperer[1] 48824 This is very much a public session (Production, public user)
9.93 0.13 ErrorWhisperer[1] 48828 Loading Javascript function errorHandler called from Redirect on line 40284
9.93 0.13 ErrorWhisperer[1] 49067 Loading Javascript function errorWhisperer called from Redirect on line 40284
9.93 0.13 Redirect[1] 40285 redirectReason, put this into the console Legacy function remapped to modern function from PrimaryFunction on line 1928
9.94 0.13 FatalErrorCheck[1] 44990 FatalErrorCheck called from Shutdown on line 68988
**** LINE: 45144 -- SECTION: CHECK FOR FATAL ERRORS ****
9.94 0.13 Shutdown[1] 68989 Fatal error notification system: No fatal errors have occurred within the last hour
9.94 0.13 Shutdown[1] 68993 Shutdown function called as defined on line 104
9.94 0.13 Shutdown[1] 69023 No stray access tokens found (interrupted/incomplete page loads)
**** LINE: 69129 -- SECTION: MASTHEAD INFORMATION ****
9.94 0.13 Shutdown[1] 69566 Masthead not displayed because this page was redirected
**** LINE: 69570 -- SECTION: LOG PAGE ACTIVITY AND CHECK FOR PROBLEMS ****
9.94 0.13 Shutdown[1] 69592 Function review skipped for public users
9.94 0.13 Shutdown[1] 69653 No incidents occurred during this page load
9.94 0.13 Query[4] 39876 Non-mission-critical UPDATE query from line 69705 (includes 3 second timeout)
9.94 0.13 Shutdown[1] 69715 Page activity stored in activity log: Redirecting user - Legacy function remapped to modern function
9.93 0.13 Shutdown[1] 69729 HTML closed: output buffer flushed and ended
9.93 0.13 Shutdown[1] 69776 No Javascript/AJAX (Asynchronous JavaScript And XML) functions were loaded
9.94 0.13 Shutdown[1] 69808 Enable the Access Token debugger via the Toolbox to display the contents of the Access Token
9.96 0.13 Shutdown[1] 69831 There are no Developer Alerts to display
**** LINE: 69833 -- SECTION: SHUTDOWN ****
9.91 0.13 Shutdown[1] 69838 Database closed: no further MySQL updates will be processed
9.91 0.13 Shutdown[1] 69844 Memory peak usage: 24.59MB (threshold: 345.6MB)
9.91 0.13 Shutdown[1] 69848 Total query time: 0.12 seconds (61 queries made)
9.91 0.13 Shutdown[1] 69853 GOODBYE