Commit 57a6960bed7d4390d2aff914df0ce4b175462c1c
1 parent
eecca626
Exists in
master
#27 by Eriksen: Adicionado arquivo de erro de conexão com o banco de dados
Showing
1 changed file
with
65 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1,65 @@ | @@ -0,0 +1,65 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +/** | ||
| 4 | + * Mostra mensagem de erro de conexão com o banco de dados. | ||
| 5 | + * | ||
| 6 | + * @author Eriksen Costa <eriksen.paixao_bs@cobra.com.br> | ||
| 7 | + * @since 1.0.1 | ||
| 8 | + * @version $Id$ | ||
| 9 | + */ | ||
| 10 | +?> | ||
| 11 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
| 12 | +<html xmlns="http://www.w3.org/1999/xhtml" lang="pt-br" xml:lang="pt-br"> | ||
| 13 | + <head> | ||
| 14 | + <title></title> | ||
| 15 | + <style type="text/css"> | ||
| 16 | + * { | ||
| 17 | + margin: 0; | ||
| 18 | + padding: 0 | ||
| 19 | + } | ||
| 20 | + | ||
| 21 | + body { | ||
| 22 | + align: center; | ||
| 23 | + font-size: 85%; | ||
| 24 | + font-family: verdana, arial, sans-serif; | ||
| 25 | + line-height: 160% | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + div#error { | ||
| 29 | + width: 500px; | ||
| 30 | + position: absolute; | ||
| 31 | + left: 250px; | ||
| 32 | + top: 35px; | ||
| 33 | + border: 1px solid #666 | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + div.content { | ||
| 37 | + padding: 25px | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + h1 { | ||
| 41 | + padding-bottom: 15px | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + ul { | ||
| 45 | + margin-top: 20px; | ||
| 46 | + list-style-position: inside | ||
| 47 | + } | ||
| 48 | + </style> | ||
| 49 | + | ||
| 50 | + </head> | ||
| 51 | + | ||
| 52 | + <body> | ||
| 53 | + <div id="error"> | ||
| 54 | + <div class="content"> | ||
| 55 | + <h1>Erro</h1> | ||
| 56 | + <p>Ocorreu um erro de conexão com o banco de dados.</p> | ||
| 57 | + <ul>Sugestões: | ||
| 58 | + <li>Verifique se o seu banco de dados está corretamente configurado e se o serviço está rodando</li> | ||
| 59 | + <li>Verifique se configurou o i-Educar com os parâmetros corretos de conexão com o banco de dados no arquivo <code>include/clsBanco.inc.php</code></li> | ||
| 60 | + <li><a href="http://svn.softwarepublico.gov.br/trac/ieducar#FAQsetutoriais">Consulte a documentação do i-Educar</a> sobre os procedimentos de instalação da versão desejada</li> | ||
| 61 | + </ul> | ||
| 62 | + </div> | ||
| 63 | + </div> | ||
| 64 | + </body> | ||
| 65 | +</html> | ||
| 0 | \ No newline at end of file | 66 | \ No newline at end of file |