summaryrefslogtreecommitdiff
path: root/modules/gallery/views/error_admin.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-08-08 01:48:09 -0700
committerBharat Mediratta <bharat@menalto.com>2010-08-08 01:48:09 -0700
commit0d2237979a2cc92d707a47115e492bff57fa9c5d (patch)
tree909213870826adb1a8e2af237aea58726b6a1078 /modules/gallery/views/error_admin.html.php
parent4e95ec843a2bef45e044e2aa3a36fcb590d85464 (diff)
Make the error page more informative, and include platform information.
Diffstat (limited to 'modules/gallery/views/error_admin.html.php')
-rw-r--r--modules/gallery/views/error_admin.html.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/gallery/views/error_admin.html.php b/modules/gallery/views/error_admin.html.php
index 40eb7374..5afaa0fe 100644
--- a/modules/gallery/views/error_admin.html.php
+++ b/modules/gallery/views/error_admin.html.php
@@ -102,6 +102,10 @@
.number {
padding-right: 1em;
}
+
+ #g-platform h2 {
+ font-size: 1.1em;
+ }
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title><?= t("Something went wrong!") ?></title>
@@ -144,6 +148,17 @@
<h2>
<?= t("Hey wait, you're an admin! We can tell you stuff.") ?>
</h2>
+ <p>
+ There's an error message below and you can find more details
+ in gallery3/var/logs (look for the file with the most recent
+ date on it). Stuck? Stop by the <a href="http://gallery.menalto.com/forum/96">Gallery 3
+ Forums</a> and ask for help. You can also look at our list
+ of <a href="http://sourceforge.net/apps/trac/gallery/roadmap">open
+ tickets</a> to see if the problem you're seeing has been
+ reported. If you post a request, here's some useful
+ information to include: <? @$block =
+ gallery_block::get("platform_info"); @print $block; ?>
+ </p>
<div id="kohana_error">
<h3>
<span class="type">