Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

add a check for existence of PHP mysql database driver #1303

Merged
merged 3 commits into from

2 participants

@lieryan

If the php5-mysql driver wasn't installed, pyrocms installation failed with an unhelpful blank page after posting the database detail on step_1. This commit adds a message to notify the user of that, therefore it's futile to continue installation until it's resolved. Also adds a check on the form submission.

@petsagouris petsagouris commented on the diff
installer/language/english/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Database Settings';
$lang['db_text'] = 'PyroCMS requires a database (MySQL) to store all of your content and settings, so the first thing we need to do is check if the database connection details are ok. If you do not understand what you are being asked to enter please ask your web hosting provider or server administrator for the details.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.';

Please add this (the English one) string into every the language file for every language append #translate after it so that the translators now that it must be translated. If it exists only in the English lang it will be impossible for others to know that there is something to translate, plus it will produce an error if the language key is not in the loaded file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@petsagouris

The #translate is not on every line on the files for the other languages. Sorry for being like that, but it will be better for everyone. Please go over the diff on this pull request to find the lines missing the comment quicker ;)

@lieryan

@petsagouris fixed now

@petsagouris petsagouris merged commit 4a7b46d into pyrocms:2.1/develop
@petsagouris

Cheers mate ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 6, 2012
  1. @lieryan
Commits on Apr 9, 2012
  1. @lieryan
Commits on Apr 10, 2012
  1. @lieryan
This page is out of date. Refresh to see the latest.
Showing with 60 additions and 19 deletions.
  1. +5 −0 installer/controllers/installer.php
  2. +2 −1  installer/language/arabic/step_1_lang.php
  3. +1 −0  installer/language/brazilian/step_1_lang.php
  4. +1 −0  installer/language/chinese_traditional/step_1_lang.php
  5. +2 −1  installer/language/czech/step_1_lang.php
  6. +2 −1  installer/language/danish/step_1_lang.php
  7. +2 −1  installer/language/dutch/step_1_lang.php
  8. +2 −1  installer/language/english/step_1_lang.php
  9. +2 −1  installer/language/finnish/step_1_lang.php
  10. +2 −1  installer/language/french/step_1_lang.php
  11. +3 −0  installer/language/german/step_1_lang.php
  12. +2 −1  installer/language/greek/step_1_lang.php
  13. +2 −1  installer/language/hungarian/step_1_lang.php
  14. +1 −0  installer/language/indonesian/step_1_lang.php
  15. +1 −0  installer/language/italian/step_1_lang.php
  16. +2 −1  installer/language/lithuanian/step_1_lang.php
  17. +2 −1  installer/language/polish/step_1_lang.php
  18. +2 −1  installer/language/portuguese/step_1_lang.php
  19. +1 −0  installer/language/russian/step_1_lang.php
  20. +1 −0  installer/language/slovenian/step_1_lang.php
  21. +1 −0  installer/language/spanish/step_1_lang.php
  22. +2 −1  installer/language/swedish/step_1_lang.php
  23. +2 −1  installer/language/vietnamese/step_1_lang.php
  24. +13 −4 installer/libraries/installer_lib.php
  25. +4 −1 installer/views/step_1.php
View
5 installer/controllers/installer.php
@@ -181,6 +181,11 @@ public function validate_mysql_db_name($db_name)
*/
public function test_db_connection()
{
+ if ( ! $this->installer_lib->mysql_available())
+ {
+ $this->form_validation->set_message('test_db_connection', lang('db_missing'));
+ return false;
+ }
if ( ! $this->installer_lib->test_db_connection())
{
$this->form_validation->set_message('test_db_connection', lang('db_failure') . mysql_error());
View
3  installer/language/arabic/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'إعدادات قاعدة البيانات';
$lang['db_text'] = 'كي يتمكن برنامج التثبيت من التحقق من إصدار خادم MySQL يجب عليك إدخال بيانات اسم المضيف، وإسم المستخدم وكلمة السرّ في الاستمارة أدناه. ستستخدم هذه الإعدادات عند تثبيت قاعدة البيانات.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'الخادم';
$lang['username'] = 'إسم المستخدم';
@@ -23,4 +24,4 @@
$lang['db_success'] = 'تم اختبار إعدادات قاعدة البيانات بنجاح.';
$lang['db_failure'] = 'حدثت مشكلة في الاتصال بقاعدة البيانات: ';
-/* End of file step_1_lang.php */
+/* End of file step_1_lang.php */
View
1  installer/language/brazilian/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Banco de Dados';
$lang['db_text'] = 'Em seguida vamos verificar a versão do seu MySQL e antes disso é necessário que você informe o nome do servidor, usuário e senha de acesso no formulário abaixo. Estas configurações também serão utilizadas para criar e instalar um novo banco de dados na 4ª etapa.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'Host';
$lang['username'] = 'Usuário';
View
1  installer/language/chinese_traditional/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = '資料庫設定';
$lang['db_text'] = '為了讓安裝程式能夠檢查您的 MySQL 伺服器版本,需要您輸入下列資料,這些資料稍後也會用來安裝資料庫。';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'MySQL 伺服器';
$lang['username'] = '帳號';
View
3  installer/language/czech/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Nastavení databáze';
$lang['db_text'] = 'Aby mohl instalátor zkontrolovat váš MySQL server, musíte vložit adresu serveru, uživatelské jméno a heslo. Toto nastavení bude použito i při instalaci databáze.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'Server';
$lang['username'] = 'Uživatelské jméno';
@@ -23,4 +24,4 @@
$lang['db_success'] = 'Nastavení databáze bylo ověřeno a pracuje správně';
$lang['db_failure'] = 'Problém s připojením k databázi: ';
-/* End of file step_1_lang.php */
+/* End of file step_1_lang.php */
View
3  installer/language/danish/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Database Indstillinger';
$lang['db_text'] = 'For at installeren skal kunne tjekke din MySQL server version er det påkrævet at du indtaster hostnavn, brugernavn og kodeord i formularen nedenfor. Disse instillinger vil også blive brugt til installering af databasen.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'Server';
$lang['username'] = 'Brugernavn';
@@ -22,4 +23,4 @@
$lang['db_success'] = 'Databaseindstillingerne er testet, og fungerer.';
$lang['db_failure'] = 'Problem med at forbinde til databasen: ';
-/* End of file step_1_lang.php */
+/* End of file step_1_lang.php */
View
3  installer/language/dutch/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Database Instellingen';
$lang['db_text'] = 'Om de MySQL versie te controleren is het nodig om de naam, de gebruikersnaam en het password van de server in te vullen in het onderstaande formulier. Deze instellingen zullen ook gebruikt worden voor het installeren van de database.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'Server naam';
$lang['username'] = 'Gebruikersnaam';
@@ -22,4 +23,4 @@
$lang['db_success'] = 'De database instellingen zijn getest en werken.';
$lang['db_failure'] = 'Er heeft zich een probleem voorgedaan tijdens het verbinden met de database: ';
-/* End of file step_1_lang.php */
+/* End of file step_1_lang.php */
View
3  installer/language/english/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Database Settings';
$lang['db_text'] = 'PyroCMS requires a database (MySQL) to store all of your content and settings, so the first thing we need to do is check if the database connection details are ok. If you do not understand what you are being asked to enter please ask your web hosting provider or server administrator for the details.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.';

Please add this (the English one) string into every the language file for every language append #translate after it so that the translators now that it must be translated. If it exists only in the English lang it will be impossible for others to know that there is something to translate, plus it will produce an error if the language key is not in the loaded file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
$lang['server'] = 'MySQL Hostname';
$lang['username'] = 'MySQL Username';
@@ -23,4 +24,4 @@
$lang['db_success'] = 'The database settings are tested and working fine.';
$lang['db_failure'] = 'Problem connecting to the database: ';
-/* End of file step_1_lang.php */
+/* End of file step_1_lang.php */
View
3  installer/language/finnish/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Tietokanta asetukset';
$lang['db_text'] = 'PyroCMS vaatii tietokannan (MySQL) tallentaakseen kaikki sisällöt ja asetukset, joten tarkistamme nyt että tietokanta yhteys on kunnossa. Jos et ymmärrä mistä on kysymys, niin kysy tiedot palveluntarjoajaltasi.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'MySQL palvelin';
$lang['username'] = 'MySQL käyttäjätunnus';
@@ -23,4 +24,4 @@
$lang['db_success'] = 'Tietokanta asetukset on testattu ja toimii.';
$lang['db_failure'] = 'Tietokannan yhteydessä tapahtui virhe: ';
-/* End of file step_1_lang.php */
+/* End of file step_1_lang.php */
View
3  installer/language/french/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Paramètres de la base de données';
$lang['db_text'] = 'PyroCMS requiert une base de données (MySQL) pour stocker vos contenus et paramètres. Nous devons vérifier votre version du serveur MySQL, vous devez saisir le nom d\'hôte, le nom d\'utilisateur et le mot de passe dans le formulaire ci-dessous. Ces paramètres seront également utilisés lors de l\'installation de la base de données. Si vous ne comprenez pas les informations demandées merci de contacter votre hébergeur ou votre administrateur système pour les obtenir.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'Nom d\'hôte';
$lang['username'] = 'Nom d\'utilisateur';
@@ -23,4 +24,4 @@
$lang['db_failure'] = 'Problème de connexion à la base de données : ';
-/* End of file step_1_lang.php */
+/* End of file step_1_lang.php */
View
3  installer/language/german/step_1_lang.php
@@ -3,8 +3,11 @@
// labels
$lang['header'] = 'Schritt 1: Server- und Datenbank-Konfiguration';
$lang['intro_text'] = 'Bevor die Verbindung zur Datenbank getestet werden kann, werden einige genauere Details benötigt.';
+
$lang['db_settings'] = 'Einstellung der Datenbank';
$lang['db_text'] = 'Um die Version der mySQL-Datenbank zu überprüffen, geben Sie bitte im nachfolgenden Formular den Hostnamen, den Benutzernamen und das Passwort des MySQL-Servers an. Diese Einstellungen werden ebenfalls zur Installation vom PyroCMS benötigt.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
+
$lang['server'] = 'Host';
$lang['username'] = 'Benutzername';
$lang['password'] = 'Passwort';
View
3  installer/language/greek/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Παραμέτροι Βάσης Δεδομένων';
$lang['db_text'] = 'Για να μπορέσει το πρόγραμμα εγκατάστασης την έκδοση του διακομιστή MySQL σας απαιτείται η εισαγωγή του hostname, του ονόματος χρήστη και του κωδικού πρόσβασης στην παρακάτω φόρμα. Αυτές οι παραμέτροι θα χρησιμοποιηθούν και κατά την εγκατάσταση της βάσης δεδομένων.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'Hostname';
$lang['username'] = 'Όνομα χρήστη';
@@ -23,4 +24,4 @@
$lang['db_success'] = 'Οι παραμέτροι της βάσης δεδομένων ελέγχθηκαν και δουλεύουν μια χαρά.';
$lang['db_failure'] = 'Πρόβλημα κατά την σύνδεση με την βάση δεδομένων: ';
-/* End of file step_1_lang.php */
+/* End of file step_1_lang.php */
View
3  installer/language/hungarian/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Adatbázis beállítások';
$lang['db_text'] = 'PyroCMS-hez szükség van egy adatbázisra (MySQL), ami tárolja az összes tartalmat és beállítást. Tehát elsőként ezt kell ellenőriznünk, hogy minden adatbázis beállitás rendben van-e. Ha nem tudod, hogy mit kell megadni, akkor kérd el az adatokat a tárhelyszolgáltatódtól vagy a szerver adminisztrátorától!';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'MySQL Szerver név (hostname)';
$lang['username'] = 'MySQL Felhasználónév';
@@ -23,4 +24,4 @@
$lang['db_success'] = 'Az adatbázis beállítások tesztelve lettek és jól működnek.';
$lang['db_failure'] = 'Nem lehetett csatlakozni az adatbázishoz: ';
-/* End of file step_1_lang.php */
+/* End of file step_1_lang.php */
View
1  installer/language/indonesian/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Pengaturan Database';
$lang['db_text'] = 'PyroCMS memerlukan database (MySQL) untuk menyimpan semua konten dan pengaturan, jadi yang pertama kita butuhkan adalah mengecek apakah koneksi database berjalan lancar. Apabila Anda tidak mengerti apa yang kami minta Anda untuk mengisi silakan tanya kepada penyedia layanan hosting Anda atau server administrator untuk lebih detailnya.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'MySQL Hostname';
$lang['username'] = 'MySQL Username';
View
1  installer/language/italian/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Impostazioni del Database';
$lang['db_text'] = 'Per verificare la versione del tuo server MySQL devi inserire hostname, username e password nel modulo sottostante. Questi parametri saranno inoltre usati per installare il database.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'Server';
$lang['username'] = 'Username';
View
3  installer/language/lithuanian/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Duomenų bazės nustatymai';
$lang['db_text'] = 'Kad instaliavimo vedlys galetu patikrinti MySQL serverio versija, privalote irašyti adresą, vartotoją bei slaptažodi. Šie duomenys taip pat bus naudojami irašant duomenų bazę.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'Serveris';
$lang['username'] = 'Vartotojas';
@@ -22,4 +23,4 @@
$lang['db_success'] = 'Duomenų bazės nustatymai buvo sėkmingai patikrinti.';
$lang['db_failure'] = 'Problema susijungiant su duomenu baze:: ';
-/* End of file step_1_lang.php */
+/* End of file step_1_lang.php */
View
3  installer/language/polish/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Konfiguracja bazy danych';
$lang['db_text'] = 'Instalator potrzebuje nazwy serwera bazy danych MySQL, nazwę użytkownika i hasło. Dane te będą wykorzystane do zainstalowania PyroCMS.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'Serwer';
$lang['username'] = 'Użytkownik';
@@ -20,4 +21,4 @@
// messages
$lang['db_success'] = 'Konfiguracja bazy danych została przetestowana i działa w porządku.';
-$lang['db_failure'] = 'Nie można połączyć się z bazą danych: ';
+$lang['db_failure'] = 'Nie można połączyć się z bazą danych: ';
View
3  installer/language/portuguese/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Base de Dados';
$lang['db_text'] = 'Em seguida vamos verificar a versão do seu MySQL mas antes disso é necessário que informe o nome do servidor, utilizador e a password de acesso no formulário abaixo. Estas configurações também serão utilizadas para criar e instalar uma nova base de dados na 4ª etapa.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'Host';
$lang['username'] = 'Utilizador';
@@ -23,4 +24,4 @@
$lang['db_success'] = 'As configurações da base de dados foram testadas e estão corretas.';
$lang['db_failure'] = 'Houve um problema ao tentar conectar-se com a base de dados: ';
-/* End of file step_1_lang.php */
+/* End of file step_1_lang.php */
View
1  installer/language/russian/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Настройки базы данных';
$lang['db_text'] = 'Для проверки версии вашего MySQL сервера - установщику нужно знать адрес сервера, имя пользователя и пароль, используемые для подключения к базе данных. Эти данные будут использованы при установке базы данных.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'Сервер';
$lang['username'] = 'Имя пользователя';
View
1  installer/language/slovenian/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Namestitev podatkovne baze (MYSQL DB)';
$lang['db_text'] = 'Da bo lahko Installer preveril verzijo MYSQL strežnika je potrebno, da vnesete pot do MYSQL strežnika (ponavadi: localhost) MYSQL uporabnika ter geslo uporabnika. Ti podatki bodo uporabljeni tudi pri namestitvi podatkov v podatkovno bazo.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'Strežnik';
$lang['username'] = 'DB Uporabnik';
View
1  installer/language/spanish/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Configuración de la Base de datos';
$lang['db_text'] = 'Para que el instalador compruebe su versión del servidor MySQL necesita que ingrese el nombre de host, nombre de usuario y contraseña en el siguiente formulario. Estos datos serán usados cuando se instale la base de datos.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'Servidor';
$lang['username'] = 'Usuario';
View
3  installer/language/swedish/step_1_lang.php
@@ -16,6 +16,7 @@
$lang['intro_text'] = 'PyroCMS är mycket lätt att installera och bör bara ta några minuter, men det finns några frågor som kan verka förvirrande om du inte har en teknisk bakgrund. Om du vid något tillfälle du fastnar vänd dig till din webbhotellsleverantör eller <a href="http://www.pyrocms.com/contact" target="_blank"> kontakta oss </a> för support.';
$lang['db_settings'] = 'Inställningar';
$lang['db_text'] = 'PyroCMS kräver en databas (MySQL) för att lagra sidor och inställningar, det första vi gör är att se till att databaskopplingen fungerar. Ifall du inte förstå vad vi frågar efter så kontakta ditt webbhotell eller serveradministratör.';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'MySQL Värdnamn';
$lang['username'] = 'MySQL Användarnamn';
$lang['password'] = 'MySQL Lösenord';
@@ -32,4 +33,4 @@
/* End of file step_1_lang.php */
-/* Location: ./installer/language/swedish */
+/* Location: ./installer/language/swedish */
View
3  installer/language/vietnamese/step_1_lang.php
@@ -6,6 +6,7 @@
$lang['db_settings'] = 'Thiết lập cơ sở dữ liệu';
$lang['db_text'] = 'PyroCMS yêu cầu một cơ sở dư liệu (MySQL) để lưu các thiết lập và nội dung website của bạn, do vậy điều đầu tiên là kiểm tra kết nối đến cơ sở dữ liệu hoạt động tốt. Hãy yêu cầu nhà cung cấp hoặc quản trị viên hỗ trợ trong trường hợp bạn không trả lời được các câu hỏi của hệ thống';
+$lang['db_missing'] = 'The mysql database driver for PHP were not found, installation cannot continue. Ask your host or server administrator to install it.'; #translate
$lang['server'] = 'MySQL Hostname';
$lang['username'] = 'MySQL Username';
@@ -23,4 +24,4 @@
$lang['db_success'] = 'Cấu hình cơ sở dữ liệu đã đã kiểm tra và hoạt động tốt.';
$lang['db_failure'] = 'Có lỗi khi kết nối đến cơ sở dữ liệu: ';
-/* End of file step_1_lang.php */
+/* End of file step_1_lang.php */
View
17 installer/libraries/installer_lib.php
@@ -36,6 +36,15 @@ function php_acceptable($version = NULL)
/**
+ * @return bool
+ *
+ * Function to check that MySQL and its PHP module is installed properly
+ */
+ public function mysql_available()
+ {
+ return function_exists('mysql_connect');
+ }
+ /**
* @param string $type The MySQL type, client or server
* @return string The MySQL version of either the server or the client
*
@@ -200,7 +209,7 @@ public function test_db_connection()
$password = $this->ci->session->userdata('password');
$port = $this->ci->session->userdata('port');
- return @mysql_connect("$hostname:$port", $username, $password);
+ return $this->mysql_available() && @mysql_connect("$hostname:$port", $username, $password);
}
/**
@@ -415,9 +424,9 @@ function write_config_file()
}
public function curl_enabled()
- {
+ {
return (bool) function_exists('curl_init');
- }
+ }
}
-/* End of file installer_lib.php */
+/* End of file installer_lib.php */
View
5 installer/views/step_1.php
@@ -15,6 +15,9 @@
<section class="item">
<p>{db_text}</p>
+ <?php if ( !$this->installer_lib->mysql_available() ): ?>
+ <p class="result fail">{db_missing}</p>
+ <?php endif; ?>
<div class="input">
<label for="hostname">{server}</label>
@@ -86,4 +89,4 @@
<input id="next_step" type="submit" id="submit" value="{step2}" class="btn orange" />
</section>
-<?php echo form_close(); ?>
+<?php echo form_close(); ?>
Something went wrong with that request. Please try again.