equal
deleted
inserted
replaced
94 ?> |
94 ?> |
95 <form action="install.php?stage=database" method="post" name="database_info"> |
95 <form action="install.php?stage=database" method="post" name="database_info"> |
96 <h3>Configuration file generation failed.</h3> |
96 <h3>Configuration file generation failed.</h3> |
97 <p>Couldn't open the configuration file to write out database settings. Check your file permissions.</p> |
97 <p>Couldn't open the configuration file to write out database settings. Check your file permissions.</p> |
98 <p> |
98 <p> |
99 <input type="submit" name="_cont" value="Go back" /> |
99 <input type="submit" name="_cont" value="<?php echo $lang->get('database_btn_go_back'); ?>" /> |
100 </p> |
100 </p> |
101 </form> |
101 </form> |
102 <?php |
102 <?php |
103 return true; |
103 return true; |
104 } |
104 } |
153 { |
153 { |
154 ?> |
154 ?> |
155 <form action="install.php?stage=database" method="post" name="database_info"> |
155 <form action="install.php?stage=database" method="post" name="database_info"> |
156 <input type="hidden" name="language" value="<?php echo $lang_id; ?>" /> |
156 <input type="hidden" name="language" value="<?php echo $lang_id; ?>" /> |
157 <input type="hidden" name="driver" value="<?php echo $driver; ?>" /> |
157 <input type="hidden" name="driver" value="<?php echo $driver; ?>" /> |
158 <h3>Database operation failed</h3> |
158 <h3><?php echo $lang->get('database_msg_sql_fail_title'); ?></h3> |
159 <p>The installer couldn't create one of the tables used for installation.</p> |
159 <p><?php echo $lang->get('database_msg_sql_fail_body'); ?></p> |
160 <p>Error description: |
160 <p><?php echo $lang->get('database_msg_post_fail_desc'); ?> |
161 <?php |
161 <?php |
162 echo $dbal->sql_error(); |
162 echo $dbal->sql_error(); |
163 ?> |
163 ?> |
164 </p> |
164 </p> |
165 <p> |
165 <p> |
166 <input type="submit" name="_cont" value="Go back" /> |
166 <input type="submit" name="_cont" value="<?php echo $lang->get('database_btn_go_back'); ?>" /> |
167 </p> |
167 </p> |
168 </form> |
168 </form> |
169 <?php |
169 <?php |
170 return true; |
170 return true; |
171 } |
171 } |
184 <form action="install.php?stage=website" method="post" name="install_db_post" onsubmit="return verify();"> |
184 <form action="install.php?stage=website" method="post" name="install_db_post" onsubmit="return verify();"> |
185 <input type="hidden" name="language" value="<?php echo $lang_id; ?>" /> |
185 <input type="hidden" name="language" value="<?php echo $lang_id; ?>" /> |
186 <?php |
186 <?php |
187 // FIXME: l10n |
187 // FIXME: l10n |
188 ?> |
188 ?> |
189 <h3>Connection successful</h3> |
189 <h3><?php echo $lang->get('database_msg_success_title'); ?></h3> |
190 <p>The database has been contacted and initial tables created successfully. Redirecting...</p> |
190 <p><?php echo $lang->get('database_msg_success_body'); ?></p> |
191 <p><input type="submit" name="_cont" value="<?php echo $lang->get('meta_btn_continue'); ?>" /> Click if you're not redirected within 2 seconds</p> |
191 <p><input type="submit" name="_cont" value="<?php echo $lang->get('meta_btn_continue'); ?>" /> <?php echo $lang->get('database_msg_success_redirect'); ?></p> |
192 </form> |
192 </form> |
193 <script type="text/javascript"> |
193 <script type="text/javascript"> |
194 setTimeout(function() |
194 setTimeout(function() |
195 { |
195 { |
196 var frm = document.forms.install_db_post; |
196 var frm = document.forms.install_db_post; |
204 // FIXME: l10n |
204 // FIXME: l10n |
205 ?> |
205 ?> |
206 <form action="install.php?stage=database" method="post" name="database_info"> |
206 <form action="install.php?stage=database" method="post" name="database_info"> |
207 <input type="hidden" name="language" value="<?php echo $lang_id; ?>" /> |
207 <input type="hidden" name="language" value="<?php echo $lang_id; ?>" /> |
208 <input type="hidden" name="driver" value="<?php echo $driver; ?>" /> |
208 <input type="hidden" name="driver" value="<?php echo $driver; ?>" /> |
209 <h3>Database connection failed</h3> |
209 <h3><?php echo $lang->get('database_msg_post_fail_title'); ?></h3> |
210 <p>The installer couldn't connect to the database because something went wrong while the connection attempt was being made. Please press your browser's back button and correct your database information.</p> |
210 <p><?php echo $lang->get('database_msg_post_fail_body'); ?></p> |
211 <p>Error description: |
211 <p><?php echo $lang->get('database_msg_post_fail_desc'); ?> |
212 <?php |
212 <?php |
213 echo $dbal->sql_error(); |
213 echo $dbal->sql_error(); |
214 ?> |
214 ?> |
215 </p> |
215 </p> |
216 <p> |
216 <p> |
217 <input type="submit" name="_cont" value="Go back" /> |
217 <input type="submit" name="_cont" value="<?php echo $lang->get('database_btn_go_back'); ?>" /> |
218 </p> |
218 </p> |
219 </form> |
219 </form> |
220 <?php |
220 <?php |
221 } |
221 } |
222 |
222 |