Skip to content

Commit

Permalink
Make the error page more informative, and include platform information.
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Aug 8, 2010
1 parent 4e95ec8 commit 0d22379
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions modules/gallery/views/error_admin.html.php
Expand Up @@ -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>
Expand Down Expand Up @@ -144,6 +148,17 @@ function koggle(elem) {
<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">
Expand Down

0 comments on commit 0d22379

Please sign in to comment.