-
Notifications
You must be signed in to change notification settings - Fork 7
/
error.cfm
54 lines (41 loc) · 1.55 KB
/
error.cfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<cfsetting enablecfoutputonly="true">
<cfprocessingdirective pageencoding="utf-8">
<cfparam name="application.settings.app_title" default="Project Tracker">
<!--- Loads header/footer --->
<cfmodule template="tags/layout.cfm" templatename="main" title="An Error Has Occurred">
<cfoutput>
<div id="container">
<!--- left column --->
<div class="left">
<div class="main">
<div class="header">
<h2 class="alert">An Error Has Occurred</h2>
</div>
<div class="content">
<div class="wrapper">
<cfif not compare(error.message,'Element SETTINGS.APP_TITLE is undefined in APPLICATION.')>
It appears this may be the first time you're running Project Tracker.<br />
-- If so, you should <a href="./install/index.cfm">run the install script</a> in order to setup your database.<br />
-- If not, please check the <strong>dsn</strong> value in your settings file and <strong><a href="#cgi.script_name#?reinit">reinit</a></strong>.<br />
<cfelse>
<cfif application.settings.showError>
#error.diagnostics#
<hr size="1" />
</cfif>
<h5><em>Please try again or contact your administrator.</em></h5>
</cfif>
</div>
</div>
</div>
<div class="bottom"> </div>
<div class="footer">
<cfinclude template="#application.settings.mapping#/footer.cfm">
</div>
</div>
<!--- right column --->
<div class="right">
</div>
</div>
</cfoutput>
</cfmodule>
<cfsetting enablecfoutputonly="false">