summaryrefslogtreecommitdiff
path: root/src/views/pages/users/500.html.php
blob: 339fe63e9491e866885cb7a80f3a56f923540748 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php global $VARS;
require_once('Database.class.php');
$t = $VARS['template'];
$db = Database::getInstance();

$t->status('500 Internal Server Error');
$t->header('Unknown error');
$t->paragraph("An unknown error was encountered when creating ".
              "the user. The username appears to be free, and ".
              "the passwords match, so I'm assuming that the ".
              "error is on our end. Sorry.");
$t->paragraph("Here's a dump of the SQL error stack, it may ".
              "help us find the issue:");
$t->tag('pre', array(), htmlentities($db->mysql_error()));
$t->footer();