1<?php use Fisharebest\Webtrees\I18N; ?> 2 3<div class="content"> 4 <p> 5 <?= I18N::translate('Oops! The webserver is unable to connect to the database server. It could be busy, undergoing maintenance, or simply broken. You should <a href="index.php">try again</a> in a few minutes or contact the website administrator.') ?> 6 </p> 7 8 <blockquote> 9 <?= e($error) ?> 10 </blockquote> 11 12 <?= I18N::translate('If you are the website administrator, you should check that:') ?> 13 14 <ol> 15 <li> 16 <?= /* I18N: [you should check that:] ... */ I18N::translate('the database connection settings in the file “/data/config.ini.php” are still correct') ?> 17 </li> 18 <li> 19 <?= /* I18N: [you should check that:] ... */ I18N::translate('the folder “/data” and the file “/data/config.ini.php” have access permissions that allow the webserver to read them') ?> 20 </li> 21 <li> 22 <?= /* I18N: [you should check that:] ... */ I18N::translate('you can connect to the database using other applications, such as phpmyadmin') ?> 23 </li> 24 </ol> 25 26 <p class="good"> 27 <?= I18N::translate('If you cannot resolve the problem yourself, you can ask for help on the forums at <a href="https://webtrees.net">webtrees.net</a>.') ?> 28 </p> 29</div> 30