Join Ultra Draft
mysqli_sql_exception Object
(
    [message:protected] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '&& `season_id`=185' at line 1
    [string:Exception:private] => 
    [code:protected] => 1064
    [file:protected] => /home/leaguejo_dev/public_html/classes/sql_class.php
    [line:protected] => 955
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/sql_class.php
                    [line] => 955
                    [function] => mysqli_query
                )

            [1] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/sql_class.php
                    [line] => 1003
                    [function] => iquery
                    [class] => sql
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/sql_class.php
                    [line] => 1067
                    [function] => query
                    [class] => sql
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/templates/lj/modules/league/payment-old.php
                    [line] => 82
                    [function] => queryItem
                    [class] => sql
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/templates/lj/modules/league/payment.php
                    [line] => 8
                    [args] => Array
                        (
                            [0] => /home/leaguejo_dev/public_html/templates/lj/modules/league/payment-old.php
                        )

                    [function] => require
                )

            [5] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/templates/lj/modules/league/leaguemain.php
                    [line] => 164
                    [args] => Array
                        (
                            [0] => /home/leaguejo_dev/public_html/templates/lj/modules/league/payment.php
                        )

                    [function] => require_once
                )

            [6] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/modules/league/league_class.php
                    [line] => 1246
                    [args] => Array
                        (
                            [0] => /home/leaguejo_dev/public_html/templates/lj/modules/league/leaguemain.php
                        )

                    [function] => include
                )

            [7] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/modules/league/league.php
                    [line] => 32
                    [function] => display
                    [class] => league
                    [type] => ->
                )

            [8] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/module_class.php
                    [line] => 30
                    [args] => Array
                        (
                            [0] => /home/leaguejo_dev/public_html/modules/league/league.php
                        )

                    [function] => include
                )

            [9] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/block_class.php
                    [line] => 105
                    [function] => blockdisplay
                    [class] => module
                    [type] => ->
                )

            [10] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/templates/lj/default/index.php
                    [line] => 116
                    [function] => display
                    [class] => block
                    [type] => ->
                )

            [11] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/page_class.php
                    [line] => 139
                    [args] => Array
                        (
                            [0] => /home/leaguejo_dev/public_html/templates/lj/default/index.php
                        )

                    [function] => include
                )

            [12] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/index.php
                    [line] => 233
                    [function] => display
                    [class] => page
                    [type] => ->
                )

        )

    [previous:Exception:private] => 
    [sqlstate:protected] => 42000
)

SELECT `package_id` FROM `league_players` WHERE `player_id`= && `season_id`=185
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '&& `season_id`=185' at line 1

Login

Sign in with your username or email address
Min 8 characters with mix of letters and numbers

Forgot password? Click Here

No Account? Register Here.

Registration Fees

104 185

Debug Information


Request Variables

var = ultra

varb = miken-easton-worth-series

varc = johnsoncity-2024

vard = payment

vare = addon

vara =

view_var = ultra

view_varb = miken-easton-worth-series

view_varc = johnsoncity-2024

view_vard = payment

view_vare = addon

view_varf =

view_varg =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: 03a023ecff21712373ece9e456ec1ca8

Login Type:

BASE:: ultra

FULL LINK:: ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon

Page ID: 57

Page ID:: 57

Page Template:: lj

Template Layout:: default

Headers: : Loading page header code

Active Blocks: Array ( [0] => [1] => [2] => 1 [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => )

Block Types: Array ( [0] => [1] => [2] => Array ( [0] => module ) [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => )

Element ID: Array ( [0] => [1] => [2] => Array ( [0] => 10 ) [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => )

Admin Login Level: :

Footer: : Loading page footer code


Session Variables

securetoken = 03a023ecff21712373ece9e456ec1ca8
fullstate =


Cookie Variables

fikker-61vm-nk2N = MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E
fikker-TwKq-jUtu = HMpCJGMNPNtu0qVkKQHSleP9vYHoJUjg


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/
QUERY_STRING = var=ultra&varb=miken-easton-worth-series&varc=johnsoncity-2024&vard=payment&vare=addon
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=ultra&varb=miken-easton-worth-series&varc=johnsoncity-2024&vard=payment&vare=addon
REDIRECT_URL = /ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/
REMOTE_PORT = 47130
SCRIPT_FILENAME = /home/leaguejo_dev/public_html/index.php
SERVER_ADMIN = support@aod.net
CONTEXT_DOCUMENT_ROOT = /home/leaguejo_dev/public_html
CONTEXT_PREFIX =
REQUEST_SCHEME = https
DOCUMENT_ROOT = /home/leaguejo_dev/public_html
REMOTE_ADDR = 18.191.120.114
SERVER_PORT = 443
SERVER_ADDR = 162.248.190.150
SERVER_NAME = netstuffersdev1.com
SERVER_SOFTWARE = Apache
SERVER_SIGNATURE =
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST = netstuffersdev1.com
HTTP_REFERER = https://netstuffersdev1.com/ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_COOKIE = fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E; fikker-TwKq-jUtu=HMpCJGMNPNtu0qVkKQHSleP9vYHoJUjg
HTTP_USER_AGENT = Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT = */*
proxy-nokeepalive = 1
SSL_TLS_SNI = netstuffersdev1.com
HTTPS = on
SCRIPT_URI = https://netstuffersdev1.com/ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/
SCRIPT_URL = /ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/
UNIQUE_ID = ZuuDzYYPYX3mW8l5hvparAAAAIM
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/
REDIRECT_SCRIPT_URL = /ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/
REDIRECT_UNIQUE_ID = ZuuDzYYPYX3mW8l5hvparAAAAIM
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1726710733.1661
REQUEST_TIME = 1726710733


SQL Queries


Total Queries: 76
Total Execution Time: 16.1068ms
Avg Execution Time:0.21193157894737ms

QUERY(1.2321ms) - INSERT INTO security_log (domain,username, log_date, log_time, method, page, ip, address, browser, getvars, postvars, sessionvars,badlogin,userlogin,timestamp) VALUES ('.netstuffersdev1.com','','2024-09-19', '01:52:13', 'GET', '/ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/', '18.191.120.114', 'https://netstuffersdev1.com/ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhemg3eUdkdTVWdlU1bytuQTkxZmM2Y1VzQXNmTVA4dVQwVU1ibWYwbEFUQ3ozZjc0RDZnZVc4SlNQRWppV1dKc1NDZ1lhUDh5ZlRQczJuVFk3YkNKRTM=','0','','1726710733') ON DUPLICATE KEY UPDATE `ip`=`ip`

QUERY(0.4919ms) - SELECT SQL_CACHE `end_timestamp` FROM `security_locks` WHERE ((`who`='18.191.120.114' && `which`='IP'))

QUERY(0.212ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/'

QUERY(0.17ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon' ORDER BY `domain`='1' DESC,`domain` ASC

QUERY(0.314ms) - SELECT SQL_CACHE `id`,`layout`,`light`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='ultra' ORDER BY `domain`='1' DESC,`domain` ASC

QUERY(0.1578ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay`,`customize` FROM `pages` WHERE `id`='57'

QUERY(0.16ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='userprofiles'

QUERY(0.1299ms) - SELECT * FROM userprofiles_config

QUERY(0.1659ms) - SELECT SQL_CACHE `name` FROM `states` WHERE `abbr`='' LIMIT 0,1

QUERY(0.155ms) - SELECT SQL_CACHE title,metakeys,metadescript,seomodule,seotitlefield,seodescfield,seotitletable,seodesctable,urllinkfield FROM pages WHERE `id`='57' && `domain`='1'

QUERY(0.1628ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.2298ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.3939ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`url` = 'miken-easton-worth-series' LIMIT 0,1

QUERY(0.1678ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.4311ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`url` = 'johnsoncity-2024' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.145ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.0989ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=1026 LIMIT 0,1

QUERY(0.118ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit` FROM `league_custom_content` WHERE `league_id`=104 && `season_id`=185 LIMIT 0,1

QUERY(0.1428ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=104 && `season_id`=185 LIMIT 0,1

QUERY(0.149ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=185 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.138ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='185' LIMIT 0,1

QUERY(0.2241ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='104' && (`season_id`='185' || `season_id`=0)

QUERY(0.16ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=104 && `season_id`=0) || `season_id`='185'

QUERY(1.2081ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='185' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.2401ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='185' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.4902ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='104' && `season_id`='185' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.1409ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='104' || `season_id`='185' ORDER BY `season_id` DESC

QUERY(0.138ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='104' && `season_id`='185'

QUERY(0.1512ms) - SELECT SQL_CACHE count(`product_id`) FROM `products` WHERE `season_id`='185'

QUERY(0.2251ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons` WHERE `league_id`='104'

QUERY(0.3722ms) - SELECT SQL_CACHE count(`season_id`) FROM `triumphs_awarded` WHERE `league_id`='104'

QUERY(0.124ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=104&&`season_id`=185 LIMIT 0,1

QUERY(0.1249ms) - SELECT SQL_CACHE `division_id` FROM `league_divisions` WHERE `league_id`=104&&`season_id`=185 LIMIT 0,1

QUERY(0.181ms) - SELECT `game_id` FROM `games` WHERE `league_id`=104&&`season_id`=185&&`playoff`=1 LIMIT 0,1

QUERY(0.2222ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=185 LIMIT 0,1

QUERY(0.2248ms) - SELECT SQL_CACHE `league_teams`.`team_id` FROM `league_teams` INNER JOIN `teams` ON `league_teams`.`team_id`=`teams`.`team_id` WHERE `league_teams`.`league_id`='104' && `league_teams`.`season_id`='185' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.144ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='104' && `season_id`='185'

QUERY(0.1969ms) - SELECT SQL_CACHE `leagues`.`max_players` AS `league_max`, `league_seasons`.`max_players` AS `season_max` FROM `leagues` INNER JOIN `league_seasons` ON `leagues`.`league_id`=`league_seasons`.`league_id` WHERE `leagues`.`league_id`='104' && `league_seasons`.`season_id`='185'

QUERY(0.102ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=185 LIMIT 0,1

QUERY(0.0892ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=185

QUERY(1.0428ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('104','185',0,0,0,'146',0,'3','3',0,0,0,'1','17',0,0,'1',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='104',`season_id`='185',`articles`=0,`participants`=0,`conferences`=0,`players`='146',`coaches`=0,`subs`='3',`rules`='3',`teams`=0,`games`=0,`groups`=0,`divisions`='1',`seasons`='17',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`=0,`hotels`=0,`is_full`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

QUERY(0.1471ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=185 LIMIT 0,1

QUERY(0.196ms) - SELECT SQL_CACHE `code` FROM `page_headers` WHERE (`domain`=1||domain_global=1) && (`include` LIKE '%:57:%' || (`global`=1 && `exclude` NOT LIKE '%:57:%') ) ORDER BY `id` ASC

QUERY(0.1159ms) - SELECT `offset` FROM `zone` WHERE `zone_name`='America/Indianapolis'

QUERY(0.1791ms) - SELECT count(`league_id`) FROM `league_players` WHERE `player_id`=''

QUERY(0.15ms) - SELECT SQL_CACHE `block_id`,`element_id`,`function_id`,`type` FROM `blocks` WHERE `page_id`='57' ORDER BY `order` ASC

QUERY(0.124ms) - select SQL_CACHE codename,classname,scriptname from modules WHERE `id`='10'

QUERY(0.1311ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.1142ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.1528ms) - SELECT `company`.*,`img_url` FROM `company` INNER JOIN `photo` ON `photo`.`photo_id`=`company`.`logo_onwhite` WHERE `company_id`=8

QUERY(0.1349ms) - SELECT `sport_id` FROM `sports` WHERE `name_url`='miken-easton-worth-series'

QUERY(0.2ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.0939ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.103ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.1211ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.097ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.0932ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.0951ms) - SELECT `hall_of_fame` FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='185' LIMIT 0,1

QUERY(0.15ms) - SELECT * FROM `league_notices` WHERE `league_id`=104 && `season_id`=185

QUERY(0.2902ms) - SELECT SQL_CACHE `standings_id` FROM `standings` WHERE `season_id`=185 LIMIT 0,1

QUERY(0.1371ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='company'

QUERY(0.0889ms) - SELECT SQL_CACHE * FROM company_config

QUERY(0.1929ms) - SELECT * FROM `league_custom_content` WHERE `season_id`=185

QUERY(0.1469ms) - SELECT * FROM `league_merch` WHERE `season_id`=185

QUERY(0.1209ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.0939ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.104ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='payments'

QUERY(0.1118ms) - SELECT SQL_CACHE * FROM payments_config

QUERY(0.155ms) - SELECT `package_id` FROM `league_players` WHERE `player_id`= && `season_id`=185

QUERY(0.1841ms) - SELECT `package_id` FROM `league_players` WHERE `player_id`=0 && `season_id`=185

QUERY(0.107ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='payments'

QUERY(0.078ms) - SELECT SQL_CACHE * FROM payments_config

QUERY(0.1571ms) - SELECT `fee` FROM `league_seasons` WHERE `season_id`='185'

QUERY(0.1431ms) - SELECT `gate_fee`,`name`,`coolers` FROM `venues` WHERE `venue_id`=67

QUERY(0.231ms) - SELECT * FROM `league_custom_content` WHERE `league_id`='104' && `season_id`='185'

QUERY(0.1991ms) - SELECT SQL_CACHE `code` FROM `page_footers` WHERE (`domain`=1||domain_global=1) && (`include` LIKE '%:57:%' || (`global`=1 && `exclude` NOT LIKE '%:57:%') ) ORDER BY `id` ASC