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: Too many connections at p7mj5120fvbf6qbw/default-decorator[line 50, column 10]
Page source:
1: #if ($website.redesign)
2: 
3: ## NEW SITE
4: 
5: #set ($pageClass = "internal-page")
6: #set ($showBookmark = true)
7: 
8: #if ($request.getAttribute("pageClass"))
9:   #set ($pageClass = $request.getAttribute("pageClass"))
10: #end
11: 
12: #if ($request.getAttribute("showBookmark") == false)
13:   #set ($showBookmark = false)
14: #end
15: 
16: <!DOCTYPE html>
17: <!--[if IE 8 ]>    <html lang="en" class="${pageClass} no-js ie8" prefix="og: http://ogp.me/ns#"> <![endif]-->
18: <!--[if IE 9 ]>    <html lang="en" class="${pageClass} no-js ie9" prefix="og: http://ogp.me/ns#"> <![endif]-->
19: <!--[if (gt IE 9)|!(IE)]><!--><html lang="en" class="${pageClass} no-js" prefix="og: http://ogp.me/ns#"><!--<![endif]-->
20: 
21: <head>
22: <meta charset="UTF-8">
23: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
24: <title>$pageTitle</title>
25: 
26: ## OGP META TAGS
27: $!request.setAttribute("pageObj", $page)
28: $website.include("ogp-tags")
29: 
30: <script src="$website.cdn("/info/jquery.js")"></script>
31: <script src="$website.cdn("/info/modernizr.js")"></script>
32: 
33: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
34: <link rel="stylesheet" href="/css/styles.css" type="text/css" />
35: 
36: $website.include("analytics")
37: 
38: $!head
39: </head>
40: 
41: <body>
42: 
43: <div id="page" class="page clearfix">
44: <div class="wrapper clearfix">
45: 
46: ## HEADER
47: $website.include("site-header")
48: 
49: ## SECONDARY NAVIGATION
50: $website.includeAgain("navbar-secondary?tmpl=navbar-template&class=secondary-nav&moreAfter=4")
51: 
52: ## BODY CONTAINER
53: <div class="body-container clearfix">
54: 
55: ## BODY CONTENT
56: <main id="mainbody" class="mainbody clearfix" role="main">
57:     
58: ## RELATED LINKING - 20090930
59: #if (!($request.getAttribute("disable_related_links").length() > 0))
60: #set ($relatedPages = $page.relatedInSchedule)
61: #if ($relatedPages.size() > 1)
62: <div class="page-related-links clearfix">
63:  #foreach ($related in $relatedPages)
64:    #if ($velocityCount > 1) | #end
65:    #if ($related.id == $page.id)
66:       <strong>${related.mapLabel}</strong>
67:    #else
68:       <a href="$related.url" #if ($website.isExternalLink($related.url)) target="_blank" #end>${related.mapLabel}</a>
69:     #end
70:  #end
71: </div>
72: #end ## related > 1
73: #end ## disable
74: 
75: $body
76: 
77: ## BOOK MARK
78: #if ($showBookmark)
79:   $website.include("share-buttons")
80: #end
81: $wiki
82: 
83: </main> ## mainbody
84: </div> ## body-container
85: 
86: ## FOOTER    
87: $website.include("site-footer")
88: 
89: </div> ## wrapper
90: </div> ## page
91: 
92: $!wiki.su
93: 
94: $website.usage
95: $website.include("dropoff-scripts")
96: 
97: </body>
98: </html>
99: 
100: #else
101: 
102: ## OLD SITE
103: 
104: #*
105: ## CLASSIC MOBILE OR IPHONE PLATFORM
106: 	#if ($browser.getMobile() || $browser.getIphone())
107: 		$request.setAttribute("body", $body)
108: 		$request.setAttribute("title", $title)
109: 		$request.setAttribute("page", $page)
110: 		$website.include("mobile-decorator")
111: 	##STANDARD PLATFORM BEGIN
112: 	#else 
113: 	## DEFAULT WEBSITE GOES HERE
114: *#
115: 
116: #set ($pageClass = "internal-page")
117: #set ($showBookmark = true)
118: 
119: #if ($request.getAttribute("pageClass"))
120:   #set ($pageClass = $request.getAttribute("pageClass"))
121: #end
122: 
123: #if ($request.getAttribute("showBookmark") == false)
124:   #set ($showBookmark = false)
125: #end
126: 
127: #set ($pageTitle = $page.title)
128: #if ($request.getAttribute("pageTitle"))
129:   #set ($pageTitle = $request.getAttribute("pageTitle"))
130: #end
131: 
132: <!DOCTYPE html>
133: <!--[if IE 7 ]>    <html lang="en" class="${pageClass} no-js ie7" prefix="og: http://ogp.me/ns#"> <![endif]-->
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: ## OGP META 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/styles2014.css" type="text/css" />
152: 
153: $!head
154: </head>
155: 
156: <body>
157: 
158: <div id="page">
159: 
160: ## HEADER
161: $website.include("site-header")
162: 
163: <div id="wrapper">
164: 
165: ## BODY CONTAINER
166: <div id="body-container" class="clearfix">
167: 
168: ## SECONDARY NAVIGATION
169: $website.includeAgain("navbar-secondary?tmpl=navbar-secondary-template&linksLimit=6")
170: 
171: ## BODY CONTENT
172: <div id="mainbody" class="mainbody clearfix">
173: 
174: ## RELATED LINKING - 20090930
175: #if (!($request.getAttribute("disable_related_links").length() > 0))
176: #set ($relatedPages = $page.relatedInSchedule)
177: #if ($relatedPages.size() > 1)
178: <div class="page-related-links clearfix">
179:  #foreach ($related in $relatedPages)
180:    #if ($velocityCount > 1) | #end
181:    #if ($related.id == $page.id)
182:       <strong>${related.mapLabel}</strong>
183:    #else
184:       <a href="$related.url" #if ($website.isExternalLink($related.url)) target="_blank" #end>${related.mapLabel}</a>
185:     #end
186:  #end
187: </div>
188: #end ## related > 1
189: #end ## disable
190: 
191: $body
192: 
193: ## BOOK MARK
194: #if ($showBookmark)
195:   $website.include("share-buttons")
196: #end
197: $wiki
198: 
199: </div> ## mainbody
200: </div> ## body-container
201: </div> ## wrapper
202: 
203: ## FOOTER    
204: $website.include("site-footer")
205: 
206: </div> ## page
207: 
208: $!wiki.su
209: 
210: ## LAZYLOAD IMAGES
211: <script src="$website.cdn("/info/jquery.lazyload.min.js")"></script>
212: <script>
213: $(function() {
214:   $('.lazy').lazyload();
215: });
216: </script>
217: 
218: $website.usage
219: $website.include("dropoff-scripts")
220: 
221: </body>
222: </html>
223: 
224: #end ## REDESIGN