Skip to navigation Skip to content Skip to footer
There was a problem with a Velocity script
Page/default-decorator
ErrorInvocation of method 'includeAgain' in class com.prestosports.render.ContentEngineInvoker threw exception javax.servlet.ServletException: javax.servlet.ServletException: java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed. at 7lgvz9b60087hs39/default-decorator[line 52, column 10]
Page source:
1: #if ($website.redesign)
2: ## NEW CODE
3: 
4: 
5: 
6: #set ($pageClass = "internal-page")
7: #set ($showBookmark = true)
8: 
9: #if ($request.getAttribute("pageClass"))
10:   #set ($pageClass = $request.getAttribute("pageClass"))
11: #end
12: 
13: #if ($request.getAttribute("showBookmark") == false)
14:   #set ($showBookmark = false)
15: #end
16: 
17: <!DOCTYPE html>
18: <!--[if IE 8 ]>    <html lang="en" class="${pageClass} no-js ie8" prefix="og: http://ogp.me/ns#"> <![endif]-->
19: <!--[if IE 9 ]>    <html lang="en" class="${pageClass} no-js ie9" prefix="og: http://ogp.me/ns#"> <![endif]-->
20: <!--[if (gt IE 9)|!(IE)]><!--><html lang="en" class="${pageClass} no-js" prefix="og: http://ogp.me/ns#"><!--<![endif]-->
21: 
22: <head>
23: <meta charset="UTF-8">
24: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
25: <title>$pageTitle</title>
26: 
27: ## OGP META TAGS
28: $!request.setAttribute("pageObj", $page)
29: $website.include("ogp-tags")
30: 
31: <script src="$website.cdn("/info/jquery.js")"></script>
32: <script src="$website.cdn("/info/modernizr.js")"></script>
33: 
34: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
35: <link rel="stylesheet" href="/css/styles.css?t=${now.time}" type="text/css" />
36: 
37: $website.include("analytics")
38: $website.include("analytics-google")
39: 
40: $!head
41: </head>
42: 
43: <body>
44: 
45: <div id="page" class="page clearfix">
46: <div class="wrapper clearfix">
47: 
48: ## HEADER
49: $website.include("site-header")
50: 
51: ## SECONDARY NAVIGATION
52: $website.includeAgain("navbar-secondary?class=secondary-nav&moreAfter=8")
53: 
54: ## BODY CONTAINER
55: <div class="body-container clearfix">
56: 
57: ## BODY CONTENT
58: <main id="mainbody" class="mainbody clearfix" role="main">
59:     
60: ## RELATED LINKING - 20090930
61: #if (!($request.getAttribute("disable_related_links").length() > 0))
62: #set ($relatedPages = $page.relatedInSchedule)
63: #if ($relatedPages.size() > 1)
64: <div class="page-related-links clearfix">
65:  #foreach ($related in $relatedPages)
66:    #if ($velocityCount > 1) | #end
67:    #if ($related.id == $page.id)
68:       <strong>${related.mapLabel}</strong>
69:    #else
70:       <a href="$related.url" #if ($website.isExternalLink($related.url)) target="_blank" #end>${related.mapLabel}</a>
71:     #end
72:  #end
73: </div>
74: #end ## related > 1
75: #end ## disable
76: 
77: $body
78: 
79: ## BOOK MARK
80: #if ($showBookmark)
81:   $website.include("share-buttons")
82: #end
83: $wiki
84: 
85: </main> ## mainbody
86: </div> ## body-container
87: 
88: ## FOOTER    
89: $website.include("site-footer")
90: 
91: </div> ## wrapper
92: </div> ## page
93: 
94: $!wiki.su
95: 
96: $website.usage
97: $website.include("dropoff-scripts")
98: 
99: ## ADDONS
100: <script src="/js/addons.js"></script>
101: 
102: </body>
103: </html>
104: 
105: 
106: 
107: #else
108: ## OLD CODE
109: 
110: 
111: 
112: #set ($pageURL = $request.getRequestURI())
113: #set ($pageClass = "internal-page")
114: #set ($showBookmark = true)
115: 
116: #if ($pageURL.contains("/guide"))
117:   #set ($pageClass = "internal-page guide-page")
118: #end
119: 
120: #if ($request.getAttribute("pageClass"))
121:   #set ($pageClass = $request.getAttribute("pageClass"))
122: #end
123: 
124: #if ($request.getAttribute("showBookmark") == false)
125:   #set ($showBookmark = false)
126: #end
127: 
128: #set ($pageTitle = $page.title)
129: #if ($request.getAttribute("pageTitle"))
130:   #set ($pageTitle = $request.getAttribute("pageTitle"))
131: #end
132: 
133: <!DOCTYPE html>
134: <!--[if IE 8 ]>    <html lang="en" class="${pageClass} no-js ie8" prefix="og: http://ogp.me/ns#"> <![endif]-->
135: <!--[if IE 9 ]>    <html lang="en" class="${pageClass} no-js ie9" prefix="og: http://ogp.me/ns#"> <![endif]-->
136: <!--[if (gt IE 9)|!(IE)]><!--><html lang="en" class="${pageClass} no-js" prefix="og: http://ogp.me/ns#"><!--<![endif]-->
137: 
138: <head>
139: <meta charset="UTF-8">
140: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
141: <title>#if ($pageTitle.length() > 0)$pageTitle - #end $website.profile.siteName</title>
142: 
143: ## OPEN GRAPH TAGS
144: $!request.setAttribute("pageObj", $page)
145: $website.include("ogp-tags")
146: 
147: <script src="$website.cdn("/info/jquery.js")"></script>
148: <script src="$website.cdn("/info/modernizr.js")"></script>
149: 
150: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
151: <link rel="stylesheet" href="/css/live.css" type="text/css" />
152: 
153: <!--[if lt IE 9]>
154: 	<script src="/js/mediaqueries.js"></script>
155: <![endif]-->
156: 
157: $!head
158: </head>
159: 
160: <body>
161: 
162: <div id="page" class="page clearfix">
163: <div id="wrapper" class="wrapper clearfix">
164: 
165: ## HEADER
166: $website.include("site-header")
167: 
168: #if (!$pageClass.contains('guide-home') && !$pageClass.contains('guide-page'))
169: 
170: ## TOP SPONSORS
171: #if (!$pageClass.contains('site-home')) $website.include("navbar-banner-sponsors?tmpl=collapsible-ad-template") #end
172: 
173: #if ($website.exists('countdown-include'))
174: $website.include("countdown-include")
175: #end
176: 
177: ## SECONDARY NAVIGATION
178: $website.includeAgain("navbar-secondary?class=secondary-nav&moreAfter=4")
179: 
180: ## AB SPOT
181: <div class="ad-spot-wrapper">
182: 
183:   ## BANNER 160 x 600
184:   <div class="banner-160-600">$website.include("navbar-left-ad?tmpl=slider-template-v2&renderer=images-slider-template&vertical=true&id=left-ad")</div>
185: 
186:   ## BANNER 160 x 600
187:   <div class="banner-160-600">$website.include("navbar-right-ad?tmpl=slider-template-v2&renderer=images-slider-template&vertical=true&id=right-ad")</div>
188: 
189: </div>
190: 
191: #end ## guide page
192: 
193: ## BODY CONTAINER
194: <div id="body-container" class="body-container clearfix">
195: 
196: ## BODY CONTENT
197: <div id="mainbody" class="mainbody clearfix">
198: 
199: ## RELATED LINKING - 20090930
200: #if (!($request.getAttribute("disable_related_links").length() > 0))
201: #set ($relatedPages = $page.relatedInSchedule)
202: #if ($relatedPages.size() > 1)
203: <div class="page-related-links clearfix">
204:  #foreach ($related in $relatedPages)
205:    #if ($velocityCount > 1) | #end
206:    #if ($related.id == $page.id)
207:       <strong>${related.mapLabel}</strong>
208:    #else
209:       <a href="$related.url" #if ($website.isExternalLink($related.url)) target="_blank" #end>${related.mapLabel}</a>
210:     #end
211:  #end
212: </div>
213: #end ## related > 1
214: #end ## disable
215: 
216: 
217: $body
218: 
219: #if ($pageURL.contains("/guide"))
220:   $website.include("navbar-guide?tmpl=guide-slider-template-v2&columnCount=2&id=guide-links-slider&auto=false&circular=false")
221: #end
222: 
223: ## BOOK MARK
224: #if ($showBookmark)
225:   $website.include("share-buttons")
226: #end
227: 
228: $wiki
229: 
230: </div> ## mainbody
231: </div> ## body-container
232: 
233: ## FOOTER    
234: $website.include("site-footer")
235: 
236: </div> ## wrapper
237: </div> ## page
238: 
239: ## STICKY BAR
240: $website.include("sticky-bar")
241: 
242: ## BACKGROUNDS
243: #if ($pageURL.contains('/guide'))
244:   $website.include("page-backgrounds?tmpl=background-script&id=page-backgrounds")
245: #end
246: 
247: $!wiki.su
248: 
249: ## LAZYLOAD IMAGES
250: <script src="$website.cdn("/info/jquery.lazyload.min.js")"></script>
251: <script>
252: $(function() {
253:   $('.lazy').lazyload();
254: });
255: </script>
256: 
257: $website.usage
258: $website.include("dropoff-scripts")
259: 
260: </body>
261: </html>
262: 
263: #end
264: ## END OF NEW CODE