<td><?php echo debug_result(is_readable($prefix . '/sql/ampache.sql')); ?> </td> <td><?php echo T_('This tests whether the file needed to initialise the database structure is available.'); ?> </td> </tr> <tr> <td><?php echo T_('ampache.cfg.php is writable'); ?> </td> <td><?php echo debug_result(check_config_writable()); ?> </td> <td><?php echo T_('This tests whether PHP can write to config/. This is not strictly necessary, but will help streamline the installation process.'); ?> </td> </tr> </table> <form role="form" method="post" action="<?php echo $web_path . "/install.php?action=init"; ?> " enctype="multipart/form-data" > <input type="hidden" name="htmllang" value="<?php echo $htmllang; ?>
</div> <div class="col-sm-4 control-label"><?php echo T_('config/ampache.cfg.php exists?'); ?> </div> <div class="col-sm-8"><?php echo debug_result(is_readable($configfile)); ?> </div> <div class="col-sm-4 control-label"><?php echo T_('config/ampache.cfg.php configured?'); ?> </div> <div class="col-sm-8"><?php $results = @parse_ini_file($configfile); echo debug_result(check_config_values($results)); ?> </div> <div class="col-sm-4"> </div><div class="col-sm-8"> </div> <div class="col-sm-4"></div> <?php $check_url = $web_path . "/install.php?action=show_create_config&htmllang={$htmllang}&charset={$charset}&local_db=" . $_REQUEST['local_db'] . "&local_host=" . $_REQUEST['local_host']; ?> <div class="col-sm-8"> <a href="<?php echo $check_url; ?> ">[<?php echo T_('Recheck Config'); ?>
?> </td> <td> <?php echo T_('This checks a few key tables to make sure that you have successfully inserted the Ampache database and that the user has access to the database'); ?> </td> </tr> <tr> <td valign="top"><?php echo T_('Web path'); ?> </td> <td valign="top"> <?php if (check_config_values($results)) { echo " <img src=\"" . AmpConfig::get('web_path') . "/images/icon_enable.png\" /> "; } else { echo debug_result(false, "SKIPPED"); } ?> </td> <td> <?php echo T_('This test makes sure that your web_path variable is set correctly and that we are able to get to the index page. If you do not see a check mark here then your web_path is not set correctly.'); ?> </td> </tr> <?php }